PostgreSQL system catalog views

This page lists the PostgreSQL system catalog views thatSpanner supports.

pg_available_extension_versions

Thepg_available_extension_versionsview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
nametextN
versiontextN
installedboolN
superuserboolN
trustedboolN
relocatableboolN
schematextN
requirestext[]N
commenttextN

pg_available_extensions

Thepg_available_extensionsview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
nametextN
default_versiontextN
installed_versiontextN
commenttextN

pg_config

Thepg_config

view has no content.

The following table shows whether columns have content.

Column nameTypeHas content
nametextN
settingtextN

pg_cursors

Thepg_cursors

view has no content.

The following table shows whether columns have content.

Column nameTypeHas content
nametextN
statementtextN
is_holdableboolN
is_binaryboolN
is_scrollableboolN
creation_timetimestamptzN

pg_file_settings

Thepg_file_settingsview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
sourcefiletextN
sourcelineint8N
seqnoint8N
nametextN
settingtextN
appliedboolN
errortextN

pg_hba_file_rules

Thepg_hba_file_rulesview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
rule_numberint8N
file_nametextN
line_numberint8N
typetextN
databasetext[]N
user_nametext[]N
addresstextN
netmasktextN
auth_methodtextN
optionstext[]N
errortextN

pg_indexes

Thepg_indexes

view has content.

The following table shows whether columns have content.

Column nameTypeHas content
schemanametextY
tablenametextY
indexnametextY
tablespacetextN
indexdeftextN

pg_matviews

Thepg_matviews

view has no content.

The following table shows whether columns have content.

Column nameTypeHas content
schemanametextN
matviewnametextN
matviewownertextN
tablespacetextN
hasindexesboolN
ispopulatedboolN
definitiontextN

pg_policies

Thepg_policies

view has no content.

The following table shows whether columns have content.

Column nameTypeHas content
schemanametextN
tablenametextN
policynametextN
permissivetextN
rolestext[]N
cmdtextN
qualtextN
with_checktextN

pg_prepared_xacts

Thepg_prepared_xactsview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
transactionint8N
gidtextN
preparedtimestamptzN
ownertextN
databasetextN

pg_publication_tables

Thepg_publication_tablesviewhas no content.

The following table shows whether columns have content.

Column nameTypeHas content
pubnametextN
schemanametextN
tablenametextN
attnamestext[]N
rowfiltertextN

pg_roles

Thepg_rolesview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
rolnametextN
rolsuperboolN
rolinheritboolN
rolcreateroleboolN
rolcreatedbboolN
rolcanloginboolN
rolreplicationboolN
rolconnlimitint8N
rolpasswordtextN
rolvaliduntiltimestamptzN
rolbypassrls boolboolN
rolconfigtext[]N
oidoidN

pg_rules

Thepg_rulesview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
schemanametextN
tablenametextN
rulenametextN
definitiontextN

pg_sequences

Thepg_sequences

view has content.

The following table shows whether columns have content.

Column nameTypeHas content
schemanametextY
sequencenametextY
sequenceownertextN
start_valueint8Y
min_valueint8N
max_valueint8N
increment_byint8N
cycleboolY
cache_sizeint8Y
last_valueint8N

pg_settings

Thepg_settings

view has content.

The following table shows whether columns have content.

Column nameTypeHas content
nametextY
settingtextY
unittextN
categorytextY
short_desctextY
extra_desctextN
contexttextY
vartypetextY
sourcetextY
min_valtextY
max_valtextY
enumvalstext[]N
boot_valtextY
reset_valtextY
sourcefiletextN
sourcelineint8N
pending_restartboolY

pg_shmem_allocations

Thepg_shmem_allocationsview has no content.

The following table shows whether columns have content.

Column nameTypeHas content
nametextN
offint8N
sizeint8N
allocated_sizeint8N

pg_tables

Thepg_tables

view has content.

The following table shows whether columns have content.

Column nameTypeHas content
schemanametextY
tablenametextY
tableownertextN
tablespacetextN
hasindexesboolY
hasrulesboolN
hastriggersboolN
rowsecurityboolN

pg_views

Thepg_viewsview has content.

The following table shows whether columns have content.

Column nameTypeHas content
schemanametextY
viewnametextY
viewownertextN
definitiontextY

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.