Skip to main content
The pg_extension provides information about CockroachDB extensions.

Data exposed by pg_extension

In CockroachDB v23.2, pg_extension contains the following tables, all of which provide information about CockroachDB’s :
  • geography_columns
  • geometry_columns
  • spatial_ref_sys
pg_extension tables are read-only.
To see the list of tables in pg_extension for the , use the following statement:

Querying pg_extension tables

You can run on the tables in pg_extension.
To ensure that you can view all of the tables in pg_extension, query the tables as a user with .
Unless specified otherwise, queries to pg_extension assume the .
For example, to return the pg_extension table with additional information about indexes in the movr database, you can query the pg_extension.pg_indexes table:

See also