Skip to main content

Print Postgres version

还没翻译译自英文(supabase.com)本页 4 段都还没译

It's important to know which version of Postgres you are running as each major version has different features and may cause breaking changes. You may also need to update your schema when upgrading or downgrading to a major Postgres version.

Run the following SQL using the SQL Editor in the Supabase Dashboard or with psql over a direct connection. To connect with psql, see Direct connection.

show server_version;

Which should return something like:

15.1