pg_aggregate Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- aggfnoid
- regproc
- pg_proc.oid
- pg_proc OID of the aggregate function
+
+ aggfnoidregproc
+ (references pg_proc.oid)
+
+
+ pg_proc OID of the aggregate function
+
+
- aggkind
- char
-
- Aggregate kind:
+
+ aggkindchar
+
+
+ Aggregate kind:
n for normal aggregates,
o for ordered-set aggregates, or
h for hypothetical-set aggregates
-
+
+
- aggnumdirectargs
- int2
-
- Number of direct (non-aggregated) arguments of an ordered-set or
+
+ aggnumdirectargsint2
+
+
+ Number of direct (non-aggregated) arguments of an ordered-set or
hypothetical-set aggregate, counting a variadic array as one argument.
If equal to pronargs, the aggregate must be variadic
and the variadic array describes the aggregated arguments as well as
the final direct arguments.
- Always zero for normal aggregates.
+ Always zero for normal aggregates.
+
+
- aggtransfn
- regproc
- pg_proc.oid
- Transition function
+
+ aggtransfnregproc
+ (references pg_proc.oid)
+
+
+ Transition function
+
+
- aggfinalfn
- regproc
- pg_proc.oid
- Final function (zero if none)
+
+ aggfinalfnregproc
+ (references pg_proc.oid)
+
+
+ Final function (zero if none)
+
+
- aggcombinefn
- regproc
- pg_proc.oid
- Combine function (zero if none)
+
+ aggcombinefnregproc
+ (references pg_proc.oid)
+
+
+ Combine function (zero if none)
+
+
- aggserialfn
- regproc
- pg_proc.oid
- Serialization function (zero if none)
+
+ aggserialfnregproc
+ (references pg_proc.oid)
+
+
+ Serialization function (zero if none)
+
+
- aggdeserialfn
- regproc
- pg_proc.oid
- Deserialization function (zero if none)
+
+ aggdeserialfnregproc
+ (references pg_proc.oid)
+
+
+ Deserialization function (zero if none)
+
+
- aggmtransfn
- regproc
- pg_proc.oid
- Forward transition function for moving-aggregate mode (zero if none)
+
+ aggmtransfnregproc
+ (references pg_proc.oid)
+
+
+ Forward transition function for moving-aggregate mode (zero if none)
+
+
- aggminvtransfn
- regproc
- pg_proc.oid
- Inverse transition function for moving-aggregate mode (zero if none)
+
+ aggminvtransfnregproc
+ (references pg_proc.oid)
+
+
+ Inverse transition function for moving-aggregate mode (zero if none)
+
+
- aggmfinalfn
- regproc
- pg_proc.oid
- Final function for moving-aggregate mode (zero if none)
+
+ aggmfinalfnregproc
+ (references pg_proc.oid)
+
+
+ Final function for moving-aggregate mode (zero if none)
+
+
- aggfinalextra
- bool
-
- True to pass extra dummy arguments to aggfinalfn
+
+ aggfinalextrabool
+
+
+ True to pass extra dummy arguments to aggfinalfn
+
+
- aggmfinalextra
- bool
-
- True to pass extra dummy arguments to aggmfinalfn
+
+ aggmfinalextrabool
+
+
+ True to pass extra dummy arguments to aggmfinalfn
+
+
- aggfinalmodify
- char
-
- Whether aggfinalfn modifies the
+
+ aggfinalmodifychar
+
+
+ Whether aggfinalfn modifies the
transition state value:
r if it is read-only,
s if the aggtransfn
cannot be applied after the aggfinalfn, or
w if it writes on the value
-
+
+
- aggmfinalmodify
- char
-
- Like aggfinalmodify, but for
+
+ aggmfinalmodifychar
+
+
+ Like aggfinalmodify, but for
the aggmfinalfn
-
+
+
- aggsortop
- oid
- pg_operator.oid
- Associated sort operator (zero if none)
+
+ aggsortopoid
+ (references pg_operator.oid)
+
+
+ Associated sort operator (zero if none)
+
+
- aggtranstype
- oid
- pg_type.oid
- Data type of the aggregate function's internal transition (state) data
+
+ aggtranstypeoid
+ (references pg_type.oid)
+
+
+ Data type of the aggregate function's internal transition (state) data
+
+
- aggtransspace
- int4
-
- Approximate average size (in bytes) of the transition state
- data, or zero to use a default estimate
+
+ aggtransspaceint4
+
+
+ Approximate average size (in bytes) of the transition state
+ data, or zero to use a default estimate
+
+
- aggmtranstype
- oid
- pg_type.oid
- Data type of the aggregate function's internal transition (state)
- data for moving-aggregate mode (zero if none)
+
+ aggmtranstypeoid
+ (references pg_type.oid)
+
+
+ Data type of the aggregate function's internal transition (state)
+ data for moving-aggregate mode (zero if none)
+
+
- aggmtransspace
- int4
-
- Approximate average size (in bytes) of the transition state data
- for moving-aggregate mode, or zero to use a default estimate
+
+ aggmtransspaceint4
+
+
+ Approximate average size (in bytes) of the transition state data
+ for moving-aggregate mode, or zero to use a default estimate
+
+
- agginitval
- text
-
-
+
+ agginitvaltext
+
+
The initial value of the transition state. This is a text
field containing the initial value in its external string
representation. If this field is null, the transition state
value starts out null.
-
+
+
- aggminitval
- text
-
-
+
+ aggminitvaltext
+
+
The initial value of the transition state for moving-aggregate mode.
This is a text field containing the initial value in its external
string representation. If this field is null, the transition state
value starts out null.
-
+
@@ -594,50 +666,56 @@
pg_am Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
-
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- amname
- name
-
- Name of the access method
+
+ amnamename
+
+
+ Name of the access method
+
- amhandler
- regproc
- pg_proc.oid
-
+
+ amhandlerregproc
+ (references pg_proc.oid)
+
+
OID of a handler function that is responsible for supplying information
about the access method
-
+
- amtype
- char
-
-
+
+ amtypechar
+
+ t = table (including materialized views),
i = index.
-
+
@@ -678,83 +756,107 @@
pg_amop Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
-
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- amopfamily
- oid
- pg_opfamily.oid
- The operator family this entry is for
+
+ amopfamilyoid
+ (references pg_opfamily.oid)
+
+
+ The operator family this entry is for
+
- amoplefttype
- oid
- pg_type.oid
- Left-hand input data type of operator
+
+ amoplefttypeoid
+ (references pg_type.oid)
+
+
+ Left-hand input data type of operator
+
- amoprighttype
- oid
- pg_type.oid
- Right-hand input data type of operator
+
+ amoprighttypeoid
+ (references pg_type.oid)
+
+
+ Right-hand input data type of operator
+
- amopstrategy
- int2
-
- Operator strategy number
+
+ amopstrategyint2
+
+
+ Operator strategy number
+
- amoppurpose
- char
-
- Operator purpose, either s for search or
- o for ordering
+
+ amoppurposechar
+
+
+ Operator purpose, either s for search or
+ o for ordering
+
- amopopr
- oid
- pg_operator.oid
- OID of the operator
+
+ amopoproid
+ (references pg_operator.oid)
+
+
+ OID of the operator
+
- amopmethod
- oid
- pg_am.oid
- Index access method operator family is for
+
+ amopmethodoid
+ (references pg_am.oid)
+
+
+ Index access method operator family is for
+
- amopsortfamily
- oid
- pg_opfamily.oid
- The B-tree operator family this entry sorts according to, if an
- ordering operator; zero if a search operator
+
+ amopsortfamilyoid
+ (references pg_opfamily.oid)
+
+
+ The B-tree operator family this entry sorts according to, if an
+ ordering operator; zero if a search operator
+
-
@@ -821,60 +923,76 @@
pg_amproc Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
-
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- amprocfamily
- oid
- pg_opfamily.oid
- The operator family this entry is for
+
+ amprocfamilyoid
+ (references pg_opfamily.oid)
+
+
+ The operator family this entry is for
+
- amproclefttype
- oid
- pg_type.oid
- Left-hand input data type of associated operator
+
+ amproclefttypeoid
+ (references pg_type.oid)
+
+
+ Left-hand input data type of associated operator
+
- amprocrighttype
- oid
- pg_type.oid
- Right-hand input data type of associated operator
+
+ amprocrighttypeoid
+ (references pg_type.oid)
+
+
+ Right-hand input data type of associated operator
+
- amprocnum
- int2
-
- Support function number
+
+ amprocnumint2
+
+
+ Support function number
+
- amproc
- regproc
- pg_proc.oid
- OID of the function
+
+ amprocregproc
+ (references pg_proc.oid)
+
+
+ OID of the function
+
-
@@ -911,46 +1029,57 @@
pg_attrdef Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- adrelid
- oid
- pg_class.oid
- The table this column belongs to
+
+ adrelidoid
+ (references pg_class.oid)
+
+
+ The table this column belongs to
+
- adnum
- int2
- pg_attribute.attnum
- The number of the column
+
+ adnumint2
+ (references pg_attribute.attnum)
+
+
+ The number of the column
+
- adbin
- pg_node_tree
-
- The column default value, in nodeToString()
- representation. Use pg_get_expr(adbin, adrelid) to
- convert it to an SQL expression.
+
+ adbinpg_node_tree
+
+
+ The column default value, in nodeToString()
+ representation. Use pg_get_expr(adbin, adrelid) to
+ convert it to an SQL expression.
+
@@ -981,44 +1110,53 @@
pg_attribute Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- attrelid
- oid
- pg_class.oid
- The table this column belongs to
+
+ attrelidoid
+ (references pg_class.oid)
+
+
+ The table this column belongs to
+
- attname
- name
-
- The column name
+
+ attnamename
+
+
+ The column name
+
- atttypid
- oid
- pg_type.oid
- The data type of this column
+
+ atttypidoid
+ (references pg_type.oid)
+
+
+ The data type of this column
+
- attstattarget
- int4
-
-
+
+ attstattargetint4
+
+ attstattarget controls the level of detail
of statistics accumulated for this column by
.
@@ -1028,234 +1166,234 @@
For scalar data types, attstattarget
is both the target number of most common values
to collect, and the target number of histogram bins to create.
-
+
- attlen
- int2
-
-
+
+ attlenint2
+
+
A copy of pg_type.typlen of this column's
type
-
+
- attnum
- int2
-
-
+
+ attnumint2
+
+
The number of the column. Ordinary columns are numbered from 1
up. System columns, such as ctid,
have (arbitrary) negative numbers.
-
+
- attndims
- int4
-
-
+
+ attndimsint4
+
+
Number of dimensions, if the column is an array type; otherwise 0.
(Presently, the number of dimensions of an array is not enforced,
so any nonzero value effectively means it's an array.)
-
+
- attcacheoff
- int4
-
-
+
+ attcacheoffint4
+
+
Always -1 in storage, but when loaded into a row descriptor
in memory this might be updated to cache the offset of the attribute
within the row
-
+
- atttypmod
- int4
-
-
+
+ atttypmodint4
+
+ atttypmod records type-specific data
supplied at table creation time (for example, the maximum
length of a varchar column). It is passed to
type-specific input functions and length coercion functions.
The value will generally be -1 for types that do not need atttypmod.
-
+
- attbyval
- bool
-
-
+
+ attbyvalbool
+
+
A copy of pg_type.typbyval of this column's type
-
+
- attstorage
- char
-
-
+
+ attstoragechar
+
+
Normally a copy of pg_type.typstorage of this
column's type. For TOAST-able data types, this can be altered
after column creation to control storage policy.
-
+
- attalign
- char
-
-
+
+ attalignchar
+
+
A copy of pg_type.typalign of this column's type
-
+
- attnotnull
- bool
-
-
+
+ attnotnullbool
+
+
This represents a not-null constraint.
-
+
- atthasdef
- bool
-
-
+
+ atthasdefbool
+
+
This column has a default expression or generation expression, in which
case there will be a corresponding entry in the
pg_attrdef catalog that actually defines the
expression. (Check attgenerated to
determine whether this is a default or a generation expression.)
-
+
- atthasmissing
- bool
-
-
+
+ atthasmissingbool
+
+
This column has a value which is used where the column is entirely
missing from the row, as happens when a column is added with a
non-volatile DEFAULT value after the row is created.
The actual value used is stored in the
attmissingval column.
-
+
- attidentity
- char
-
-
+
+ attidentitychar
+
+
If a zero byte (''), then not an identity column.
Otherwise, a = generated
always, d = generated by default.
-
+
- attgenerated
- char
-
-
+
+ attgeneratedchar
+
+
If a zero byte (''), then not a generated column.
Otherwise, s = stored. (Other values might be added
in the future.)
-
+
- attisdropped
- bool
-
-
+
+ attisdroppedbool
+
+
This column has been dropped and is no longer valid. A dropped
column is still physically present in the table, but is
ignored by the parser and so cannot be accessed via SQL.
-
+
- attislocal
- bool
-
-
+
+ attislocalbool
+
+
This column is defined locally in the relation. Note that a column can
be locally defined and inherited simultaneously.
-
+
- attinhcount
- int4
-
-
+
+ attinhcountint4
+
+
The number of direct ancestors this column has. A column with a
nonzero number of ancestors cannot be dropped nor renamed.
-
+
- attcollation
- oid
- pg_collation.oid
-
+
+ attcollationoid
+ (references pg_collation.oid)
+
+
The defined collation of the column, or zero if the column is
not of a collatable data type.
-
+
- attacl
- aclitem[]
-
-
+
+ attaclaclitem[]
+
+
Column-level access privileges, if any have been granted specifically
on this column
-
+
- attoptions
- text[]
-
-
+
+ attoptionstext[]
+
+
Attribute-level options, as keyword=value strings
-
+
- attfdwoptions
- text[]
-
-
+
+ attfdwoptionstext[]
+
+
Attribute-level foreign data wrapper options, as keyword=value strings
-
+
- attmissingval
- anyarray
-
-
+
+ attmissingvalanyarray
+
+
This column has a one element array containing the value used when the
column is entirely missing from the row, as happens when the column is
added with a non-volatile DEFAULT value after the
row is created. The value is only used when
atthasmissing is true. If there is no value
the column is null.
-
+
-
@@ -1311,105 +1449,132 @@
pg_authid Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
-
- oid
- oid
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- rolname
- name
- Role name
+
+ rolnamename
+
+
+ Role name
+
- rolsuper
- bool
- Role has superuser privileges
+
+ rolsuperbool
+
+
+ Role has superuser privileges
+
- rolinherit
- bool
- Role automatically inherits privileges of roles it is a
- member of
+
+ rolinheritbool
+
+
+ Role automatically inherits privileges of roles it is a
+ member of
+
- rolcreaterole
- bool
- Role can create more roles
+
+ rolcreaterolebool
+
+
+ Role can create more roles
+
- rolcreatedb
- bool
- Role can create databases
+
+ rolcreatedbbool
+
+
+ Role can create databases
+
- rolcanlogin
- bool
-
+
+ rolcanloginbool
+
+
Role can log in. That is, this role can be given as the initial
session authorization identifier
-
+
- rolreplication
- bool
-
+
+ rolreplicationbool
+
+
Role is a replication role. A replication role can initiate replication
connections and create and drop replication slots.
-
+
- rolbypassrls
- bool
-
+
+ rolbypassrlsbool
+
+
Role bypasses every row level security policy, see
for more information.
-
+
- rolconnlimit
- int4
-
+
+ rolconnlimitint4
+
+
For roles that can log in, this sets maximum number of concurrent
connections this role can make. -1 means no limit.
-
+
- rolpassword
- text
-
+
+ rolpasswordtext
+
+
Password (possibly encrypted); null if none. The format depends
on the form of encryption used.
-
+
- rolvaliduntil
- timestamptz
- Password expiry time (only used for password authentication);
- null if no expiration
+
+ rolvaliduntiltimestamptz
+
+
+ Password expiry time (only used for password authentication);
+ null if no expiration
+
@@ -1463,45 +1628,57 @@ SCRAM-SHA-256$<iteration count>:&l
pg_auth_members Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- roleid
- oid
- pg_authid.oid
- ID of a role that has a member
+
+ roleidoid
+ (references pg_authid.oid)
+
+
+ ID of a role that has a member
+
- member
- oid
- pg_authid.oid
- ID of a role that is a member of roleid
+
+ memberoid
+ (references pg_authid.oid)
+
+
+ ID of a role that is a member of roleid
+
- grantor
- oid
- pg_authid.oid
- ID of the role that granted this membership
+
+ grantoroid
+ (references pg_authid.oid)
+
+
+ ID of the role that granted this membership
+
- admin_option
- bool
-
- True if member can grant membership in
- roleid to others
+
+ admin_optionbool
+
+
+ True if member can grant membership in
+ roleid to others
+
@@ -1536,54 +1713,64 @@ SCRAM-SHA-256$<iteration count>:&l
pg_cast Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- castsource
- oid
- pg_type.oid
- OID of the source data type
+
+ castsourceoid
+ (references pg_type.oid)
+
+
+ OID of the source data type
+
- casttarget
- oid
- pg_type.oid
- OID of the target data type
+
+ casttargetoid
+ (references pg_type.oid)
+
+
+ OID of the target data type
+
- castfunc
- oid
- pg_proc.oid
-
+
+ castfuncoid
+ (references pg_proc.oid)
+
+
The OID of the function to use to perform this cast. Zero is
stored if the cast method doesn't require a function.
-
+
- castcontext
- char
-
-
+
+ castcontextchar
+
+
Indicates what contexts the cast can be invoked in.
e means only as an explicit cast (using
CAST or :: syntax).
@@ -1591,18 +1778,19 @@ SCRAM-SHA-256$<iteration count>:&l
to a target column, as well as explicitly.
i means implicitly in expressions, as well as the
other cases.
-
+
+
- castmethod
- char
-
-
+
+ castmethodchar
+
+
Indicates how the cast is performed.
f means that the function specified in the castfunc field is used.
i means that the input/output functions are used.
b means that the types are binary-coercible, thus no conversion is required.
-
+
@@ -1659,182 +1847,198 @@ SCRAM-SHA-256$<iteration count>:&l
pg_class Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- relname
- name
-
- Name of the table, index, view, etc.
+
+ relnamename
+
+
+ Name of the table, index, view, etc.
+
- relnamespace
- oid
- pg_namespace.oid
-
+
+ relnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this relation
-
+
- reltype
- oid
- pg_type.oid
-
+
+ reltypeoid
+ (references pg_type.oid)
+
+
The OID of the data type that corresponds to this table's row type,
if any (zero for indexes, which have no pg_type entry)
-
+
- reloftype
- oid
- pg_type.oid
-
+
+ reloftypeoid
+ (references pg_type.oid)
+
+
For typed tables, the OID of the underlying composite type,
zero for all other relations
-
+
- relowner
- oid
- pg_authid.oid
- Owner of the relation
+
+ relowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the relation
+
- relam
- oid
- pg_am.oid
-
+
+ relamoid
+ (references pg_am.oid)
+
+
If this is a table or an index, the access method used (heap,
B-tree, hash, etc.)
-
+
- relfilenode
- oid
-
- Name of the on-disk file of this relation; zero means this
+
+ relfilenodeoid
+
+
+ Name of the on-disk file of this relation; zero means this
is a mapped relation whose disk file name is determined
- by low-level state
+ by low-level state
+
- reltablespace
- oid
- pg_tablespace.oid
-
+
+ reltablespaceoid
+ (references pg_tablespace.oid)
+
+
The tablespace in which this relation is stored. If zero,
the database's default tablespace is implied. (Not meaningful
if the relation has no on-disk file.)
-
+
- relpages
- int4
-
-
+
+ relpagesint4
+
+
Size of the on-disk representation of this table in pages (of size
BLCKSZ). This is only an estimate used by the
planner. It is updated by VACUUM,
ANALYZE, and a few DDL commands such as
CREATE INDEX.
-
+
- reltuples
- float4
-
-
+
+ reltuplesfloat4
+
+
Number of live rows in the table. This is only an estimate used by
the planner. It is updated by VACUUM,
ANALYZE, and a few DDL commands such as
CREATE INDEX.
-
+
- relallvisible
- int4
-
-
+
+ relallvisibleint4
+
+
Number of pages that are marked all-visible in the table's
visibility map. This is only an estimate used by the
planner. It is updated by VACUUM,
ANALYZE, and a few DDL commands such as
CREATE INDEX.
-
+
- reltoastrelid
- oid
- pg_class.oid
-
+
+ reltoastrelidoid
+ (references pg_class.oid)
+
+
OID of the TOAST table associated with this table, 0 if none. The
TOAST table stores large attributes out of line in a
secondary table.
-
+
- relhasindex
- bool
-
-
+
+ relhasindexbool
+
+
True if this is a table and it has (or recently had) any indexes
-
+
- relisshared
- bool
-
-
+
+ relissharedbool
+
+
True if this table is shared across all databases in the cluster. Only
certain system catalogs (such as pg_database)
are shared.
-
+
- relpersistence
- char
-
-
+
+ relpersistencechar
+
+ p = permanent table, u = unlogged table,
t = temporary table
-
+
- relkind
- char
-
-
+
+ relkindchar
+
+ r = ordinary table,
i = index,
S = sequence,
@@ -1845,172 +2049,177 @@ SCRAM-SHA-256$<iteration count>:&l
f = foreign table,
p = partitioned table,
I = partitioned index
-
+
- relnatts
- int2
-
-
+
+ relnattsint2
+
+
Number of user columns in the relation (system columns not
counted). There must be this many corresponding entries in
pg_attribute. See also
pg_attribute.attnum.
-
+
- relchecks
- int2
-
-
+
+ relchecksint2
+
+
Number of CHECK constraints on the table; see
pg_constraint catalog
-
+
- relhasrules
- bool
-
-
+
+ relhasrulesbool
+
+
True if table has (or once had) rules; see
pg_rewrite catalog
-
+
- relhastriggers
- bool
-
-
+
+ relhastriggersbool
+
+
True if table has (or once had) triggers; see
pg_trigger catalog
-
+
- relhassubclass
- bool
-
-
+
+ relhassubclassbool
+
+
True if table or index has (or once had) any inheritance children
-
+
- relrowsecurity
- bool
-
-
+
+ relrowsecuritybool
+
+
True if table has row level security enabled; see
pg_policy catalog
-
+
- relforcerowsecurity
- bool
-
-
+
+ relforcerowsecuritybool
+
+
True if row level security (when enabled) will also apply to table owner; see
pg_policy catalog
-
+
- relispopulated
- bool
-
- True if relation is populated (this is true for all
- relations other than some materialized views)
+
+ relispopulatedbool
+
+
+ True if relation is populated (this is true for all
+ relations other than some materialized views)
+
- relreplident
- char
-
-
+
+ relreplidentchar
+
+
Columns used to form replica identity for rows:
d = default (primary key, if any),
n = nothing,
f = all columns
i = index with indisreplident set, or default
-
+
- relispartition
- bool
-
- True if table or index is a partition
+
+ relispartitionbool
+
+
+ True if table or index is a partition
+
- relrewrite
- oid
- pg_class.oid
-
+
+ relrewriteoid
+ (references pg_class.oid)
+
+
For new relations being written during a DDL operation that requires a
table rewrite, this contains the OID of the original relation;
otherwise 0. That state is only visible internally; this field should
never contain anything other than 0 for a user-visible relation.
-
+
- relfrozenxid
- xid
-
-
+
+ relfrozenxidxid
+
+
All transaction IDs before this one have been replaced with a permanent
(frozen) transaction ID in this table. This is used to track
whether the table needs to be vacuumed in order to prevent transaction
ID wraparound or to allow pg_xact to be shrunk. Zero
(InvalidTransactionId) if the relation is not a table.
-
+
- relminmxid
- xid
-
-
+
+ relminmxidxid
+
+
All multixact IDs before this one have been replaced by a
transaction ID in this table. This is used to track
whether the table needs to be vacuumed in order to prevent multixact ID
wraparound or to allow pg_multixact to be shrunk. Zero
(InvalidMultiXactId) if the relation is not a table.
-
+
- relacl
- aclitem[]
-
-
+
+ relaclaclitem[]
+
+
Access privileges; see for details
-
+
- reloptions
- text[]
-
-
+
+ reloptionstext[]
+
+
Access-method-specific options, as keyword=value strings
-
+
- relpartbound
- pg_node_tree
-
-
+
+ relpartboundpg_node_tree
+
+
If table is a partition (see relispartition),
internal representation of the partition bound
-
+
@@ -2044,94 +2253,113 @@ SCRAM-SHA-256$<iteration count>:&l
pg_collation Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- collname
- name
-
- Collation name (unique per namespace and encoding)
+
+ collnamename
+
+
+ Collation name (unique per namespace and encoding)
+
- collnamespace
- oid
- pg_namespace.oid
-
+
+ collnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this collation
-
+
- collowner
- oid
- pg_authid.oid
- Owner of the collation
+
+ collowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the collation
+
- collprovider
- char
-
- Provider of the collation: d = database
- default, c = libc, i = icu
+
+ collproviderchar
+
+
+ Provider of the collation: d = database
+ default, c = libc, i = icu
+
- collisdeterministic
- bool
-
- Is the collation deterministic?
+
+ collisdeterministicbool
+
+
+ Is the collation deterministic?
+
- collencoding
- int4
-
- Encoding in which the collation is applicable, or -1 if it
- works for any encoding
+
+ collencodingint4
+
+
+ Encoding in which the collation is applicable, or -1 if it
+ works for any encoding
+
- collcollate
- name
-
- LC_COLLATE for this collation object
+
+ collcollatename
+
+
+ LC_COLLATE for this collation object
+
- collctype
- name
-
- LC_CTYPE for this collation object
+
+ collctypename
+
+
+ LC_CTYPE for this collation object
+
- collversion
- text
-
-
+
+ collversiontext
+
+
Provider-specific version of the collation. This is recorded when the
collation is created and then checked when it is used, to detect
changes in the collation definition that could lead to data corruption.
-
+
@@ -2189,233 +2417,283 @@ SCRAM-SHA-256$<iteration count>:&l
pg_constraint Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- conname
- name
-
- Constraint name (not necessarily unique!)
+
+ connamename
+
+
+ Constraint name (not necessarily unique!)
+
- connamespace
- oid
- pg_namespace.oid
-
+
+ connamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this constraint
-
+
- contype
- char
-
-
- c = check constraint,
- f = foreign key constraint,
- p = primary key constraint,
- u = unique constraint,
- t = constraint trigger,
- x = exclusion constraint
-
+
+ contypechar
+
+
+ c = check constraint,
+ f = foreign key constraint,
+ p = primary key constraint,
+ u = unique constraint,
+ t = constraint trigger,
+ x = exclusion constraint
+
- condeferrable
- bool
-
- Is the constraint deferrable?
+
+ condeferrablebool
+
+
+ Is the constraint deferrable?
+
- condeferred
- bool
-
- Is the constraint deferred by default?
+
+ condeferredbool
+
+
+ Is the constraint deferred by default?
+
- convalidated
- bool
-
- Has the constraint been validated?
- Currently, can only be false for foreign keys and CHECK constraints
+
+ convalidatedbool
+
+
+ Has the constraint been validated?
+ Currently, can only be false for foreign keys and CHECK constraints
+
- conrelid
- oid
- pg_class.oid
- The table this constraint is on; 0 if not a table constraint
+
+ conrelidoid
+ (references pg_class.oid)
+
+
+ The table this constraint is on; 0 if not a table constraint
+
- contypid
- oid
- pg_type.oid
- The domain this constraint is on; 0 if not a domain constraint
+
+ contypidoid
+ (references pg_type.oid)
+
+
+ The domain this constraint is on; 0 if not a domain constraint
+
- conindid
- oid
- pg_class.oid
- The index supporting this constraint, if it's a unique, primary
- key, foreign key, or exclusion constraint; else 0
+
+ conindidoid
+ (references pg_class.oid)
+
+
+ The index supporting this constraint, if it's a unique, primary
+ key, foreign key, or exclusion constraint; else 0
+
- conparentid
- oid
- pg_constraint.oid
- The corresponding constraint in the parent partitioned table,
- if this is a constraint in a partition; else 0
+
+ conparentidoid
+ (references pg_constraint.oid)
+
+
+ The corresponding constraint in the parent partitioned table,
+ if this is a constraint in a partition; else 0
+
- confrelid
- oid
- pg_class.oid
- If a foreign key, the referenced table; else 0
+
+ confrelidoid
+ (references pg_class.oid)
+
+
+ If a foreign key, the referenced table; else 0
+
- confupdtype
- char
-
- Foreign key update action code:
- a = no action,
- r = restrict,
- c = cascade,
- n = set null,
- d = set default
-
+
+ confupdtypechar
+
+
+ Foreign key update action code:
+ a = no action,
+ r = restrict,
+ c = cascade,
+ n = set null,
+ d = set default
+
- confdeltype
- char
-
- Foreign key deletion action code:
- a = no action,
- r = restrict,
- c = cascade,
- n = set null,
- d = set default
-
+
+ confdeltypechar
+
+
+ Foreign key deletion action code:
+ a = no action,
+ r = restrict,
+ c = cascade,
+ n = set null,
+ d = set default
+
- confmatchtype
- char
-
- Foreign key match type:
- f = full,
- p = partial,
- s = simple
-
+
+ confmatchtypechar
+
+
+ Foreign key match type:
+ f = full,
+ p = partial,
+ s = simple
+
- conislocal
- bool
-
-
+
+ conislocalbool
+
+
This constraint is defined locally for the relation. Note that a
constraint can be locally defined and inherited simultaneously.
-
+
- coninhcount
- int4
-
-
+
+ coninhcountint4
+
+
The number of direct inheritance ancestors this constraint has.
A constraint with
a nonzero number of ancestors cannot be dropped nor renamed.
-
+
- connoinherit
- bool
-
-
+
+ connoinheritbool
+
+
This constraint is defined locally for the relation. It is a
non-inheritable constraint.
-
+
- conkey
- int2[]
- pg_attribute.attnum
- If a table constraint (including foreign keys, but not constraint
- triggers), list of the constrained columns
+
+ conkeyint2[]
+ (references pg_attribute.attnum)
+
+
+ If a table constraint (including foreign keys, but not constraint
+ triggers), list of the constrained columns
+
- confkey
- int2[]
- pg_attribute.attnum
- If a foreign key, list of the referenced columns
+
+ confkeyint2[]
+ (references pg_attribute.attnum)
+
+
+ If a foreign key, list of the referenced columns
+
- conpfeqop
- oid[]
- pg_operator.oid
- If a foreign key, list of the equality operators for PK = FK comparisons
+
+ conpfeqopoid[]
+ (references pg_operator.oid)
+
+
+ If a foreign key, list of the equality operators for PK = FK comparisons
+
- conppeqop
- oid[]
- pg_operator.oid
- If a foreign key, list of the equality operators for PK = PK comparisons
+
+ conppeqopoid[]
+ (references pg_operator.oid)
+
+
+ If a foreign key, list of the equality operators for PK = PK comparisons
+
- conffeqop
- oid[]
- pg_operator.oid
- If a foreign key, list of the equality operators for FK = FK comparisons
+
+ conffeqopoid[]
+ (references pg_operator.oid)
+
+
+ If a foreign key, list of the equality operators for FK = FK comparisons
+
- conexclop
- oid[]
- pg_operator.oid
- If an exclusion constraint, list of the per-column exclusion operators
+
+ conexclopoid[]
+ (references pg_operator.oid)
+
+
+ If an exclusion constraint, list of the per-column exclusion operators
+
- conbin
- pg_node_tree
-
- If a check constraint, an internal representation of the
- expression. (It's recommended to use
- pg_get_constraintdef() to extract the definition of
- a check constraint.)
+
+ conbinpg_node_tree
+
+
+ If a check constraint, an internal representation of the
+ expression. (It's recommended to use
+ pg_get_constraintdef() to extract the definition of
+ a check constraint.)
+
@@ -2456,76 +2734,93 @@ SCRAM-SHA-256$<iteration count>:&l
pg_conversion Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- conname
- name
-
- Conversion name (unique within a namespace)
+
+ connamename
+
+
+ Conversion name (unique within a namespace)
+
- connamespace
- oid
- pg_namespace.oid
-
+
+ connamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this conversion
-
+
- conowner
- oid
- pg_authid.oid
- Owner of the conversion
+
+ conowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the conversion
+
- conforencoding
- int4
-
- Source encoding ID
+
+ conforencodingint4
+
+
+ Source encoding ID
+
- contoencoding
- int4
-
- Destination encoding ID
+
+ contoencodingint4
+
+
+ Destination encoding ID
+
- conproc
- regproc
- pg_proc.oid
- Conversion function
+
+ conprocregproc
+ (references pg_proc.oid)
+
+
+ Conversion function
+
- condefault
- bool
-
- True if this is the default conversion
+
+ condefaultbool
+
+
+ True if this is the default conversion
+
-
pg_database Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- datname
- name
-
- Database name
+
+ datnamename
+
+
+ Database name
+
- datdba
- oid
- pg_authid.oid
- Owner of the database, usually the user who created it
+
+ datdbaoid
+ (references pg_authid.oid)
+
+
+ Owner of the database, usually the user who created it
+
- encoding
- int4
-
- Character encoding for this database
- (pg_encoding_to_char() can translate
- this number to the encoding name)
+
+ encodingint4
+
+
+ Character encoding for this database
+ (pg_encoding_to_char() can translate
+ this number to the encoding name)
+
- datcollate
- name
-
- LC_COLLATE for this database
+
+ datcollatename
+
+
+ LC_COLLATE for this database
+
- datctype
- name
-
- LC_CTYPE for this database
+
+ datctypename
+
+
+ LC_CTYPE for this database
+
- datistemplate
- bool
-
-
+
+ datistemplatebool
+
+
If true, then this database can be cloned by
any user with CREATEDB privileges;
if false, then only superusers or the owner of
the database can clone it.
-
+
- datallowconn
- bool
-
-
+
+ datallowconnbool
+
+
If false then no one can connect to this database. This is
used to protect the template0 database from being altered.
-
+
- datconnlimit
- int4
-
-
+
+ datconnlimitint4
+
+
Sets maximum number of concurrent connections that can be made
to this database. -1 means no limit.
-
+
- datlastsysoid
- oid
-
-
+
+ datlastsysoidoid
+
+
Last system OID in the database; useful
particularly to pg_dump
-
+
- datfrozenxid
- xid
-
-
+
+ datfrozenxidxid
+
+
All transaction IDs before this one have been replaced with a permanent
(frozen) transaction ID in this database. This is used to
track whether the database needs to be vacuumed in order to prevent
transaction ID wraparound or to allow pg_xact to be shrunk.
It is the minimum of the per-table
pg_class.relfrozenxid values.
-
+
- datminmxid
- xid
-
-
+
+ datminmxidxid
+
+
All multixact IDs before this one have been replaced with a
transaction ID in this database. This is used to
track whether the database needs to be vacuumed in order to prevent
multixact ID wraparound or to allow pg_multixact to be shrunk.
It is the minimum of the per-table
pg_class.relminmxid values.
-
+
- dattablespace
- oid
- pg_tablespace.oid
-
+
+ dattablespaceoid
+ (references pg_tablespace.oid)
+
+
The default tablespace for the database.
Within this database, all tables for which
pg_class.reltablespace is zero
will be stored in this tablespace; in particular, all the non-shared
system catalogs will be there.
-
+
- datacl
- aclitem[]
-
-
+
+ dataclaclitem[]
+
+
Access privileges; see for details
-
+
@@ -2731,37 +3041,46 @@ SCRAM-SHA-256$<iteration count>:&l
pg_db_role_setting Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- setdatabase
- oid
- pg_database.oid
- The OID of the database the setting is applicable to, or zero if not database-specific
+
+ setdatabaseoid
+ (references pg_database.oid)
+
+
+ The OID of the database the setting is applicable to, or zero if not database-specific
+
- setrole
- oid
- pg_authid.oid
- The OID of the role the setting is applicable to, or zero if not role-specific
+
+ setroleoid
+ (references pg_authid.oid)
+
+
+ The OID of the role the setting is applicable to, or zero if not role-specific
+
- setconfig
- text[]
-
- Defaults for run-time configuration variables
+
+ setconfigtext[]
+
+
+ Defaults for run-time configuration variables
+
@@ -2783,61 +3102,70 @@ SCRAM-SHA-256$<iteration count>:&l
pg_default_acl Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- defaclrole
- oid
- pg_authid.oid
- The OID of the role associated with this entry
+
+ defaclroleoid
+ (references pg_authid.oid)
+
+
+ The OID of the role associated with this entry
+
- defaclnamespace
- oid
- pg_namespace.oid
- The OID of the namespace associated with this entry,
- or 0 if none
+
+ defaclnamespaceoid
+ (references pg_namespace.oid)
+
+
+ The OID of the namespace associated with this entry,
+ or 0 if none
+
- defaclobjtype
- char
-
-
+
+ defaclobjtypechar
+
+
Type of object this entry is for:
r = relation (table, view),
S = sequence,
f = function,
T = type,
n = schema
-
+
- defaclacl
- aclitem[]
-
-
+
+ defaclaclaclitem[]
+
+
Access privileges that this type of object should have on creation
-
+
@@ -2888,79 +3216,91 @@ SCRAM-SHA-256$<iteration count>:&l
pg_depend Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- classid
- oid
- pg_class.oid
- The OID of the system catalog the dependent object is in
+
+ classidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog the dependent object is in
+
- objid
- oid
- any OID column
- The OID of the specific dependent object
+
+ objidoid
+ (references any OID column)
+
+
+ The OID of the specific dependent object
+
- objsubid
- int4
-
-
+
+ objsubidint4
+
+
For a table column, this is the column number (the
objid and classid refer to the
table itself). For all other object types, this column is
zero.
-
+
- refclassid
- oid
- pg_class.oid
- The OID of the system catalog the referenced object is in
+
+ refclassidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog the referenced object is in
+
- refobjid
- oid
- any OID column
- The OID of the specific referenced object
+
+ refobjidoid
+ (references any OID column)
+
+
+ The OID of the specific referenced object
+
- refobjsubid
- int4
-
-
+
+ refobjsubidint4
+
+
For a table column, this is the column number (the
refobjid and refclassid refer
to the table itself). For all other object types, this column
is zero.
-
+
- deptype
- char
-
-
+
+ deptypechar
+
+
A code defining the specific semantics of this dependency relationship; see text
-
+
-
pg_description Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- objoid
- oid
- any OID column
- The OID of the object this description pertains to
+
+ objoidoid
+ (references any OID column)
+
+
+ The OID of the object this description pertains to
+
- classoid
- oid
- pg_class.oid
- The OID of the system catalog this object appears in
+
+ classoidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog this object appears in
+
- objsubid
- int4
-
-
+
+ objsubidint4
+
+
For a comment on a table column, this is the column number (the
objoid and classoid refer to
the table itself). For all other object types, this column is
zero.
-
+
- description
- text
-
- Arbitrary text that serves as the description of this object
+
+ descriptiontext
+
+
+ Arbitrary text that serves as the description of this object
+
@@ -3221,44 +3570,54 @@ SCRAM-SHA-256$<iteration count>:&l
pg_enum Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- enumtypid
- oid
- pg_type.oid
- The OID of the pg_type entry owning this enum value
+
+ enumtypidoid
+ (references pg_type.oid)
+
+
+ The OID of the pg_type entry owning this enum value
+
- enumsortorder
- float4
-
- The sort position of this enum value within its enum type
+
+ enumsortorderfloat4
+
+
+ The sort position of this enum value within its enum type
+
- enumlabel
- name
-
- The textual label for this enum value
+
+ enumlabelname
+
+
+ The textual label for this enum value
+
@@ -3300,75 +3659,88 @@ SCRAM-SHA-256$<iteration count>:&l
pg_event_trigger Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- evtname
- name
-
- Trigger name (must be unique)
+
+ evtnamename
+
+
+ Trigger name (must be unique)
+
- evtevent
- name
-
- Identifies the event for which this trigger fires
+
+ evteventname
+
+
+ Identifies the event for which this trigger fires
+
- evtowner
- oid
- pg_authid.oid
- Owner of the event trigger
+
+ evtowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the event trigger
+
- evtfoid
- oid
- pg_proc.oid
- The function to be called
+
+ evtfoidoid
+ (references pg_proc.oid)
+
+
+ The function to be called
+
- evtenabled
- char
-
-
+
+ evtenabledchar
+
+
Controls in which modes
the event trigger fires.
O = trigger fires in origin and local modes,
D = trigger is disabled,
R = trigger fires in replica mode,
A = trigger fires always.
-
+
- evttags
- text[]
-
-
- Command tags for which this trigger will fire. If NULL, the firing
- of this trigger is not restricted on the basis of the command tag.
-
+
+ evttagstext[]
+
+
+ Command tags for which this trigger will fire. If NULL, the firing
+ of this trigger is not restricted on the basis of the command tag.
+
@@ -3391,76 +3763,95 @@ SCRAM-SHA-256$<iteration count>:&l
pg_extension Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- extname
- name
-
- Name of the extension
+
+ extnamename
+
+
+ Name of the extension
+
- extowner
- oid
- pg_authid.oid
- Owner of the extension
+
+ extowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the extension
+
- extnamespace
- oid
- pg_namespace.oid
- Schema containing the extension's exported objects
+
+ extnamespaceoid
+ (references pg_namespace.oid)
+
+
+ Schema containing the extension's exported objects
+
- extrelocatable
- bool
-
- True if extension can be relocated to another schema
+
+ extrelocatablebool
+
+
+ True if extension can be relocated to another schema
+
- extversion
- text
-
- Version name for the extension
+
+ extversiontext
+
+
+ Version name for the extension
+
- extconfig
- oid[]
- pg_class.oid
- Array of regclass OIDs for the extension's configuration
- table(s), or NULL if none
+
+ extconfigoid[]
+ (references pg_class.oid)
+
+
+ Array of regclass OIDs for the extension's configuration
+ table(s), or NULL if none
+
- extcondition
- text[]
-
- Array of WHERE-clause filter conditions for the
- extension's configuration table(s), or NULL if none
+
+ extconditiontext[]
+
+
+ Array of WHERE-clause filter conditions for the
+ extension's configuration table(s), or NULL if none
+
-
pg_foreign_data_wrapper Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- fdwname
- name
-
- Name of the foreign-data wrapper
+
+ fdwnamename
+
+
+ Name of the foreign-data wrapper
+
- fdwowner
- oid
- pg_authid.oid
- Owner of the foreign-data wrapper
+
+ fdwowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the foreign-data wrapper
+
- fdwhandler
- oid
- pg_proc.oid
-
+
+ fdwhandleroid
+ (references pg_proc.oid)
+
+
References a handler function that is responsible for
supplying execution routines for the foreign-data wrapper.
Zero if no handler is provided
-
+
- fdwvalidator
- oid
- pg_proc.oid
-
+
+ fdwvalidatoroid
+ (references pg_proc.oid)
+
+
References a validator function that is responsible for
checking the validity of the options given to the
foreign-data wrapper, as well as options for foreign servers and user
mappings using the foreign-data wrapper. Zero if no validator
is provided
-
+
- fdwacl
- aclitem[]
-
-
+
+ fdwaclaclitem[]
+
+
Access privileges; see for details
-
+
- fdwoptions
- text[]
-
-
+
+ fdwoptionstext[]
+
+
Foreign-data wrapper specific options, as keyword=value strings
-
+
@@ -3590,76 +3991,91 @@ SCRAM-SHA-256$<iteration count>:&l
pg_foreign_server Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- srvname
- name
-
- Name of the foreign server
+
+ srvnamename
+
+
+ Name of the foreign server
+
- srvowner
- oid
- pg_authid.oid
- Owner of the foreign server
+
+ srvowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the foreign server
+
- srvfdw
- oid
- pg_foreign_data_wrapper.oid
- OID of the foreign-data wrapper of this foreign server
+
+ srvfdwoid
+ (references pg_foreign_data_wrapper.oid)
+
+
+ OID of the foreign-data wrapper of this foreign server
+
- srvtype
- text
-
- Type of the server (optional)
+
+ srvtypetext
+
+
+ Type of the server (optional)
+
- srvversion
- text
-
- Version of the server (optional)
+
+ srvversiontext
+
+
+ Version of the server (optional)
+
- srvacl
- aclitem[]
-
-
+
+ srvaclaclitem[]
+
+
Access privileges; see for details
-
+
- srvoptions
- text[]
-
-
+
+ srvoptionstext[]
+
+
Foreign server specific options, as keyword=value strings
-
+
@@ -3685,39 +4101,46 @@ SCRAM-SHA-256$<iteration count>:&l
pg_foreign_table Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- ftrelid
- oid
- pg_class.oid
- OID of the pg_class entry for this foreign table
+
+ ftrelidoid
+ (references pg_class.oid)
+
+
+ OID of the pg_class entry for this foreign table
+
- ftserver
- oid
- pg_foreign_server.oid
- OID of the foreign server for this foreign table
+
+ ftserveroid
+ (references pg_foreign_server.oid)
+
+
+ OID of the foreign server for this foreign table
+
- ftoptions
- text[]
-
-
+
+ ftoptionstext[]
+
+
Foreign table options, as keyword=value strings
-
+
@@ -3740,149 +4163,171 @@ SCRAM-SHA-256$<iteration count>:&l
pg_index Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- indexrelid
- oid
- pg_class.oid
- The OID of the pg_class entry for this index
+
+ indexrelidoid
+ (references pg_class.oid)
+
+
+ The OID of the pg_class entry for this index
+
- indrelid
- oid
- pg_class.oid
- The OID of the pg_class entry for the table this index is for
+
+ indrelidoid
+ (references pg_class.oid)
+
+
+ The OID of the pg_class entry for the table this index is for
+
- indnatts
- int2
-
- The total number of columns in the index (duplicates
- pg_class.relnatts); this number includes both key and included attributes
+
+ indnattsint2
+
+
+ The total number of columns in the index (duplicates
+ pg_class.relnatts); this number includes both key and included attributes
+
-
- indnkeyatts
- int2
-
- The number of key columns in the index,
+
+
+ indnkeyattsint2
+
+
+ The number of key columns in the index,
not counting any included columns, which are
- merely stored and do not participate in the index semantics
+ merely stored and do not participate in the index semantics
+
- indisunique
- bool
-
- If true, this is a unique index
+
+ indisuniquebool
+
+
+ If true, this is a unique index
+
- indisprimary
- bool
-
- If true, this index represents the primary key of the table
- (indisunique should always be true when this is true)
+
+ indisprimarybool
+
+
+ If true, this index represents the primary key of the table
+ (indisunique should always be true when this is true)
+
- indisexclusion
- bool
-
- If true, this index supports an exclusion constraint
+
+ indisexclusionbool
+
+
+ If true, this index supports an exclusion constraint
+
- indimmediate
- bool
-
- If true, the uniqueness check is enforced immediately on
+
+ indimmediatebool
+
+
+ If true, the uniqueness check is enforced immediately on
insertion
- (irrelevant if indisunique is not true)
+ (irrelevant if indisunique is not true)
+
- indisclustered
- bool
-
- If true, the table was last clustered on this index
+
+ indisclusteredbool
+
+
+ If true, the table was last clustered on this index
+
- indisvalid
- bool
-
-
+
+ indisvalidbool
+
+
If true, the index is currently valid for queries. False means the
index is possibly incomplete: it must still be modified by
INSERT/UPDATE operations, but it cannot safely
be used for queries. If it is unique, the uniqueness property is not
guaranteed true either.
-
+
- indcheckxmin
- bool
-
-
+
+ indcheckxminbool
+
+
If true, queries must not use the index until the xmin
of this pg_index row is below their TransactionXmin
event horizon, because the table may contain broken HOT chains with
incompatible rows that they can see
-
+
- indisready
- bool
-
-
+
+ indisreadybool
+
+
If true, the index is currently ready for inserts. False means the
index must be ignored by INSERT/UPDATE
operations.
-
+
- indislive
- bool
-
-
+
+ indislivebool
+
+
If false, the index is in process of being dropped, and should be
ignored for all purposes (including HOT-safety decisions)
-
+
- indisreplident
- bool
-
-
+
+ indisreplidentbool
+
+
If true this index has been chosen as replica identity
using ALTER TABLE ... REPLICA IDENTITY USING INDEX
...
-
+
- indkey
- int2vector
- pg_attribute.attnum
-
+
+ indkeyint2vector
+ (references pg_attribute.attnum)
+
+
This is an array of indnatts values that
indicate which table columns this index indexes. For example a value
of 1 3 would mean that the first and the third table
@@ -3890,66 +4335,68 @@ SCRAM-SHA-256$<iteration count>:&l
(included) columns. A zero in this array indicates that the
corresponding index attribute is an expression over the table columns,
rather than a simple column reference.
-
+
- indcollation
- oidvector
- pg_collation.oid
-
+
+ indcollationoidvector
+ (references pg_collation.oid)
+
+
For each column in the index key
(indnkeyatts values), this contains the OID
of the collation to use for the index, or zero if the column is not of
a collatable data type.
-
+
- indclass
- oidvector
- pg_opclass.oid
-
+
+ indclassoidvector
+ (references pg_opclass.oid)
+
+
For each column in the index key
(indnkeyatts values), this contains the OID
of the operator class to use. See
pg_opclass for details.
-
+
- indoption
- int2vector
-
-
+
+ indoptionint2vector
+
+
This is an array of indnkeyatts values that
store per-column flag bits. The meaning of the bits is defined by
the index's access method.
-
+
- indexprs
- pg_node_tree
-
-
+
+ indexprspg_node_tree
+
+
Expression trees (in nodeToString()
representation) for index attributes that are not simple column
references. This is a list with one element for each zero
entry in indkey. Null if all index attributes
are simple references.
-
+
- indpred
- pg_node_tree
-
-
+
+ indpredpg_node_tree
+
+
Expression tree (in nodeToString()
representation) for partial index predicate. Null if not a
partial index.
-
+
@@ -3974,45 +4421,48 @@ SCRAM-SHA-256$<iteration count>:&l
pg_inherits Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- inhrelid
- oid
- pg_class.oid
-
+
+ inhrelidoid
+ (references pg_class.oid)
+
+
The OID of the child table
-
+
- inhparent
- oid
- pg_class.oid
-
+
+ inhparentoid
+ (references pg_class.oid)
+
+
The OID of the parent table
-
+
- inhseqno
- int4
-
-
+
+ inhseqnoint4
+
+
If there is more than one direct parent for a child table (multiple
inheritance), this number tells the order in which the
inherited columns are to be arranged. The count starts at 1.
-
+
@@ -4058,63 +4508,69 @@ SCRAM-SHA-256$<iteration count>:&l
pg_init_privs Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- objoid
- oid
- any OID column
- The OID of the specific object
+
+ objoidoid
+ (references any OID column)
+
+
+ The OID of the specific object
+
- classoid
- oid
- pg_class.oid
- The OID of the system catalog the object is in
+
+ classoidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog the object is in
+
- objsubid
- int4
-
-
+
+ objsubidint4
+
+
For a table column, this is the column number (the
objoid and classoid refer to the
table itself). For all other object types, this column is
zero.
-
+
- privtype
- char
-
-
+
+ privtypechar
+
+
A code defining the type of initial privilege of this object; see text
-
+
- initprivs
- aclitem[]
-
-
+
+ initprivsaclitem[]
+
+
The initial access privileges; see
for details
-
+
-
pg_language Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- lanname
- name
-
- Name of the language
+
+ lannamename
+
+
+ Name of the language
+
- lanowner
- oid
- pg_authid.oid
- Owner of the language
+
+ lanowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the language
+
- lanispl
- bool
-
-
+
+ lanisplbool
+
+
This is false for internal languages (such as
SQL) and true for user-defined languages.
Currently, pg_dump still uses this
to determine which languages need to be dumped, but this might be
replaced by a different mechanism in the future.
-
+
- lanpltrusted
- bool
-
-
+
+ lanpltrustedbool
+
+
True if this is a trusted language, which means that it is believed
not to grant access to anything outside the normal SQL execution
environment. Only superusers can create functions in untrusted
languages.
-
+
- lanplcallfoid
- oid
- pg_proc.oid
-
+
+ lanplcallfoidoid
+ (references pg_proc.oid)
+
+
For noninternal languages this references the language
handler, which is a special function that is responsible for
executing all functions that are written in the particular
language
-
+
- laninline
- oid
- pg_proc.oid
-
+
+ laninlineoid
+ (references pg_proc.oid)
+
+
This references a function that is responsible for executing
inline anonymous code blocks
( blocks).
Zero if inline blocks are not supported.
-
+
- lanvalidator
- oid
- pg_proc.oid
-
+
+ lanvalidatoroid
+ (references pg_proc.oid)
+
+
This references a language validator function that is responsible
for checking the syntax and validity of new functions when they
are created. Zero if no validator is provided.
-
+
- lanacl
- aclitem[]
-
-
+
+ lanaclaclitem[]
+
+
Access privileges; see for details
-
+
@@ -4275,41 +4742,47 @@ SCRAM-SHA-256$<iteration count>:&l
pg_largeobject Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- loid
- oid
- pg_largeobject_metadata.oid
- Identifier of the large object that includes this page
+
+ loidoid
+ (references pg_largeobject_metadata.oid)
+
+
+ Identifier of the large object that includes this page
+
- pageno
- int4
-
- Page number of this page within its large object
- (counting from zero)
+
+ pagenoint4
+
+
+ Page number of this page within its large object
+ (counting from zero)
+
- data
- bytea
-
-
+
+ databytea
+
+
Actual data stored in the large object.
This will never be more than LOBLKSIZE bytes and might be less.
-
+
@@ -4342,41 +4815,46 @@ SCRAM-SHA-256$<iteration count>:&l
pg_largeobject_metadata Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- lomowner
- oid
- pg_authid.oid
- Owner of the large object
+
+ lomowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the large object
+
- lomacl
- aclitem[]
-
-
+
+ lomaclaclitem[]
+
+
Access privileges; see for details
-
+
-
pg_namespace Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- nspname
- name
-
- Name of the namespace
+
+ nspnamename
+
+
+ Name of the namespace
+
- nspowner
- oid
- pg_authid.oid
- Owner of the namespace
+
+ nspowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the namespace
+
- nspacl
- aclitem[]
-
-
+
+ nspaclaclitem[]
+
+
Access privileges; see for details
-
+
@@ -4471,81 +4957,105 @@ SCRAM-SHA-256$<iteration count>:&l
pg_opclass Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
-
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- opcmethod
- oid
- pg_am.oid
- Index access method operator class is for
+
+ opcmethodoid
+ (references pg_am.oid)
+
+
+ Index access method operator class is for
+
- opcname
- name
-
- Name of this operator class
+
+ opcnamename
+
+
+ Name of this operator class
+
- opcnamespace
- oid
- pg_namespace.oid
- Namespace of this operator class
+
+ opcnamespaceoid
+ (references pg_namespace.oid)
+
+
+ Namespace of this operator class
+
- opcowner
- oid
- pg_authid.oid
- Owner of the operator class
+
+ opcowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the operator class
+
- opcfamily
- oid
- pg_opfamily.oid
- Operator family containing the operator class
+
+ opcfamilyoid
+ (references pg_opfamily.oid)
+
+
+ Operator family containing the operator class
+
- opcintype
- oid
- pg_type.oid
- Data type that the operator class indexes
+
+ opcintypeoid
+ (references pg_type.oid)
+
+
+ Data type that the operator class indexes
+
- opcdefault
- bool
-
- True if this operator class is the default for opcintype
+
+ opcdefaultbool
+
+
+ True if this operator class is the default for opcintype
+
- opckeytype
- oid
- pg_type.oid
- Type of data stored in index, or zero if same as opcintype
+
+ opckeytypeoid
+ (references pg_type.oid)
+
+
+ Type of data stored in index, or zero if same as opcintype
+
-
pg_operator Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- oprname
- name
-
- Name of the operator
+
+ oprnamename
+
+
+ Name of the operator
+
- oprnamespace
- oid
- pg_namespace.oid
-
+
+ oprnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this operator
-
+
- oprowner
- oid
- pg_authid.oid
- Owner of the operator
+
+ oprowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the operator
+
- oprkind
- char
-
-
+
+ oprkindchar
+
+ b = infix (both), l = prefix
(left), r = postfix (right)
-
+
- oprcanmerge
- bool
-
- This operator supports merge joins
+
+ oprcanmergebool
+
+
+ This operator supports merge joins
+
- oprcanhash
- bool
-
- This operator supports hash joins
+
+ oprcanhashbool
+
+
+ This operator supports hash joins
+
- oprleft
- oid
- pg_type.oid
- Type of the left operand
+
+ oprleftoid
+ (references pg_type.oid)
+
+
+ Type of the left operand
+
- oprright
- oid
- pg_type.oid
- Type of the right operand
+
+ oprrightoid
+ (references pg_type.oid)
+
+
+ Type of the right operand
+
- oprresult
- oid
- pg_type.oid
- Type of the result
+
+ oprresultoid
+ (references pg_type.oid)
+
+
+ Type of the result
+
- oprcom
- oid
- pg_operator.oid
- Commutator of this operator, if any
+
+ oprcomoid
+ (references pg_operator.oid)
+
+
+ Commutator of this operator, if any
+
- oprnegate
- oid
- pg_operator.oid
- Negator of this operator, if any
+
+ oprnegateoid
+ (references pg_operator.oid)
+
+
+ Negator of this operator, if any
+
- oprcode
- regproc
- pg_proc.oid
- Function that implements this operator
+
+ oprcoderegproc
+ (references pg_proc.oid)
+
+
+ Function that implements this operator
+
- oprrest
- regproc
- pg_proc.oid
- Restriction selectivity estimation function for this operator
+
+ oprrestregproc
+ (references pg_proc.oid)
+
+
+ Restriction selectivity estimation function for this operator
+
- oprjoin
- regproc
- pg_proc.oid
- Join selectivity estimation function for this operator
+
+ oprjoinregproc
+ (references pg_proc.oid)
+
+
+ Join selectivity estimation function for this operator
+
@@ -4733,53 +5280,66 @@ SCRAM-SHA-256$<iteration count>:&l
pg_opfamily Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
-
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- opfmethod
- oid
- pg_am.oid
- Index access method operator family is for
+
+ opfmethodoid
+ (references pg_am.oid)
+
+
+ Index access method operator family is for
+
- opfname
- name
-
- Name of this operator family
+
+ opfnamename
+
+
+ Name of this operator family
+
- opfnamespace
- oid
- pg_namespace.oid
- Namespace of this operator family
+
+ opfnamespaceoid
+ (references pg_namespace.oid)
+
+
+ Namespace of this operator family
+
- opfowner
- oid
- pg_authid.oid
- Owner of the operator family
+
+ opfowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the operator family
+
-
pg_partitioned_table Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
-
- partrelid
- oid
- pg_class.oid
- The OID of the pg_class entry for this partitioned table
+
+ partrelidoid
+ (references pg_class.oid)
+
+
+ The OID of the pg_class entry for this partitioned table
+
- partstrat
- char
-
-
+
+ partstratchar
+
+
Partitioning strategy; h = hash partitioned table,
l = list partitioned table, r = range partitioned table
-
+
- partnatts
- int2
-
- The number of columns in partition key
+
+ partnattsint2
+
+
+ The number of columns in partition key
+
- partdefid
- oid
- pg_class.oid
-
+
+ partdefidoid
+ (references pg_class.oid)
+
+
The OID of the pg_class entry for the default partition
of this partitioned table, or zero if this partitioned table does not
have a default partition.
-
+
- partattrs
- int2vector
- pg_attribute.attnum
-
+
+ partattrsint2vector
+ (references pg_attribute.attnum)
+
+
This is an array of partnatts values that
indicate which table columns are part of the partition key. For
example, a value of 1 3 would mean that the first
and the third table columns make up the partition key. A zero in this
array indicates that the corresponding partition key column is an
expression, rather than a simple column reference.
-
+
- partclass
- oidvector
- pg_opclass.oid
-
+
+ partclassoidvector
+ (references pg_opclass.oid)
+
+
For each column in the partition key, this contains the OID of the
operator class to use. See
pg_opclass for details.
-
+
- partcollation
- oidvector
- pg_collation.oid
-
+
+ partcollationoidvector
+ (references pg_collation.oid)
+
+
For each column in the partition key, this contains the OID of the
collation to use for partitioning, or zero if the column is not
of a collatable data type.
-
+
- partexprs
- pg_node_tree
-
-
+
+ partexprspg_node_tree
+
+
Expression trees (in nodeToString()
representation) for partition key columns that are not simple column
references. This is a list with one element for each zero
entry in partattrs. Null if all partition key columns
are simple references.
-
+
-
-
pg_policy Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- polname
- name
-
- The name of the policy
+
+ polnamename
+
+
+ The name of the policy
+
- polrelid
- oid
- pg_class.oid
- The table to which the policy applies
+
+ polrelidoid
+ (references pg_class.oid)
+
+
+ The table to which the policy applies
+
- polcmd
- char
-
- The command type to which the policy is applied:
+
+ polcmdchar
+
+
+ The command type to which the policy is applied:
r for SELECT,
a for INSERT,
w for UPDATE,
d for DELETE,
- or * for all
+ or * for all
+
- polpermissive
- boolean
-
- Is the policy permissive or restrictive?
+
+ polpermissivebool
+
+
+ Is the policy permissive or restrictive?
+
- polroles
- oid[]
- pg_authid.oid
- The roles to which the policy is applied
+
+ polrolesoid[]
+ (references pg_authid.oid)
+
+
+ The roles to which the policy is applied
+
- polqual
- pg_node_tree
-
- The expression tree to be added to the security barrier qualifications for queries that use the table
+
+ polqualpg_node_tree
+
+
+ The expression tree to be added to the security barrier qualifications for queries that use the table
+
- polwithcheck
- pg_node_tree
-
- The expression tree to be added to the WITH CHECK qualifications for queries that attempt to add rows to the table
+
+ polwithcheckpg_node_tree
+
+
+ The expression tree to be added to the WITH CHECK qualifications for queries that attempt to add rows to the table
+
-
pg_proc Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- proname
- name
-
- Name of the function
+
+ pronamename
+
+
+ Name of the function
+
- pronamespace
- oid
- pg_namespace.oid
-
+
+ pronamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this function
-
+
- proowner
- oid
- pg_authid.oid
- Owner of the function
+
+ proowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the function
+
- prolang
- oid
- pg_language.oid
- Implementation language or call interface of this function
+
+ prolangoid
+ (references pg_language.oid)
+
+
+ Implementation language or call interface of this function
+
- procost
- float4
-
- Estimated execution cost (in units of
+
+ procostfloat4
+
+
+ Estimated execution cost (in units of
); if proretset,
- this is cost per row returned
+ this is cost per row returned
+
- prorows
- float4
-
- Estimated number of result rows (zero if not proretset)
+
+ prorowsfloat4
+
+
+ Estimated number of result rows (zero if not proretset)
+
- provariadic
- oid
- pg_type.oid
- Data type of the variadic array parameter's elements,
- or zero if the function does not have a variadic parameter
+
+ provariadicoid
+ (references pg_type.oid)
+
+
+ Data type of the variadic array parameter's elements,
+ or zero if the function does not have a variadic parameter
+
- prosupport
- regproc
- pg_proc.oid
- Optional planner support function for this function
- (see )
+
+ prosupportregproc
+ (references pg_proc.oid)
+
+
+ Optional planner support function for this function
+ (see )
+
- prokind
- char
-
- f for a normal function, p
- for a procedure, a for an aggregate function, or
- w for a window function
+
+ prokindchar
+
+
+ f for a normal function, p
+ for a procedure, a for an aggregate function, or
+ w for a window function
+
- prosecdef
- bool
-
- Function is a security definer (i.e., a setuid
- function)
+
+ prosecdefbool
+
+
+ Function is a security definer (i.e., a setuid
+ function)
+
- proleakproof
- bool
-
-
+
+ proleakproofbool
+
+
The function has no side effects. No information about the
arguments is conveyed except via the return value. Any function
that might throw an error depending on the values of its arguments
is not leak-proof.
-
+
- proisstrict
- bool
-
-
+
+ proisstrictbool
+
+
Function returns null if any call argument is null. In that
case the function won't actually be called at all. Functions
that are not strict must be prepared to handle
null inputs.
-
+
- proretset
- bool
-
- Function returns a set (i.e., multiple values of the specified
- data type)
+
+ proretsetbool
+
+
+ Function returns a set (i.e., multiple values of the specified
+ data type)
+
- provolatile
- char
-
-
+
+ provolatilechar
+
+ provolatile tells whether the function's
result depends only on its input arguments, or is affected by outside
factors.
@@ -5189,14 +5802,14 @@ SCRAM-SHA-256$<iteration count>:&l
whose results might change at any time. (Use v also
for functions with side-effects, so that calls to them cannot get
optimized away.)
-
+
- proparallel
- char
-
-
+
+ proparallelchar
+
+ proparallel tells whether the function
can be safely run in parallel mode.
It is s for functions which are safe to run in
@@ -5206,146 +5819,157 @@ SCRAM-SHA-256$<iteration count>:&l
parallel worker processes cannot invoke these functions.
It is u for functions which are unsafe in parallel
mode; the presence of such a function forces a serial execution plan.
-
+
- pronargs
- int2
-
- Number of input arguments
+
+ pronargsint2
+
+
+ Number of input arguments
+
- pronargdefaults
- int2
-
- Number of arguments that have defaults
+
+ pronargdefaultsint2
+
+
+ Number of arguments that have defaults
+
- prorettype
- oid
- pg_type.oid
- Data type of the return value
+
+ prorettypeoid
+ (references pg_type.oid)
+
+
+ Data type of the return value
+
- proargtypes
- oidvector
- pg_type.oid
-
+
+ proargtypesoidvector
+ (references pg_type.oid)
+
+
An array with the data types of the function arguments. This includes
only input arguments (including INOUT and
VARIADIC arguments), and thus represents
the call signature of the function.
-
+
- proallargtypes
- oid[]
- pg_type.oid
-
+
+ proallargtypesoid[]
+ (references pg_type.oid)
+
+
An array with the data types of the function arguments. This includes
all arguments (including OUT and
INOUT arguments); however, if all the
arguments are IN arguments, this field will be null.
Note that subscripting is 1-based, whereas for historical reasons
proargtypes is subscripted from 0.
-
+
- proargmodes
- char[]
-
-
- An array with the modes of the function arguments, encoded as
- i for IN arguments,
- o for OUT arguments,
- b for INOUT arguments,
- v for VARIADIC arguments,
- t for TABLE arguments.
- If all the arguments are IN arguments,
- this field will be null.
- Note that subscripts correspond to positions of
- proallargtypes not proargtypes.
-
+
+ proargmodeschar[]
+
+
+ An array with the modes of the function arguments, encoded as
+ i for IN arguments,
+ o for OUT arguments,
+ b for INOUT arguments,
+ v for VARIADIC arguments,
+ t for TABLE arguments.
+ If all the arguments are IN arguments,
+ this field will be null.
+ Note that subscripts correspond to positions of
+ proallargtypes not proargtypes.
+
- proargnames
- text[]
-
-
- An array with the names of the function arguments.
- Arguments without a name are set to empty strings in the array.
- If none of the arguments have a name, this field will be null.
- Note that subscripts correspond to positions of
- proallargtypes not proargtypes.
-
+
+ proargnamestext[]
+
+
+ An array with the names of the function arguments.
+ Arguments without a name are set to empty strings in the array.
+ If none of the arguments have a name, this field will be null.
+ Note that subscripts correspond to positions of
+ proallargtypes not proargtypes.
+
- proargdefaults
- pg_node_tree
-
-
+
+ proargdefaultspg_node_tree
+
+
Expression trees (in nodeToString() representation)
for default values. This is a list with
pronargdefaults elements, corresponding to the last
Ninput arguments (i.e., the last
Nproargtypes positions).
If none of the arguments have defaults, this field will be null.
-
+
- protrftypes
- oid[]
-
-
+
+ protrftypesoid[]
+
+
Data type OIDs for which to apply transforms.
-
+
- prosrc
- text
-
-
+
+ prosrctext
+
+
This tells the function handler how to invoke the function. It
might be the actual source code of the function for interpreted
languages, a link symbol, a file name, or just about anything
else, depending on the implementation language/call convention.
-
+
- probin
- text
-
-
+
+ probintext
+
+
Additional information about how to invoke the function.
Again, the interpretation is language-specific.
-
+
- proconfig
- text[]
-
- Function's local settings for run-time configuration variables
+
+ proconfigtext[]
+
+
+ Function's local settings for run-time configuration variables
+
- proacl
- aclitem[]
-
-
+
+ proaclaclitem[]
+
+
Access privileges; see for details
-
+
@@ -5378,88 +6002,106 @@ SCRAM-SHA-256$<iteration count>:&l
pg_publication Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- pubname
- name
-
- Name of the publication
+
+ pubnamename
+
+
+ Name of the publication
+
- pubowner
- oid
- pg_authid.oid
- Owner of the publication
+
+ pubowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the publication
+
- puballtables
- bool
-
- If true, this publication automatically includes all tables
+
+ puballtablesbool
+
+
+ If true, this publication automatically includes all tables
in the database, including any that will be created in the future.
-
+
- pubinsert
- bool
-
- If true, INSERT operations are replicated for
- tables in the publication.
+
+ pubinsertbool
+
+
+ If true, INSERT operations are replicated for
+ tables in the publication.
+
- pubupdate
- bool
-
- If true, UPDATE operations are replicated for
- tables in the publication.
+
+ pubupdatebool
+
+
+ If true, UPDATE operations are replicated for
+ tables in the publication.
+
- pubdelete
- bool
-
- If true, DELETE operations are replicated for
- tables in the publication.
+
+ pubdeletebool
+
+
+ If true, DELETE operations are replicated for
+ tables in the publication.
+
- pubtruncate
- bool
-
- If true, TRUNCATE operations are replicated for
- tables in the publication.
+
+ pubtruncatebool
+
+
+ If true, TRUNCATE operations are replicated for
+ tables in the publication.
+
- pubviaroot
- bool
-
- If true, operations on a leaf partition are replicated using the
+
+ pubviarootbool
+
+
+ If true, operations on a leaf partition are replicated using the
identity and schema of its topmost partitioned ancestor mentioned in the
publication instead of its own.
-
+
@@ -5482,37 +6124,46 @@ SCRAM-SHA-256$<iteration count>:&l
pg_publication_rel Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- prpubid
- oid
- pg_publication.oid
- Reference to publication
+
+ prpubidoid
+ (references pg_publication.oid)
+
+
+ Reference to publication
+
- prrelid
- oid
- pg_class.oid
- Reference to relation
+
+ prrelidoid
+ (references pg_class.oid)
+
+
+ Reference to relation
+
@@ -5534,60 +6185,79 @@ SCRAM-SHA-256$<iteration count>:&l
pg_range Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- rngtypid
- oid
- pg_type.oid
- OID of the range type
+
+ rngtypidoid
+ (references pg_type.oid)
+
+
+ OID of the range type
+
- rngsubtype
- oid
- pg_type.oid
- OID of the element type (subtype) of this range type
+
+ rngsubtypeoid
+ (references pg_type.oid)
+
+
+ OID of the element type (subtype) of this range type
+
- rngcollation
- oid
- pg_collation.oid
- OID of the collation used for range comparisons, or 0 if none
+
+ rngcollationoid
+ (references pg_collation.oid)
+
+
+ OID of the collation used for range comparisons, or 0 if none
+
- rngsubopc
- oid
- pg_opclass.oid
- OID of the subtype's operator class used for range comparisons
+
+ rngsubopcoid
+ (references pg_opclass.oid)
+
+
+ OID of the subtype's operator class used for range comparisons
+
- rngcanonical
- regproc
- pg_proc.oid
- OID of the function to convert a range value into canonical form,
- or 0 if none
+
+ rngcanonicalregproc
+ (references pg_proc.oid)
+
+
+ OID of the function to convert a range value into canonical form,
+ or 0 if none
+
- rngsubdiff
- regproc
- pg_proc.oid
- OID of the function to return the difference between two element
- values as double precision, or 0 if none
+
+ rngsubdiffregproc
+ (references pg_proc.oid)
+
+
+ OID of the function to return the difference between two element
+ values as double precision, or 0 if none
+
@@ -5624,34 +6294,38 @@ SCRAM-SHA-256$<iteration count>:&l
-
pg_replication_origin Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- roident
- Oid
-
- A unique, cluster-wide identifier for the replication
- origin. Should never leave the system.
+
+ roidentoid
+
+
+ A unique, cluster-wide identifier for the replication
+ origin. Should never leave the system.
+
- roname
- text
-
- The external, user defined, name of a replication
- origin.
+
+ ronametext
+
+
+ The external, user defined, name of a replication
+ origin.
+
@@ -5671,91 +6345,101 @@ SCRAM-SHA-256$<iteration count>:&l
pg_rewrite Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- rulename
- name
-
- Rule name
+
+ rulenamename
+
+
+ Rule name
+
- ev_class
- oid
- pg_class.oid
- The table this rule is for
+
+ ev_classoid
+ (references pg_class.oid)
+
+
+ The table this rule is for
+
- ev_type
- char
-
-
+
+ ev_typechar
+
+
Event type that the rule is for: 1 = SELECT, 2 =
UPDATE, 3 = INSERT, 4 =
DELETE
-
+
- ev_enabled
- char
-
-
+
+ ev_enabledchar
+
+
Controls in which modes
the rule fires.
O = rule fires in origin and local modes,
D = rule is disabled,
R = rule fires in replica mode,
A = rule fires always.
-
+
- is_instead
- bool
-
- True if the rule is an INSTEAD rule
+
+ is_insteadbool
+
+
+ True if the rule is an INSTEAD rule
+
- ev_qual
- pg_node_tree
-
-
+
+ ev_qualpg_node_tree
+
+
Expression tree (in the form of a
nodeToString() representation) for the
rule's qualifying condition
-
+
- ev_action
- pg_node_tree
-
-
+
+ ev_actionpg_node_tree
+
+
Query tree (in the form of a
nodeToString() representation) for the
rule's action
-
+
@@ -5792,56 +6476,67 @@ SCRAM-SHA-256$<iteration count>:&l
pg_seclabel Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- objoid
- oid
- any OID column
- The OID of the object this security label pertains to
+
+ objoidoid
+ (references any OID column)
+
+
+ The OID of the object this security label pertains to
+
- classoid
- oid
- pg_class.oid
- The OID of the system catalog this object appears in
+
+ classoidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog this object appears in
+
- objsubid
- int4
-
-
+
+ objsubidint4
+
+
For a security label on a table column, this is the column number (the
objoid and classoid refer to
the table itself). For all other object types, this column is
zero.
-
+
- provider
- text
-
- The label provider associated with this label.
+
+ providertext
+
+
+ The label provider associated with this label.
+
- label
- text
-
- The security label applied to this object.
+
+ labeltext
+
+
+ The security label applied to this object.
+
@@ -5863,72 +6558,91 @@ SCRAM-SHA-256$<iteration count>:&l
pg_sequence Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- seqrelid
- oid
- pg_class.oid
- The OID of the pg_class entry for this sequence
+
+ seqrelidoid
+ (references pg_class.oid)
+
+
+ The OID of the pg_class entry for this sequence
+
- seqtypid
- oid
- pg_type.oid
- Data type of the sequence
+
+ seqtypidoid
+ (references pg_type.oid)
+
+
+ Data type of the sequence
+
- seqstart
- int8
-
- Start value of the sequence
+
+ seqstartint8
+
+
+ Start value of the sequence
+
- seqincrement
- int8
-
- Increment value of the sequence
+
+ seqincrementint8
+
+
+ Increment value of the sequence
+
- seqmax
- int8
-
- Maximum value of the sequence
+
+ seqmaxint8
+
+
+ Maximum value of the sequence
+
- seqmin
- int8
-
- Minimum value of the sequence
+
+ seqminint8
+
+
+ Minimum value of the sequence
+
- seqcache
- int8
-
- Cache size of the sequence
+
+ seqcacheint8
+
+
+ Cache size of the sequence
+
- seqcycle
- bool
-
- Whether the sequence cycles
+
+ seqcyclebool
+
+
+ Whether the sequence cycles
+
@@ -5965,75 +6679,90 @@ SCRAM-SHA-256$<iteration count>:&l
pg_shdepend Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- dbid
- oid
- pg_database.oid
- The OID of the database the dependent object is in,
- or zero for a shared object
+
+ dbidoid
+ (references pg_database.oid)
+
+
+ The OID of the database the dependent object is in,
+ or zero for a shared object
+
- classid
- oid
- pg_class.oid
- The OID of the system catalog the dependent object is in
+
+ classidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog the dependent object is in
+
- objid
- oid
- any OID column
- The OID of the specific dependent object
+
+ objidoid
+ (references any OID column)
+
+
+ The OID of the specific dependent object
+
- objsubid
- int4
-
-
+
+ objsubidint4
+
+
For a table column, this is the column number (the
objid and classid refer to the
table itself). For all other object types, this column is zero.
-
+
- refclassid
- oid
- pg_class.oid
- The OID of the system catalog the referenced object is in
- (must be a shared catalog)
+
+ refclassidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog the referenced object is in
+ (must be a shared catalog)
+
- refobjid
- oid
- any OID column
- The OID of the specific referenced object
+
+ refobjidoid
+ (references any OID column)
+
+
+ The OID of the specific referenced object
+
- deptype
- char
-
-
+
+ deptypechar
+
+
A code defining the specific semantics of this dependency relationship; see text
-
+
-
pg_shdescription Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- objoid
- oid
- any OID column
- The OID of the object this description pertains to
+
+ objoidoid
+ (references any OID column)
+
+
+ The OID of the object this description pertains to
+
- classoid
- oid
- pg_class.oid
- The OID of the system catalog this object appears in
+
+ classoidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog this object appears in
+
- description
- text
-
- Arbitrary text that serves as the description of this object
+
+ descriptiontext
+
+
+ Arbitrary text that serves as the description of this object
+
@@ -6194,39 +6932,55 @@ SCRAM-SHA-256$<iteration count>:&l
pg_shseclabel Columns
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- objoid
- oid
- any OID column
- The OID of the object this security label pertains to
+
+ objoidoid
+ (references any OID column)
+
+
+ The OID of the object this security label pertains to
+
+
- classoid
- oid
- pg_class.oid
- The OID of the system catalog this object appears in
+
+ classoidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog this object appears in
+
+
- provider
- text
-
- The label provider associated with this label.
+
+ providertext
+
+
+ The label provider associated with this label.
+
+
- label
- text
-
- The security label applied to this object.
+
+ labeltext
+
+
+ The security label applied to this object.
+
@@ -6297,126 +7051,142 @@ SCRAM-SHA-256$<iteration count>:&l
pg_statistic Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- starelid
- oid
- pg_class.oid
- The table or index that the described column belongs to
+
+ starelidoid
+ (references pg_class.oid)
+
+
+ The table or index that the described column belongs to
+
- staattnum
- int2
- pg_attribute.attnum
- The number of the described column
+
+ staattnumint2
+ (references pg_attribute.attnum)
+
+
+ The number of the described column
+
- stainherit
- bool
-
- If true, the stats include inheritance child columns, not just the
- values in the specified relation
+
+ stainheritbool
+
+
+ If true, the stats include inheritance child columns, not just the
+ values in the specified relation
+
- stanullfrac
- float4
-
- The fraction of the column's entries that are null
+
+ stanullfracfloat4
+
+
+ The fraction of the column's entries that are null
+
- stawidth
- int4
-
- The average stored width, in bytes, of nonnull entries
+
+ stawidthint4
+
+
+ The average stored width, in bytes, of nonnull entries
+
- stadistinct
- float4
-
- The number of distinct nonnull data values in the column.
- A value greater than zero is the actual number of distinct values.
- A value less than zero is the negative of a multiplier for the number
- of rows in the table; for example, a column in which about 80% of the
- values are nonnull and each nonnull value appears about twice on
- average could be represented by stadistinct = -0.4.
- A zero value means the number of distinct values is unknown.
-
+
+ stadistinctfloat4
+
+
+ The number of distinct nonnull data values in the column.
+ A value greater than zero is the actual number of distinct values.
+ A value less than zero is the negative of a multiplier for the number
+ of rows in the table; for example, a column in which about 80% of the
+ values are nonnull and each nonnull value appears about twice on
+ average could be represented by stadistinct = -0.4.
+ A zero value means the number of distinct values is unknown.
+
- stakindN
- int2
-
-
+
+ stakindNint2
+
+
A code number indicating the kind of statistics stored in the
Nth slot of the
pg_statistic row.
-
+
- staopN
- oid
- pg_operator.oid
-
+
+ staopNoid
+ (references pg_operator.oid)
+
+
An operator used to derive the statistics stored in the
Nth slot. For example, a
histogram slot would show the < operator
that defines the sort order of the data.
-
+
- stacollN
- oid
- pg_collation.oid
-
+
+ stacollNoid
+ (references pg_collation.oid)
+
+
The collation used to derive the statistics stored in the
Nth slot. For example, a
histogram slot for a collatable column would show the collation that
defines the sort order of the data. Zero for noncollatable data.
-
+
- stanumbersN
- float4[]
-
-
+
+ stanumbersNfloat4[]
+
+
Numerical statistics of the appropriate kind for the
Nth slot, or null if the slot
kind does not involve numerical values
-
+
- stavaluesN
- anyarray
-
-
+
+ stavaluesNanyarray
+
+
Column data values of the appropriate kind for the
Nth slot, or null if the slot
kind does not store any data values. Each array's element
values are actually of the specific column's data type, or a related
type such as an array's element type, so there is no way to define
these columns' type more specifically than anyarray.
-
+
@@ -6440,61 +7210,72 @@ SCRAM-SHA-256$<iteration count>:&l
pg_statistic_ext Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
-
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- stxrelid
- oid
- pg_class.oid
- Table containing the columns described by this object
+
+ stxrelidoid
+ (references pg_class.oid)
+
+
+ Table containing the columns described by this object
+
- stxname
- name
-
- Name of the statistics object
+
+ stxnamename
+
+
+ Name of the statistics object
+
- stxnamespace
- oid
- pg_namespace.oid
-
+
+ stxnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this statistics object
-
+
- stxowner
- oid
- pg_authid.oid
- Owner of the statistics object
+
+ stxowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the statistics object
+
- stxstattarget
- int4
-
-
+
+ stxstattargetint4
+
+ stxstattarget controls the level of detail
of statistics accumulated for this statistics object by
.
@@ -6503,34 +7284,34 @@ SCRAM-SHA-256$<iteration count>:&l
Positive values of stxstattarget
determine the target number of most common values
to collect.
-
+
- stxkeys
- int2vector
- pg_attribute.attnum
-
+
+ stxkeysint2vector
+ (references pg_attribute.attnum)
+
+
An array of attribute numbers, indicating which table columns are
covered by this statistics object;
for example a value of 1 3 would
mean that the first and the third table columns are covered
-
+
- stxkind
- char[]
-
-
- An array containing codes for the enabled statistic kinds;
- valid values are:
- d for n-distinct statistics,
- f for functional dependency statistics, and
- m for most common values (MCV) list statistics
-
+
+ stxkindchar[]
+
+
+ An array containing codes for the enabled statistic kinds;
+ valid values are:
+ d for n-distinct statistics,
+ f for functional dependency statistics, and
+ m for most common values (MCV) list statistics
+
-
pg_subscription Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- subdbid
- oid
- pg_database.oid
- OID of the database which the subscription resides in
+
+ subdbidoid
+ (references pg_database.oid)
+
+
+ OID of the database which the subscription resides in
+
- subname
- name
-
- Name of the subscription
+
+ subnamename
+
+
+ Name of the subscription
+
- subowner
- oid
- pg_authid.oid
- Owner of the subscription
+
+ subowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the subscription
+
- subenabled
- bool
-
- If true, the subscription is enabled and should be replicating.
+
+ subenabledbool
+
+
+ If true, the subscription is enabled and should be replicating.
+
- subconninfo
- text
-
- Connection string to the upstream database
+
+ subconninfotext
+
+
+ Connection string to the upstream database
+
- subslotname
- name
-
- Name of the replication slot in the upstream database. Also used
- for local replication origin name.
+
+ subslotnamename
+
+
+ Name of the replication slot in the upstream database. Also used
+ for local replication origin name.
+
- subsynccommit
- text
-
-
+
+ subsynccommittext
+
+
Contains the value of the synchronous_commit
setting for the subscription workers.
-
+
- subpublications
- text[]
-
- Array of subscribed publication names. These reference the
+
+ subpublicationstext[]
+
+
+ Array of subscribed publication names. These reference the
publications on the publisher server. For more on publications
see .
-
+
@@ -6765,52 +7566,59 @@ SCRAM-SHA-256$<iteration count>:&l
pg_subscription_rel Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- srsubid
- oid
- pg_subscription.oid
- Reference to subscription
+
+ srsubidoid
+ (references pg_subscription.oid)
+
+
+ Reference to subscription
+
- srrelid
- oid
- pg_class.oid
- Reference to relation
+
+ srrelidoid
+ (references pg_class.oid)
+
+
+ Reference to relation
+
- srsubstate
- char
-
-
+
+ srsubstatechar
+
+
State code:
i = initialize,
d = data is being copied,
s = synchronized,
r = ready (normal replication)
-
+
- srsublsn
- pg_lsn
-
-
+
+ srsublsnpg_lsn
+
+
End LSN for s and r states.
-
+
@@ -6839,55 +7647,63 @@ SCRAM-SHA-256$<iteration count>:&l
pg_tablespace Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- spcname
- name
-
- Tablespace name
+
+ spcnamename
+
+
+ Tablespace name
+
- spcowner
- oid
- pg_authid.oid
- Owner of the tablespace, usually the user who created it
+
+ spcowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the tablespace, usually the user who created it
+
- spcacl
- aclitem[]
-
-
+
+ spcaclaclitem[]
+
+
Access privileges; see for details
-
+
- spcoptions
- text[]
-
-
+
+ spcoptionstext[]
+
+
Tablespace-level options, as keyword=value strings
-
+
@@ -6910,59 +7726,70 @@ SCRAM-SHA-256$<iteration count>:&l
pg_transform Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- trftype
- oid
- pg_type.oid
- OID of the data type this transform is for
+
+ trftypeoid
+ (references pg_type.oid)
+
+
+ OID of the data type this transform is for
+
- trflang
- oid
- pg_language.oid
- OID of the language this transform is for
+
+ trflangoid
+ (references pg_language.oid)
+
+
+ OID of the language this transform is for
+
- trffromsql
- regproc
- pg_proc.oid
-
+
+ trffromsqlregproc
+ (references pg_proc.oid)
+
+
The OID of the function to use when converting the data type for input
to the procedural language (e.g., function parameters). Zero is stored
if this operation is not supported.
-
+
- trftosql
- regproc
- pg_proc.oid
-
+
+ trftosqlregproc
+ (references pg_proc.oid)
+
+
The OID of the function to use when converting output from the
procedural language (e.g., return values) to the data type. Zero is
stored if this operation is not supported.
-
+
@@ -6986,167 +7813,209 @@ SCRAM-SHA-256$<iteration count>:&l
pg_trigger Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- tgrelid
- oid
- pg_class.oid
- The table this trigger is on
+
+ tgrelidoid
+ (references pg_class.oid)
+
+
+ The table this trigger is on
+
- tgparentid
- oid
- pg_trigger.oid
-
+
+ tgparentidoid
+ (references pg_trigger.oid)
+
+
Parent trigger that this trigger is cloned from, zero if not a clone;
this happens when partitions are created or attached to a partitioned
table.
-
+
- tgname
- name
-
- Trigger name (must be unique among triggers of same table)
+
+ tgnamename
+
+
+ Trigger name (must be unique among triggers of same table)
+
- tgfoid
- oid
- pg_proc.oid
- The function to be called
+
+ tgfoidoid
+ (references pg_proc.oid)
+
+
+ The function to be called
+
- tgtype
- int2
-
- Bit mask identifying trigger firing conditions
+
+ tgtypeint2
+
+
+ Bit mask identifying trigger firing conditions
+
- tgenabled
- char
-
-
+
+ tgenabledchar
+
+
Controls in which modes
the trigger fires.
O = trigger fires in origin and local modes,
D = trigger is disabled,
R = trigger fires in replica mode,
A = trigger fires always.
-
+
- tgisinternal
- bool
-
- True if trigger is internally generated (usually, to enforce
- the constraint identified by tgconstraint)
+
+ tgisinternalbool
+
+
+ True if trigger is internally generated (usually, to enforce
+ the constraint identified by tgconstraint)
+
- tgconstrrelid
- oid
- pg_class.oid
- The table referenced by a referential integrity constraint
+
+ tgconstrrelidoid
+ (references pg_class.oid)
+
+
+ The table referenced by a referential integrity constraint
+
- tgconstrindid
- oid
- pg_class.oid
- The index supporting a unique, primary key, referential integrity,
- or exclusion constraint
+
+ tgconstrindidoid
+ (references pg_class.oid)
+
+
+ The index supporting a unique, primary key, referential integrity,
+ or exclusion constraint
+
- tgconstraint
- oid
- pg_constraint.oid
- The pg_constraint entry associated with the trigger, if any
+
+ tgconstraintoid
+ (references pg_constraint.oid)
+
+
+ The pg_constraint entry associated with the trigger, if any
+
- tgdeferrable
- bool
-
- True if constraint trigger is deferrable
+
+ tgdeferrablebool
+
+
+ True if constraint trigger is deferrable
+
- tginitdeferred
- bool
-
- True if constraint trigger is initially deferred
+
+ tginitdeferredbool
+
+
+ True if constraint trigger is initially deferred
+
- tgnargs
- int2
-
- Number of argument strings passed to trigger function
+
+ tgnargsint2
+
+
+ Number of argument strings passed to trigger function
+
- tgattr
- int2vector
- pg_attribute.attnum
- Column numbers, if trigger is column-specific; otherwise an
- empty array
+
+ tgattrint2vector
+ (references pg_attribute.attnum)
+
+
+ Column numbers, if trigger is column-specific; otherwise an
+ empty array
+
- tgargs
- bytea
-
- Argument strings to pass to trigger, each NULL-terminated
+
+ tgargsbytea
+
+
+ Argument strings to pass to trigger, each NULL-terminated
+
- tgqual
- pg_node_tree
-
- Expression tree (in nodeToString()
+
+ tgqualpg_node_tree
+
+
+ Expression tree (in nodeToString()
representation) for the trigger's WHEN condition, or null
- if none
+ if none
+
- tgoldtable
- name
-
- REFERENCING clause name for OLD TABLE,
- or null if none
+
+ tgoldtablename
+
+
+ REFERENCING clause name for OLD TABLE,
+ or null if none
+
- tgnewtable
- name
-
- REFERENCING clause name for NEW TABLE,
- or null if none
+
+ tgnewtablename
+
+
+ REFERENCING clause name for NEW TABLE,
+ or null if none
+
@@ -7206,53 +8075,65 @@ SCRAM-SHA-256$<iteration count>:&l
pg_ts_config Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- cfgname
- name
-
- Text search configuration name
+
+ cfgnamename
+
+
+ Text search configuration name
+
- cfgnamespace
- oid
- pg_namespace.oid
-
+
+ cfgnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this configuration
-
+
- cfgowner
- oid
- pg_authid.oid
- Owner of the configuration
+
+ cfgowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the configuration
+
- cfgparser
- oid
- pg_ts_parser.oid
- The OID of the text search parser for this configuration
+
+ cfgparseroid
+ (references pg_ts_parser.oid)
+
+
+ The OID of the text search parser for this configuration
+
@@ -7281,45 +8162,56 @@ SCRAM-SHA-256$<iteration count>:&l
pg_ts_config_map Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- mapcfg
- oid
- pg_ts_config.oid
- The OID of the pg_ts_config entry owning this map entry
+
+ mapcfgoid
+ (references pg_ts_config.oid)
+
+
+ The OID of the pg_ts_config entry owning this map entry
+
- maptokentype
- integer
-
- A token type emitted by the configuration's parser
+
+ maptokentypeint4
+
+
+ A token type emitted by the configuration's parser
+
- mapseqno
- integer
-
- Order in which to consult this entry (lower
- mapseqnos first)
+
+ mapseqnoint4
+
+
+ Order in which to consult this entry (lower
+ mapseqnos first)
+
- mapdict
- oid
- pg_ts_dict.oid
- The OID of the text search dictionary to consult
+
+ mapdictoid
+ (references pg_ts_dict.oid)
+
+
+ The OID of the text search dictionary to consult
+
@@ -7352,60 +8244,74 @@ SCRAM-SHA-256$<iteration count>:&l
pg_ts_dict Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- dictname
- name
-
- Text search dictionary name
+
+ dictnamename
+
+
+ Text search dictionary name
+
- dictnamespace
- oid
- pg_namespace.oid
-
+
+ dictnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this dictionary
-
+
- dictowner
- oid
- pg_authid.oid
- Owner of the dictionary
+
+ dictowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the dictionary
+
- dicttemplate
- oid
- pg_ts_template.oid
- The OID of the text search template for this dictionary
+
+ dicttemplateoid
+ (references pg_ts_template.oid)
+
+
+ The OID of the text search template for this dictionary
+
- dictinitoption
- text
-
- Initialization option string for the template
+
+ dictinitoptiontext
+
+
+ Initialization option string for the template
+
@@ -7435,74 +8341,95 @@ SCRAM-SHA-256$<iteration count>:&l
pg_ts_parser Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- prsname
- name
-
- Text search parser name
+
+ prsnamename
+
+
+ Text search parser name
+
- prsnamespace
- oid
- pg_namespace.oid
-
+
+ prsnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this parser
-
+
- prsstart
- regproc
- pg_proc.oid
- OID of the parser's startup function
+
+ prsstartregproc
+ (references pg_proc.oid)
+
+
+ OID of the parser's startup function
+
- prstoken
- regproc
- pg_proc.oid
- OID of the parser's next-token function
+
+ prstokenregproc
+ (references pg_proc.oid)
+
+
+ OID of the parser's next-token function
+
- prsend
- regproc
- pg_proc.oid
- OID of the parser's shutdown function
+
+ prsendregproc
+ (references pg_proc.oid)
+
+
+ OID of the parser's shutdown function
+
- prsheadline
- regproc
- pg_proc.oid
- OID of the parser's headline function
+
+ prsheadlineregproc
+ (references pg_proc.oid)
+
+
+ OID of the parser's headline function
+
- prslextype
- regproc
- pg_proc.oid
- OID of the parser's lextype function
+
+ prslextyperegproc
+ (references pg_proc.oid)
+
+
+ OID of the parser's lextype function
+
@@ -7532,53 +8459,65 @@ SCRAM-SHA-256$<iteration count>:&l
pg_ts_template Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- tmplname
- name
-
- Text search template name
+
+ tmplnamename
+
+
+ Text search template name
+
- tmplnamespace
- oid
- pg_namespace.oid
-
+
+ tmplnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this template
-
+
- tmplinit
- regproc
- pg_proc.oid
- OID of the template's initialization function
+
+ tmplinitregproc
+ (references pg_proc.oid)
+
+
+ OID of the template's initialization function
+
- tmpllexize
- regproc
- pg_proc.oid
- OID of the template's lexize function
+
+ tmpllexizeregproc
+ (references pg_proc.oid)
+
+
+ OID of the template's lexize function
+
@@ -7606,66 +8545,75 @@ SCRAM-SHA-256$<iteration count>:&l
pg_type Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- typname
- name
-
- Data type name
+
+ typnamename
+
+
+ Data type name
+
- typnamespace
- oid
- pg_namespace.oid
-
+
+ typnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace that contains this type
-
+
- typowner
- oid
- pg_authid.oid
- Owner of the type
+
+ typowneroid
+ (references pg_authid.oid)
+
+
+ Owner of the type
+
- typlen
- int2
-
-
+
+ typlenint2
+
+
For a fixed-size type, typlen is the number
of bytes in the internal representation of the type. But for a
variable-length type, typlen is negative.
-1 indicates a varlena type (one that has a length word),
-2 indicates a null-terminated C string.
-
+
- typbyval
- bool
-
-
+
+ typbyvalbool
+
+ typbyval determines whether internal
routines pass a value of this type by value or by reference.
typbyval had better be false if
@@ -7674,14 +8622,14 @@ SCRAM-SHA-256$<iteration count>:&l
Variable-length types are always passed by reference. Note that
typbyval can be false even if the
length would allow pass-by-value.
-
+
- typtype
- char
-
-
+
+ typtypechar
+
+ typtype is
b for a base type,
c for a composite type (e.g., a table's row type),
@@ -7691,59 +8639,60 @@ SCRAM-SHA-256$<iteration count>:&l
r for a range type.
See also typrelid and
typbasetype.
-
+
- typcategory
- char
-
-
+
+ typcategorychar
+
+ typcategory is an arbitrary classification
of data types that is used by the parser to determine which implicit
casts should be preferred.
See .
-
+
- typispreferred
- bool
-
-
+
+ typispreferredbool
+
+
True if the type is a preferred cast target within its
typcategory
-
+
- typisdefined
- bool
-
-
+
+ typisdefinedbool
+
+
True if the type is defined, false if this is a placeholder
entry for a not-yet-defined type. When
typisdefined is false, nothing
except the type name, namespace, and OID can be relied on.
-
+
- typdelim
- char
-
-
+
+ typdelimchar
+
+
Character that separates two values of this type when parsing
array input. Note that the delimiter is associated with the array
element data type, not the array data type.
-
+
- typrelid
- oid
- pg_class.oid
-
+
+ typrelidoid
+ (references pg_class.oid)
+
+
If this is a composite type (see
typtype), then this column points to
the pg_class entry that defines the
@@ -7752,14 +8701,15 @@ SCRAM-SHA-256$<iteration count>:&l
a table, but it is needed anyway for the type's
pg_attribute entries to link to.)
Zero for non-composite types.
-
+
- typelem
- oid
- pg_type.oid
-
+
+ typelemoid
+ (references pg_type.oid)
+
+
If typelem is not 0 then it
identifies another row in pg_type.
The current type can then be subscripted like an array yielding
@@ -7774,75 +8724,96 @@ SCRAM-SHA-256$<iteration count>:&l
typelem data type with no other data.
Variable-length array types have a header defined by the array
subroutines.
-
+
- typarray
- oid
- pg_type.oid
-
+
+ typarrayoid
+ (references pg_type.oid)
+
+
If typarray is not 0 then it
identifies another row in pg_type, which
is the true array type having this type as element
-
+
- typinput
- regproc
- pg_proc.oid
- Input conversion function (text format)
+
+ typinputregproc
+ (references pg_proc.oid)
+
+
+ Input conversion function (text format)
+
- typoutput
- regproc
- pg_proc.oid
- Output conversion function (text format)
+
+ typoutputregproc
+ (references pg_proc.oid)
+
+
+ Output conversion function (text format)
+
- typreceive
- regproc
- pg_proc.oid
- Input conversion function (binary format), or 0 if none
+
+ typreceiveregproc
+ (references pg_proc.oid)
+
+
+ Input conversion function (binary format), or 0 if none
+
- typsend
- regproc
- pg_proc.oid
- Output conversion function (binary format), or 0 if none
+
+ typsendregproc
+ (references pg_proc.oid)
+
+
+ Output conversion function (binary format), or 0 if none
+
- typmodin
- regproc
- pg_proc.oid
- Type modifier input function, or 0 if type does not support modifiers
+
+ typmodinregproc
+ (references pg_proc.oid)
+
+
+ Type modifier input function, or 0 if type does not support modifiers
+
- typmodout
- regproc
- pg_proc.oid
- Type modifier output function, or 0 to use the standard format
+
+ typmodoutregproc
+ (references pg_proc.oid)
+
+
+ Type modifier output function, or 0 to use the standard format
+
- typanalyze
- regproc
- pg_proc.oid
- Custom ANALYZE function, or 0 to use the standard function
+
+ typanalyzeregproc
+ (references pg_proc.oid)
+
+
+ Custom ANALYZE function, or 0 to use the standard function
+
- typalign
- char
-
-
-
+
+ typalignchar
+
+ typalign is the alignment required
when storing a value of this type. It applies to storage on
disk as well as most representations of the value inside
@@ -7852,9 +8823,6 @@ SCRAM-SHA-256$<iteration count>:&l
inserted before a datum of this type so that it begins on the
specified boundary. The alignment reference is the beginning
of the first datum in the sequence.
-
-
-
Possible values are:
@@ -7870,21 +8838,14 @@ SCRAM-SHA-256$<iteration count>:&l
d = double alignment (8 bytes on many machines, but by no means all).
-
-
- For types used in system tables, it is critical that the size
- and alignment defined in pg_type
- agree with the way that the compiler will lay out the column in
- a structure representing a table row.
-
-
+
- typstorage
- char
-
-
+
+ typstoragechar
+
+ typstorage tells for varlena
types (those with typlen = -1) if
the type is prepared for toasting and what the default strategy
@@ -7925,20 +8886,21 @@ SCRAM-SHA-256$<iteration count>:&l
- typnotnull
- bool
-
-
+
+ typnotnullbool
+
+ typnotnull represents a not-null
constraint on a type. Used for domains only.
- typbasetype
- oid
- pg_type.oid
-
+
+ typbasetypeoid
+ (references pg_type.oid)
+
+
If this is a domain (see typtype), then
typbasetype identifies the type that this
one is based on. Zero if this type is not a domain.
@@ -7946,10 +8908,10 @@ SCRAM-SHA-256$<iteration count>:&l
- typtypmod
- int4
-
-
+
+ typtypmodint4
+
+
Domains use typtypmod to record the typmod
to be applied to their base type (-1 if base type does not use a
typmod). -1 if this type is not a domain.
@@ -7957,22 +8919,23 @@ SCRAM-SHA-256$<iteration count>:&l
- typndims
- int4
-
-
+
+ typndimsint4
+
+ typndims is the number of array dimensions
for a domain over an array (that is, typbasetype is
an array type).
Zero for types other than domains over array types.
-
+
- typcollation
- oid
- pg_collation.oid
-
+
+ typcollationoid
+ (references pg_collation.oid)
+
+ typcollation specifies the collation
of the type. If the type does not support collations, this will
be zero. A base type that supports collations will have a nonzero
@@ -7983,10 +8946,10 @@ SCRAM-SHA-256$<iteration count>:&l
- typdefaultbin
- pg_node_tree
-
-
+
+ typdefaultbinpg_node_tree
+
+
If typdefaultbin is not null, it is the
nodeToString()
representation of a default expression for the type. This is
@@ -7995,10 +8958,10 @@ SCRAM-SHA-256$<iteration count>:&l
- typdefault
- text
-
-
+
+ typdefaulttext
+
+ typdefault is null if the type has no associated
default value. If typdefaultbin is not null,
typdefault must contain a human-readable version of the
@@ -8011,17 +8974,26 @@ SCRAM-SHA-256$<iteration count>:&l
- typacl
- aclitem[]
-
-
+
+ typaclaclitem[]
+
+
Access privileges; see for details
-
+
+
+
+ For fixed-width types used in system tables, it is critical that the size
+ and alignment defined in pg_type
+ agree with the way that the compiler will lay out the column in
+ a structure representing a table row.
+
+
+
lists the system-defined values
of typcategory. Any future additions to this list will
@@ -8125,48 +9097,55 @@ SCRAM-SHA-256$<iteration count>:&l
pg_user_mapping Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- oid
- oid
-
- Row identifier
+
+ oidoid
+
+
+ Row identifier
+
- umuser
- oid
- pg_authid.oid
- OID of the local role being mapped, 0 if the user mapping is public
+
+ umuseroid
+ (references pg_authid.oid)
+
+
+ OID of the local role being mapped, 0 if the user mapping is public
+
- umserver
- oid
- pg_foreign_server.oid
-
+
+ umserveroid
+ (references pg_foreign_server.oid)
+
+
The OID of the foreign server that contains this mapping
-
+
- umoptions
- text[]
-
-
+
+ umoptionstext[]
+
+
User mapping specific options, as keyword=value strings
-
+
@@ -8394,41 +9373,55 @@ SCRAM-SHA-256$<iteration count>:&l
pg_available_extensions Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
- name
- name
- Extension name
+
+ namename
+
+
+ Extension name
+
- default_version
- text
- Name of default version, or NULL if none is
- specified
+
+ default_versiontext
+
+
+ Name of default version, or NULL if none is
+ specified
+
- installed_version
- text
- Currently installed version of the extension,
- or NULL if not installed
+
+ installed_versiontext
+
+
+ Currently installed version of the extension,
+ or NULL if not installed
+
- comment
- text
- Comment string from the extension's control file
+
+ commenttext
+
+
+ Comment string from the extension's control file
+
@@ -8456,74 +9449,103 @@ SCRAM-SHA-256$<iteration count>:&l
pg_available_extension_versions Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
- name
- name
- Extension name
+
+ namename
+
+
+ Extension name
+
- version
- text
- Version name
+
+ versiontext
+
+
+ Version name
+
- installed
- bool
- True if this version of this extension is currently
- installed
+
+ installedbool
+
+
+ True if this version of this extension is currently
+ installed
+
- superuser
- bool
- True if only superusers are allowed to install this extension
- (but see trusted)
+
+ superuserbool
+
+
+ True if only superusers are allowed to install this extension
+ (but see trusted)
+
- trusted
- bool
- True if the extension can be installed by non-superusers
- with appropriate privileges
+
+ trustedbool
+
+
+ True if the extension can be installed by non-superusers
+ with appropriate privileges
+
- relocatable
- bool
- True if extension can be relocated to another schema
+
+ relocatablebool
+
+
+ True if extension can be relocated to another schema
+
- schema
- name
- Name of the schema that the extension must be installed into,
- or NULL if partially or fully relocatable
+
+ schemaname
+
+
+ Name of the schema that the extension must be installed into,
+ or NULL if partially or fully relocatable
+
- requires
- name[]
- Names of prerequisite extensions,
- or NULL if none
+
+ requiresname[]
+
+
+ Names of prerequisite extensions,
+ or NULL if none
+
- comment
- text
- Comment string from the extension's control file
+
+ commenttext
+
+
+ Comment string from the extension's control file
+
@@ -8560,26 +9582,35 @@ SCRAM-SHA-256$<iteration count>:&l
pg_config Columns
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
- name
- text
- The parameter name
+
+ nametext
+
+
+ The parameter name
+
- setting
- text
- The parameter value
+
+ settingtext
+
+
+ The parameter value
+
@@ -8639,63 +9670,77 @@ SCRAM-SHA-256$<iteration count>:&l
pg_cursors Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
- name
- text
- The name of the cursor
+
+ nametext
+
+
+ The name of the cursor
+
- statement
- text
- The verbatim query string submitted to declare this cursor
+
+ statementtext
+
+
+ The verbatim query string submitted to declare this cursor
+
- is_holdable
- boolean
-
+
+ is_holdablebool
+
+ true if the cursor is holdable (that is, it
can be accessed after the transaction that declared the cursor
has committed); false otherwise
-
+
- is_binary
- boolean
-
+
+ is_binarybool
+
+ true if the cursor was declared
BINARY; false
otherwise
-
+
- is_scrollable
- boolean
-
+
+ is_scrollablebool
+
+ true if the cursor is scrollable (that is, it
allows rows to be retrieved in a nonsequential manner);
false otherwise
-
+
- creation_time
- timestamptz
- The time at which the cursor was declared
+
+ creation_timetimestamptz
+
+
+ The time at which the cursor was declared
+
@@ -8739,56 +9784,84 @@ SCRAM-SHA-256$<iteration count>:&l
pg_file_settings Columns
+
+
+
+
+ Column Type
+
+
+ Description
+
+
+
-
-
-
- Name
- Type
- Description
-
-
-
-
- sourcefile
- text
- Full path name of the configuration file
-
-
- sourceline
- integer
-
- Line number within the configuration file where the entry appears
-
-
-
- seqno
- integer
- Order in which the entries are processed (1..n)
-
-
- name
- text
- Configuration parameter name
-
-
- setting
- text
- Value to be assigned to the parameter
-
-
- applied
- boolean
- True if the value can be applied successfully
-
-
- error
- text
- If not null, an error message indicating why this entry could
- not be applied
-
-
-
+
+
+
+ sourcefiletext
+
+
+ Full path name of the configuration file
+
+
+
+
+
+ sourcelineint4
+
+
+ Line number within the configuration file where the entry appears
+
+
+
+
+
+ seqnoint4
+
+
+ Order in which the entries are processed (1..n)
+
+
+
+
+
+ nametext
+
+
+ Configuration parameter name
+
+
+
+
+
+ settingtext
+
+
+ Value to be assigned to the parameter
+
+
+
+
+
+ appliedbool
+
+
+ True if the value can be applied successfully
+
+
+
+
+
+ errortext
+
+
+ If not null, an error message indicating why this entry could
+ not be applied
+
+
+
+
pg_group Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- groname
- name
- pg_authid.rolname
- Name of the group
+
+ gronamename
+ (references pg_authid.rolname)
+
+
+ Name of the group
+
- grosysid
- oid
- pg_authid.oid
- ID of this group
+
+ grosysidoid
+ (references pg_authid.oid)
+
+
+ ID of this group
+
- grolist
- oid[]
- pg_authid.oid
- An array containing the IDs of the roles in this group
+
+ grolistoid[]
+ (references pg_authid.oid)
+
+
+ An array containing the IDs of the roles in this group
+
@@ -8899,72 +9982,104 @@ SCRAM-SHA-256$<iteration count>:&l
pg_hba_file_rules Columns
+
+
+
+
+ Column Type
+
+
+ Description
+
+
+
-
-
-
- Name
- Type
- Description
-
-
-
-
- line_number
- integer
-
- Line number of this rule in pg_hba.conf
-
-
-
- type
- text
- Type of connection
-
-
- database
- text[]
- List of database name(s) to which this rule applies
-
-
- user_name
- text[]
- List of user and group name(s) to which this rule applies
-
-
- address
- text
-
- Host name or IP address, or one
- of all, samehost,
- or samenet, or null for local connections
-
-
-
- netmask
- text
- IP address mask, or null if not applicable
-
-
- auth_method
- text
- Authentication method
-
-
- options
- text[]
- Options specified for authentication method, if any
-
-
- error
- text
-
- If not null, an error message indicating why this
- line could not be processed
-
-
-
-
+
+
+
+ line_numberint4
+
+
+ Line number of this rule in pg_hba.conf
+
+
+
+
+
+ typetext
+
+
+ Type of connection
+
+
+
+
+
+ databasetext[]
+
+
+ List of database name(s) to which this rule applies
+
+
+
+
+
+ user_nametext[]
+
+
+ List of user and group name(s) to which this rule applies
+
+
+
+
+
+ addresstext
+
+
+ Host name or IP address, or one
+ of all, samehost,
+ or samenet, or null for local connections
+
+
+
+
+
+ netmasktext
+
+
+ IP address mask, or null if not applicable
+
+
+
+
+
+ auth_methodtext
+
+
+ Authentication method
+
+
+
+
+
+ optionstext[]
+
+
+ Options specified for authentication method, if any
+
+
+
+
+
+ errortext
+
+
+ If not null, an error message indicating why this
+ line could not be processed
+
+
+
+
pg_indexes Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing table and index
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing table and index
+
+
- tablename
- name
- pg_class.relname
- Name of table the index is for
+
+ tablenamename
+ (references pg_class.relname)
+
+
+ Name of table the index is for
+
+
- indexname
- name
- pg_class.relname
- Name of index
+
+ indexnamename
+ (references pg_class.relname)
+
+
+ Name of index
+
+
- tablespace
- name
- pg_tablespace.spcname
- Name of tablespace containing index (null if default for database)
+
+ tablespacename
+ (references pg_tablespace.spcname)
+
+
+ Name of tablespace containing index (null if default for database)
+
+
- indexdef
- text
-
- Index definition (a reconstructed CREATE INDEX
- command)
+
+ indexdeftext
+
+
+ Index definition (a reconstructed CREATE INDEX
+ command)
+
@@ -9078,22 +10213,24 @@ SCRAM-SHA-256$<iteration count>:&l
pg_locks Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- locktype
- text
-
-
+
+ locktypetext
+
+
Type of the lockable object:
relation,
extend,
@@ -9104,129 +10241,152 @@ SCRAM-SHA-256$<iteration count>:&l
object,
userlock, or
advisory
-
+
+
- database
- oid
- pg_database.oid
-
+
+ databaseoid
+ (references pg_database.oid)
+
+
OID of the database in which the lock target exists, or
zero if the target is a shared object, or
null if the target is a transaction ID
-
+
+
- relation
- oid
- pg_class.oid
-
+
+ relationoid
+ (references pg_class.oid)
+
+
OID of the relation targeted by the lock, or null if the target is not
a relation or part of a relation
-
+
+
- page
- integer
-
-
+
+ pageint4
+
+
Page number targeted by the lock within the relation,
or null if the target is not a relation page or tuple
-
+
+
- tuple
- smallint
-
-
+
+ tupleint2
+
+
Tuple number targeted by the lock within the page,
or null if the target is not a tuple
-
+
+
- virtualxid
- text
-
-
+
+ virtualxidtext
+
+
Virtual ID of the transaction targeted by the lock,
or null if the target is not a virtual transaction ID
-
+
+
- transactionid
- xid
-
-
+
+ transactionidxid
+
+
ID of the transaction targeted by the lock,
or null if the target is not a transaction ID
-
+
+
- classid
- oid
- pg_class.oid
-
+
+ classidoid
+ (references pg_class.oid)
+
+
OID of the system catalog containing the lock target, or null if the
target is not a general database object
-
+
+
- objid
- oid
- any OID column
-
+
+ objidoid
+ (references any OID column)
+
+
OID of the lock target within its system catalog, or null if the
target is not a general database object
-
+
+
- objsubid
- smallint
-
-
+
+ objsubidint2
+
+
Column number targeted by the lock (the
classid and objid refer to the
table itself),
or zero if the target is some other general database object,
or null if the target is not a general database object
-
+
+
- virtualtransaction
- text
-
-
+
+ virtualtransactiontext
+
+
Virtual ID of the transaction that is holding or awaiting this lock
-
+
+
- pid
- integer
-
-
+
+ pidint4
+
+
Process ID of the server process holding or awaiting this
lock, or null if the lock is held by a prepared transaction
-
+
+
- mode
- text
-
- Name of the lock mode held or desired by this process (see and )
+
+ modetext
+
+
+ Name of the lock mode held or desired by this process (see and )
+
+
- granted
- boolean
-
- True if lock is held, false if lock is awaited
+
+ grantedbool
+
+
+ True if lock is held, false if lock is awaited
+
+
- fastpath
- boolean
-
- True if lock was taken via fast path, false if taken via main
- lock table
+
+ fastpathbool
+
+
+ True if lock was taken via fast path, false if taken via main
+ lock table
+
@@ -9379,58 +10539,84 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_matviews Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing materialized view
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing materialized view
+
+
- matviewname
- name
- pg_class.relname
- Name of materialized view
+
+ matviewnamename
+ (references pg_class.relname)
+
+
+ Name of materialized view
+
+
- matviewowner
- name
- pg_authid.rolname
- Name of materialized view's owner
+
+ matviewownername
+ (references pg_authid.rolname)
+
+
+ Name of materialized view's owner
+
+
- tablespace
- name
- pg_tablespace.spcname
- Name of tablespace containing materialized view (null if default for database)
+
+ tablespacename
+ (references pg_tablespace.spcname)
+
+
+ Name of tablespace containing materialized view (null if default for database)
+
+
- hasindexes
- boolean
-
- True if materialized view has (or recently had) any indexes
+
+ hasindexesbool
+
+
+ True if materialized view has (or recently had) any indexes
+
+
- ispopulated
- boolean
-
- True if materialized view is currently populated
+
+ ispopulatedbool
+
+
+ True if materialized view is currently populated
+
+
- definition
- text
-
- Materialized view definition (a reconstructed SELECT query)
+
+ definitiontext
+
+
+ Materialized view definition (a reconstructed SELECT query)
+
@@ -9452,66 +10638,94 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_policies Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing table policy is on
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing table policy is on
+
+
- tablename
- name
- pg_class.relname
- Name of table policy is on
+
+ tablenamename
+ (references pg_class.relname)
+
+
+ Name of table policy is on
+
+
- policyname
- name
- pg_policy.polname
- Name of policy
+
+ policynamename
+ (references pg_policy.polname)
+
+
+ Name of policy
+
+
- permissive
- text
-
- Is the policy permissive or restrictive?
+
+ permissivetext
+
+
+ Is the policy permissive or restrictive?
+
+
- roles
- name[]
-
- The roles to which this policy applies
+
+ rolesname[]
+
+
+ The roles to which this policy applies
+
+
- cmd
- text
-
- The command type to which the policy is applied
+
+ cmdtext
+
+
+ The command type to which the policy is applied
+
+
- qual
- text
-
- The expression added to the security barrier qualifications for
- queries that this policy applies to
+
+ qualtext
+
+
+ The expression added to the security barrier qualifications for
+ queries that this policy applies to
+
+
- with_check
- text
-
- The expression added to the WITH CHECK qualifications for
- queries that attempt to add rows to this table
+
+ with_checktext
+
+
+ The expression added to the WITH CHECK qualifications for
+ queries that attempt to add rows to this table
+
@@ -9542,61 +10756,73 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_prepared_statements Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
+
- name
- text
-
+
+ nametext
+
+
The identifier of the prepared statement
-
+
+
- statement
- text
-
+
+ statementtext
+
+
The query string submitted by the client to create this
prepared statement. For prepared statements created via SQL,
this is the PREPARE statement submitted by
the client. For prepared statements created via the
frontend/backend protocol, this is the text of the prepared
statement itself.
-
+
+
- prepare_time
- timestamptz
-
+
+ prepare_timetimestamptz
+
+
The time at which the prepared statement was created
-
+
+
- parameter_types
- regtype[]
-
+
+ parameter_typesregtype[]
+
+
The expected parameter types for the prepared statement in the
form of an array of regtype. The OID corresponding
to an element of this array can be obtained by casting the
regtype value to oid.
-
+
+
- from_sql
- boolean
-
+
+ from_sqlbool
+
+ true if the prepared statement was created
via the PREPARE SQL command;
false if the statement was prepared via the
frontend/backend protocol
-
+
@@ -9628,56 +10854,64 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_prepared_xacts Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- transaction
- xid
-
-
+
+ transactionxid
+
+
Numeric transaction identifier of the prepared transaction
-
+
+
- gid
- text
-
-
+
+ gidtext
+
+
Global transaction identifier that was assigned to the transaction
-
+
+
- prepared
- timestamp with time zone
-
-
+
+ preparedtimestamptz
+
+
Time at which the transaction was prepared for commit
-
+
+
- owner
- name
- pg_authid.rolname
-
+
+ ownername
+ (references pg_authid.rolname)
+
+
Name of the user that executed the transaction
-
+
+
- database
- name
- pg_database.datname
-
+
+ databasename
+ (references pg_database.datname)
+
+
Name of the database in which the transaction was executed
-
+
@@ -9713,37 +10947,47 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_publication_tables Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- pubname
- name
- pg_publication.pubname
- Name of publication
+
+ pubnamename
+ (references pg_publication.pubname)
+
+
+ Name of publication
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing table
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing table
+
- tablename
- name
- pg_class.relname
- Name of table
+
+ tablenamename
+ (references pg_class.relname)
+
+
+ Name of table
+
@@ -9765,50 +11009,58 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
-
pg_replication_origin_status Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- local_id
- Oid
- pg_replication_origin.roident
- internal node identifier
+
+ local_idoid
+ (references pg_replication_origin.roident)
+
+
+ internal node identifier
+
- external_id
- text
- pg_replication_origin.roname
- external node identifier
+
+ external_idtext
+ (references pg_replication_origin.roname)
+
+
+ external node identifier
+
- remote_lsn
- pg_lsn
-
- The origin node's LSN up to which data has been replicated.
+
+ remote_lsnpg_lsn
+
+
+ The origin node's LSN up to which data has been replicated.
+
- local_lsn
- pg_lsn
-
-
+
+ local_lsnpg_lsn
+
+
This node's LSN at which remote_lsn has
been replicated. Used to flush commit records before persisting
data to disk when using asynchronous commits.
-
+
@@ -9834,162 +11086,184 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
-
pg_replication_slots Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- slot_name
- name
-
- A unique, cluster-wide identifier for the replication slot
+
+ slot_namename
+
+
+ A unique, cluster-wide identifier for the replication slot
+
- plugin
- name
-
- The base name of the shared object containing the output plugin this logical slot is using, or null for physical slots.
+
+ pluginname
+
+
+ The base name of the shared object containing the output plugin this logical slot is using, or null for physical slots.
+
- slot_type
- text
-
- The slot type: physical or logical
+
+ slot_typetext
+
+
+ The slot type: physical or logical
+
- datoid
- oid
- pg_database.oid
- The OID of the database this slot is associated with, or
- null. Only logical slots have an associated database.
+
+ datoidoid
+ (references pg_database.oid)
+
+
+ The OID of the database this slot is associated with, or
+ null. Only logical slots have an associated database.
+
- database
- name
- pg_database.datname
- The name of the database this slot is associated with, or
- null. Only logical slots have an associated database.
+
+ databasename
+ (references pg_database.datname)
+
+
+ The name of the database this slot is associated with, or
+ null. Only logical slots have an associated database.
+
- temporary
- boolean
-
- True if this is a temporary replication slot. Temporary slots are
- not saved to disk and are automatically dropped on error or when
- the session has finished.
+
+ temporarybool
+
+
+ True if this is a temporary replication slot. Temporary slots are
+ not saved to disk and are automatically dropped on error or when
+ the session has finished.
+
- active
- boolean
-
- True if this slot is currently actively being used
+
+ activebool
+
+
+ True if this slot is currently actively being used
+
- active_pid
- integer
-
- The process ID of the session using this slot if the slot
+
+ active_pidint4
+
+
+ The process ID of the session using this slot if the slot
is currently actively being used. NULL if
inactive.
-
+
- xmin
- xid
-
- The oldest transaction that this slot needs the database to
- retain. VACUUM cannot remove tuples deleted
- by any later transaction.
-
+
+ xminxid
+
+
+ The oldest transaction that this slot needs the database to
+ retain. VACUUM cannot remove tuples deleted
+ by any later transaction.
+
- catalog_xmin
- xid
-
- The oldest transaction affecting the system catalogs that this
- slot needs the database to retain. VACUUM cannot
- remove catalog tuples deleted by any later transaction.
-
+
+ catalog_xminxid
+
+
+ The oldest transaction affecting the system catalogs that this
+ slot needs the database to retain. VACUUM cannot
+ remove catalog tuples deleted by any later transaction.
+
- restart_lsn
- pg_lsn
-
- The address (LSN) of oldest WAL which still
- might be required by the consumer of this slot and thus won't be
- automatically removed during checkpoints. NULL
- if the LSN of this slot has never been reserved.
-
+
+ restart_lsnpg_lsn
+
+
+ The address (LSN) of oldest WAL which still
+ might be required by the consumer of this slot and thus won't be
+ automatically removed during checkpoints. NULL
+ if the LSN of this slot has never been reserved.
+
- confirmed_flush_lsn
- pg_lsn
-
- The address (LSN) up to which the logical
- slot's consumer has confirmed receiving data. Data older than this is
- not available anymore. NULL for physical slots.
-
+
+ confirmed_flush_lsnpg_lsn
+
+
+ The address (LSN) up to which the logical
+ slot's consumer has confirmed receiving data. Data older than this is
+ not available anymore. NULL for physical slots.
+
- wal_status
- text
-
-
- Availability of WAL files claimed by this slot.
- Possible values are:
-
-
- normal means that the claimed files
- are within max_wal_size
-
-
- reserved means that max_wal_size
- is exceeded but the files are still held, either by some replication
- slot or by wal_keep_segments
-
-
- lost means that some WAL files are definitely lost
- and this slot cannot be used to resume replication anymore.
-
-
- The last two states are seen only when
- is
- non-negative. If restart_lsn is NULL, this
- field is null.
-
+
+ wal_statustext
+
+
+ Availability of WAL files claimed by this slot.
+ Possible values are:
+
+
+ normal means that the claimed files
+ are within max_wal_size.
+
+
+ reserved means
+ that max_wal_size is exceeded but the files are
+ still held, either by some replication slot or
+ by wal_keep_segments.
+
+
+ lost means that some WAL files are
+ definitely lost and this slot cannot be used to resume replication
+ anymore.
+
+
+ The last two states are seen only when
+ is
+ non-negative. If restart_lsn is NULL, this
+ field is null.
+
- min_safe_lsn
- pg_lsn
-
-
+
+ min_safe_lsnpg_lsn
+
+
The minimum LSN currently available for walsenders.
-
+
-
@@ -10012,121 +11286,141 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_roles Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- rolname
- name
-
- Role name
+
+ rolnamename
+
+
+ Role name
+
- rolsuper
- bool
-
- Role has superuser privileges
+
+ rolsuperbool
+
+
+ Role has superuser privileges
+
- rolinherit
- bool
-
- Role automatically inherits privileges of roles it is a
- member of
+
+ rolinheritbool
+
+
+ Role automatically inherits privileges of roles it is a
+ member of
+
- rolcreaterole
- bool
-
- Role can create more roles
+
+ rolcreaterolebool
+
+
+ Role can create more roles
+
- rolcreatedb
- bool
-
- Role can create databases
+
+ rolcreatedbbool
+
+
+ Role can create databases
+
- rolcanlogin
- bool
-
-
+
+ rolcanloginbool
+
+
Role can log in. That is, this role can be given as the initial
session authorization identifier
-
+
- rolreplication
- bool
-
-
+
+ rolreplicationbool
+
+
Role is a replication role. A replication role can initiate replication
connections and create and drop replication slots.
-
+
- rolconnlimit
- int4
-
-
+
+ rolconnlimitint4
+
+
For roles that can log in, this sets maximum number of concurrent
connections this role can make. -1 means no limit.
-
+
- rolpassword
- text
-
- Not the password (always reads as ********)
+
+ rolpasswordtext
+
+
+ Not the password (always reads as ********)
+
- rolvaliduntil
- timestamptz
-
- Password expiry time (only used for password authentication);
- null if no expiration
+
+ rolvaliduntiltimestamptz
+
+
+ Password expiry time (only used for password authentication);
+ null if no expiration
+
- rolbypassrls
- bool
-
-
+
+ rolbypassrlsbool
+
+
Role bypasses every row level security policy, see
for more information.
-
+
- rolconfig
- text[]
-
- Role-specific defaults for run-time configuration variables
+
+ rolconfigtext[]
+
+
+ Role-specific defaults for run-time configuration variables
+
- oid
- oid
- pg_authid.oid
- ID of role
+
+ oidoid
+ (references pg_authid.oid)
+
+
+ ID of role
+
@@ -10148,40 +11442,56 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_rules Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing table
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing table
+
+
- tablename
- name
- pg_class.relname
- Name of table the rule is for
+
+ tablenamename
+ (references pg_class.relname)
+
+
+ Name of table the rule is for
+
+
- rulename
- name
- pg_rewrite.rulename
- Name of rule
+
+ rulenamename
+ (references pg_rewrite.rulename)
+
+
+ Name of rule
+
+
- definition
- text
-
- Rule definition (a reconstructed creation command)
+
+ definitiontext
+
+
+ Rule definition (a reconstructed creation command)
+
@@ -10210,76 +11520,98 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_seclabels Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- objoid
- oid
- any OID column
- The OID of the object this security label pertains to
+
+ objoidoid
+ (references any OID column)
+
+
+ The OID of the object this security label pertains to
+
+
- classoid
- oid
- pg_class.oid
- The OID of the system catalog this object appears in
+
+ classoidoid
+ (references pg_class.oid)
+
+
+ The OID of the system catalog this object appears in
+
+
- objsubid
- int4
-
-
+
+ objsubidint4
+
+
For a security label on a table column, this is the column number (the
objoid and classoid refer to
the table itself). For all other object types, this column is
zero.
-
+
+
- objtype
- text
-
-
- The type of object to which this label applies, as text.
-
+
+ objtypetext
+
+
+ The type of object to which this label applies, as text.
+
+
- objnamespace
- oid
- pg_namespace.oid
-
+
+ objnamespaceoid
+ (references pg_namespace.oid)
+
+
The OID of the namespace for this object, if applicable;
otherwise NULL.
-
+
+
- objname
- text
-
-
+
+ objnametext
+
+
The name of the object to which this label applies, as text.
-
+
+
- provider
- text
- pg_seclabel.provider
- The label provider associated with this label.
+
+ providertext
+ (references pg_seclabel.provider)
+
+
+ The label provider associated with this label.
+
+
- label
- text
- pg_seclabel.label
- The security label applied to this object.
+
+ labeltext
+ (references pg_seclabel.label)
+
+
+ The security label applied to this object.
+
@@ -10300,87 +11632,125 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_sequences Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing sequence
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing sequence
+
+
- sequencename
- name
- pg_class.relname
- Name of sequence
+
+ sequencenamename
+ (references pg_class.relname)
+
+
+ Name of sequence
+
+
- sequenceowner
- name
- pg_authid.rolname
- Name of sequence's owner
+
+ sequenceownername
+ (references pg_authid.rolname)
+
+
+ Name of sequence's owner
+
+
- data_type
- regtype
- pg_type.oid
- Data type of the sequence
+
+ data_typeregtype
+ (references pg_type.oid)
+
+
+ Data type of the sequence
+
+
- start_value
- bigint
-
- Start value of the sequence
+
+ start_valueint8
+
+
+ Start value of the sequence
+
+
- min_value
- bigint
-
- Minimum value of the sequence
+
+ min_valueint8
+
+
+ Minimum value of the sequence
+
+
- max_value
- bigint
-
- Maximum value of the sequence
+
+ max_valueint8
+
+
+ Maximum value of the sequence
+
+
- increment_by
- bigint
-
- Increment value of the sequence
+
+ increment_byint8
+
+
+ Increment value of the sequence
+
+
- cycle
- boolean
-
- Whether the sequence cycles
+
+ cyclebool
+
+
+ Whether the sequence cycles
+
+
- cache_size
- bigint
-
- Cache size of the sequence
+
+ cache_sizeint8
+
+
+ Cache size of the sequence
+
+
- last_value
- bigint
-
- The last sequence value written to disk. If caching is used,
+
+ last_valueint8
+
+
+ The last sequence value written to disk. If caching is used,
this value can be greater than the last value handed out from the
sequence. Null if the sequence has not been read from yet. Also, if
the current user does not have USAGE
or SELECT privilege on the sequence, the value is
- null.
+ null.
+
@@ -10406,118 +11776,185 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_settings Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
+
- name
- text
- Run-time configuration parameter name
+
+ nametext
+
+
+ Run-time configuration parameter name
+
+
- setting
- text
- Current value of the parameter
+
+ settingtext
+
+
+ Current value of the parameter
+
+
- unit
- text
- Implicit unit of the parameter
+
+ unittext
+
+
+ Implicit unit of the parameter
+
+
- category
- text
- Logical group of the parameter
+
+ categorytext
+
+
+ Logical group of the parameter
+
+
- short_desc
- text
- A brief description of the parameter
+
+ short_desctext
+
+
+ A brief description of the parameter
+
+
- extra_desc
- text
- Additional, more detailed, description of the parameter
+
+ extra_desctext
+
+
+ Additional, more detailed, description of the parameter
+
+
- context
- text
- Context required to set the parameter's value (see below)
+
+ contexttext
+
+
+ Context required to set the parameter's value (see below)
+
+
- vartype
- text
- Parameter type (bool, enum,
+
+ vartypetext
+
+
+ Parameter type (bool, enum,
integer, real, or string)
-
+
+
- source
- text
- Source of the current parameter value
+
+ sourcetext
+
+
+ Source of the current parameter value
+
+
- min_val
- text
- Minimum allowed value of the parameter (null for non-numeric
- values)
+
+ min_valtext
+
+
+ Minimum allowed value of the parameter (null for non-numeric
+ values)
+
+
- max_val
- text
- Maximum allowed value of the parameter (null for non-numeric
- values)
+
+ max_valtext
+
+
+ Maximum allowed value of the parameter (null for non-numeric
+ values)
+
+
- enumvals
- text[]
- Allowed values of an enum parameter (null for non-enum
- values)
+
+ enumvalstext[]
+
+
+ Allowed values of an enum parameter (null for non-enum
+ values)
+
+
- boot_val
- text
- Parameter value assumed at server startup if the parameter is
- not otherwise set
+
+ boot_valtext
+
+
+ Parameter value assumed at server startup if the parameter is
+ not otherwise set
+
+
- reset_val
- text
- Value that RESET would reset the parameter to
- in the current session
+
+ reset_valtext
+
+
+ Value that RESET would reset the parameter to
+ in the current session
+
+
- sourcefile
- text
- Configuration file the current value was set in (null for
- values set from sources other than configuration files, or when
- examined by a user who is neither a superuser or a member of
- pg_read_all_settings); helpful when using
- include directives in configuration files
+
+ sourcefiletext
+
+
+ Configuration file the current value was set in (null for
+ values set from sources other than configuration files, or when
+ examined by a user who is neither a superuser or a member of
+ pg_read_all_settings); helpful when using
+ include directives in configuration files
+
+
- sourceline
- integer
- Line number within the configuration file the current value was
- set at (null for values set from sources other than configuration files,
- or when examined by a user who is neither a superuser or a member of
- pg_read_all_settings).
-
+
+ sourcelineint4
+
+
+ Line number within the configuration file the current value was
+ set at (null for values set from sources other than configuration files,
+ or when examined by a user who is neither a superuser or a member of
+ pg_read_all_settings).
+
+
- pending_restart
- boolean
- true if the value has been changed in the
- configuration file but needs a restart; or false
- otherwise.
-
+
+ pending_restartbool
+
+
+ true if the value has been changed in the
+ configuration file but needs a restart; or false
+ otherwise.
+
@@ -10681,87 +12118,104 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_shadow Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- usename
- name
- pg_authid.rolname
- User name
+
+ usenamename
+ (references pg_authid.rolname)
+
+
+ User name
+
- usesysid
- oid
- pg_authid.oid
- ID of this user
+
+ usesysidoid
+ (references pg_authid.oid)
+
+
+ ID of this user
+
- usecreatedb
- bool
-
- User can create databases
+
+ usecreatedbbool
+
+
+ User can create databases
+
- usesuper
- bool
-
- User is a superuser
+
+ usesuperbool
+
+
+ User is a superuser
+
- userepl
- bool
-
-
+
+ usereplbool
+
+
User can initiate streaming replication and put the system in and
out of backup mode.
-
+
- usebypassrls
- bool
-
-
+
+ usebypassrlsbool
+
+
User bypasses every row level security policy, see
for more information.
-
+
- passwd
- text
-
- Password (possibly encrypted); null if none. See
- pg_authid
- for details of how encrypted passwords are stored.
+
+ passwdtext
+
+
+ Password (possibly encrypted); null if none. See
+ pg_authid
+ for details of how encrypted passwords are stored.
+
- valuntil
- timestamptz
-
- Password expiry time (only used for password authentication)
+
+ valuntiltimestamptz
+
+
+ Password expiry time (only used for password authentication)
+
- useconfig
- text[]
-
- Session defaults for run-time configuration variables
+
+ useconfigtext[]
+
+
+ Session defaults for run-time configuration variables
+
@@ -10791,46 +12245,60 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_shmem_allocations Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
- name
- text
- The name of the shared memory allocation. NULL for unused memory
- and <anonymous> for anonymous
- allocations.
+
+ nametext
+
+
+ The name of the shared memory allocation. NULL for unused memory
+ and <anonymous> for anonymous
+ allocations.
+
- off
- bigint
- The offset at which the allocation starts. NULL for anonymous
- allocations and unused memory.
+
+ offint8
+
+
+ The offset at which the allocation starts. NULL for anonymous
+ allocations and unused memory.
+
- size
- bigint
- Size of the allocation
+
+ sizeint8
+
+
+ Size of the allocation
+
- allocated_size
- bigint
- Size of the allocation including padding. For anonymous
- allocations, no information about padding is available, so the
- size and allocated_size columns
- will always be equal. Padding is not meaningful for free memory, so
- the columns will be equal in that case also.
+
+ allocated_sizeint8
+
+
+ Size of the allocation including padding. For anonymous
+ allocations, no information about padding is available, so the
+ size and allocated_size columns
+ will always be equal. Padding is not meaningful for free memory, so
+ the columns will be equal in that case also.
+
@@ -10875,65 +12343,82 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_stats Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing table
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing table
+
- tablename
- name
- pg_class.relname
- Name of table
+
+ tablenamename
+ (references pg_class.relname)
+
+
+ Name of table
+
- attname
- name
- pg_attribute.attname
- Name of the column described by this row
+
+ attnamename
+ (references pg_attribute.attname)
+
+
+ Name of the column described by this row
+
- inherited
- bool
-
- If true, this row includes inheritance child columns, not just the
- values in the specified table
+
+ inheritedbool
+
+
+ If true, this row includes inheritance child columns, not just the
+ values in the specified table
+
- null_frac
- real
-
- Fraction of column entries that are null
+
+ null_fracfloat4
+
+
+ Fraction of column entries that are null
+
- avg_width
- integer
-
- Average width in bytes of column's entries
+
+ avg_widthint4
+
+
+ Average width in bytes of column's entries
+
- n_distinct
- real
-
-
+
+ n_distinctfloat4
+
+
If greater than zero, the estimated number of distinct values in the
column. If less than zero, the negative of the number of distinct
values divided by the number of rows. (The negated form is used when
@@ -10942,35 +12427,35 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
the column seems to have a fixed number of possible values.) For
example, -1 indicates a unique column in which the number of distinct
values is the same as the number of rows.
-
+
- most_common_vals
- anyarray
-
-
+
+ most_common_valsanyarray
+
+
A list of the most common values in the column. (Null if
no values seem to be more common than any others.)
-
+
- most_common_freqs
- real[]
-
-
+
+ most_common_freqsfloat4[]
+
+
A list of the frequencies of the most common values,
i.e., number of occurrences of each divided by total number of rows.
(Null when most_common_vals is.)
-
+
- histogram_bounds
- anyarray
-
-
+
+ histogram_boundsanyarray
+
+
A list of values that divide the column's values into groups of
approximately equal population. The values in
most_common_vals, if present, are omitted from this
@@ -10978,56 +12463,56 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
does not have a < operator or if the
most_common_vals list accounts for the entire
population.)
-
+
- correlation
- real
-
-
+
+ correlationfloat4
+
+
Statistical correlation between physical row ordering and
logical ordering of the column values. This ranges from -1 to +1.
When the value is near -1 or +1, an index scan on the column will
be estimated to be cheaper than when it is near zero, due to reduction
of random access to the disk. (This column is null if the column data
type does not have a < operator.)
-
+
- most_common_elems
- anyarray
-
-
+
+ most_common_elemsanyarray
+
+
A list of non-null element values most often appearing within values of
the column. (Null for scalar types.)
-
+
- most_common_elem_freqs
- real[]
-
-
+
+ most_common_elem_freqsfloat4[]
+
+
A list of the frequencies of the most common element values, i.e., the
fraction of rows containing at least one instance of the given value.
Two or three additional values follow the per-element frequencies;
these are the minimum and maximum of the preceding per-element
frequencies, and optionally the frequency of null elements.
(Null when most_common_elems is.)
-
+
- elem_count_histogram
- real[]
-
-
+
+ elem_count_histogramfloat4[]
+
+
A histogram of the counts of distinct non-null element values within the
values of the column, followed by the average number of distinct
non-null elements. (Null for scalar types.)
-
+
@@ -11069,71 +12554,94 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_stats_ext Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing table
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing table
+
- tablename
- name
- pg_class.relname
- Name of table
+
+ tablenamename
+ (references pg_class.relname)
+
+
+ Name of table
+
- statistics_schemaname
- name
- pg_namespace.nspname
- Name of schema containing extended statistic
+
+ statistics_schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing extended statistic
+
- statistics_name
- name
- pg_statistic_ext.stxname
- Name of extended statistics
+
+ statistics_namename
+ (references pg_statistic_ext.stxname)
+
+
+ Name of extended statistics
+
- statistics_owner
- name
- pg_authid.rolname
- Owner of the extended statistics
+
+ statistics_ownername
+ (references pg_authid.rolname)
+
+
+ Owner of the extended statistics
+
- attnames
- name[]
- pg_attribute.attname
- Names of the columns the extended statistics is defined on
+
+ attnamesname[]
+ (references pg_attribute.attname)
+
+
+ Names of the columns the extended statistics is defined on
+
- kinds
- char[]
-
- Types of extended statistics enabled for this record
+
+ kindschar[]
+
+
+ Types of extended statistics enabled for this record
+
- n_distinct
- pg_ndistinct
-
- N-distinct counts for combinations of column values. If greater
+
+ n_distinctpg_ndistinct
+
+
+ N-distinct counts for combinations of column values. If greater
than zero, the estimated number of distinct values in the combination.
If less than zero, the negative of the number of distinct values divided
by the number of rows.
@@ -11143,56 +12651,58 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
of possible values.) For example, -1 indicates a unique combination of
columns in which the number of distinct combinations is the same as the
number of rows.
-
+
- dependencies
- pg_dependencies
-
- Functional dependency statistics
+
+ dependenciespg_dependencies
+
+
+ Functional dependency statistics
+
- most_common_vals
- text[]
-
-
+
+ most_common_valstext[]
+
+
A list of the most common combinations of values in the columns.
(Null if no combinations seem to be more common than any others.)
-
+
- most_common_val_nulls
- bool[]
-
-
+
+ most_common_val_nullsbool[]
+
+
A list of NULL flags for the most common combinations of values.
(Null when most_common_vals is.)
-
+
- most_common_freqs
- float8[]
-
-
+
+ most_common_freqsfloat8[]
+
+
A list of the frequencies of the most common combinations,
i.e., number of occurrences of each divided by total number of rows.
(Null when most_common_vals is.)
-
+
- most_common_base_freqs
- float8[]
-
-
+
+ most_common_base_freqsfloat8[]
+
+
A list of the base frequencies of the most common combinations,
i.e., product of per-value frequencies.
(Null when most_common_vals is.)
-
+
@@ -11221,64 +12731,97 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_tables Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing table
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing table
+
+
- tablename
- name
- pg_class.relname
- Name of table
+
+ tablenamename
+ (references pg_class.relname)
+
+
+ Name of table
+
+
- tableowner
- name
- pg_authid.rolname
- Name of table's owner
+
+ tableownername
+ (references pg_authid.rolname)
+
+
+ Name of table's owner
+
+
- tablespace
- name
- pg_tablespace.spcname
- Name of tablespace containing table (null if default for database)
+
+ tablespacename
+ (references pg_tablespace.spcname)
+
+
+ Name of tablespace containing table (null if default for database)
+
+
- hasindexes
- boolean
- pg_class.relhasindex
- True if table has (or recently had) any indexes
+
+ hasindexesbool
+ (references pg_class.relhasindex)
+
+
+ True if table has (or recently had) any indexes
+
+
- hasrules
- boolean
- pg_class.relhasrules
- True if table has (or once had) rules
+
+ hasrulesbool
+ (references pg_class.relhasrules)
+
+
+ True if table has (or once had) rules
+
+
- hastriggers
- boolean
- pg_class.relhastriggers
- True if table has (or once had) triggers
+
+ hastriggersbool
+ (references pg_class.relhastriggers)
+
+
+ True if table has (or once had) triggers
+
+
- rowsecurity
- boolean
- pg_class.relrowsecurity
- True if row security is enabled on the table
+
+ rowsecuritybool
+ (references pg_class.relrowsecurity)
+
+
+ True if row security is enabled on the table
+
@@ -11302,30 +12845,44 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_timezone_abbrevs Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
+
- abbrev
- text
- Time zone abbreviation
+
+ abbrevtext
+
+
+ Time zone abbreviation
+
+
- utc_offset
- interval
- Offset from UTC (positive means east of Greenwich)
+
+ utc_offsetinterval
+
+
+ Offset from UTC (positive means east of Greenwich)
+
+
- is_dst
- boolean
- True if this is a daylight-savings abbreviation
+
+ is_dstbool
+
+
+ True if this is a daylight-savings abbreviation
+
@@ -11363,35 +12920,53 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_timezone_names Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
+
- name
- text
- Time zone name
+
+ nametext
+
+
+ Time zone name
+
+
- abbrev
- text
- Time zone abbreviation
+
+ abbrevtext
+
+
+ Time zone abbreviation
+
+
- utc_offset
- interval
- Offset from UTC (positive means east of Greenwich)
+
+ utc_offsetinterval
+
+
+ Offset from UTC (positive means east of Greenwich)
+
+
- is_dst
- boolean
- True if currently observing daylight savings
+
+ is_dstbool
+
+
+ True if currently observing daylight savings
+
@@ -11416,74 +12991,100 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_user Columns
-
-
+
- Name
- Type
- Description
+
+ Column Type
+
+
+ Description
+
+
- usename
- name
- User name
+
+ usenamename
+
+
+ User name
+
- usesysid
- oid
- ID of this user
+
+ usesysidoid
+
+
+ ID of this user
+
- usecreatedb
- bool
- User can create databases
+
+ usecreatedbbool
+
+
+ User can create databases
+
- usesuper
- bool
- User is a superuser
+
+ usesuperbool
+
+
+ User is a superuser
+
- userepl
- bool
-
+
+ usereplbool
+
+
User can initiate streaming replication and put the system in and
out of backup mode.
-
+
- usebypassrls
- bool
-
+
+ usebypassrlsbool
+
+
User bypasses every row level security policy, see
for more information.
-
+
- passwd
- text
- Not the password (always reads as ********)
+
+ passwdtext
+
+
+ Not the password (always reads as ********)
+
- valuntil
- timestamptz
- Password expiry time (only used for password authentication)
+
+ valuntiltimestamptz
+
+
+ Password expiry time (only used for password authentication)
+
- useconfig
- text[]
- Session defaults for run-time configuration variables
+
+ useconfigtext[]
+
+
+ Session defaults for run-time configuration variables
+
@@ -11509,64 +13110,75 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_user_mappings Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
- umid
- oid
- pg_user_mapping.oid
- OID of the user mapping
+
+ umidoid
+ (references pg_user_mapping.oid)
+
+
+ OID of the user mapping
+
- srvid
- oid
- pg_foreign_server.oid
-
+
+ srvidoid
+ (references pg_foreign_server.oid)
+
+
The OID of the foreign server that contains this mapping
-
+
- srvname
- name
- pg_foreign_server.srvname
-
+
+ srvnamename
+ (references pg_foreign_server.srvname)
+
+
Name of the foreign server
-
+
- umuser
- oid
- pg_authid.oid
- OID of the local role being mapped, 0 if the user mapping is public
+
+ umuseroid
+ (references pg_authid.oid)
+
+
+ OID of the local role being mapped, 0 if the user mapping is public
+
- usename
- name
-
- Name of the local user to be mapped
+
+ usenamename
+
+
+ Name of the local user to be mapped
+
- umoptions
- text[]
-
-
+
+ umoptionstext[]
+
+
User mapping specific options, as keyword=value strings
-
+
@@ -11613,40 +13225,56 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
pg_views Columns
-
-
+
- Name
- Type
- References
- Description
+
+ Column Type
+
+
+ Description
+
+
- schemaname
- name
- pg_namespace.nspname
- Name of schema containing view
+
+ schemanamename
+ (references pg_namespace.nspname)
+
+
+ Name of schema containing view
+
+
- viewname
- name
- pg_class.relname
- Name of view
+
+ viewnamename
+ (references pg_class.relname)
+
+
+ Name of view
+
+
- viewowner
- name
- pg_authid.rolname
- Name of view's owner
+
+ viewownername
+ (references pg_authid.rolname)
+
+
+ Name of view's owner
+
+
- definition
- text
-
- View definition (a reconstructed SELECT query)
+
+ definitiontext
+
+
+ View definition (a reconstructed SELECT query)
+
diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml
index 70ad1994f74..36ec17a4c60 100644
--- a/doc/src/sgml/information_schema.sgml
+++ b/doc/src/sgml/information_schema.sgml
@@ -151,22 +151,27 @@
- information_schema_catalog_name Columns
-
-
+ information_schema_catalog_name Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- catalog_name
- sql_identifier
- Name of the database that contains this information schema
+
+ catalog_namesql_identifier
+
+
+ Name of the database that contains this information schema
+
@@ -183,38 +188,47 @@
- administrable_role_authorizations Columns
-
-
+ administrable_role_authorizations Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- grantee
- sql_identifier
-
+
+ granteesql_identifier
+
+
Name of the role to which this role membership was granted (can
be the current user, or a different role in case of nested role
memberships)
-
+
- role_name
- sql_identifier
- Name of a role
+
+ role_namesql_identifier
+
+
+ Name of a role
+
- is_grantable
- yes_or_no
- Always YES
+
+ is_grantableyes_or_no
+
+
+ Always YES
+
@@ -235,41 +249,48 @@
- applicable_roles Columns
-
-
+ applicable_roles Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- grantee
- sql_identifier
-
+
+ granteesql_identifier
+
+
Name of the role to which this role membership was granted (can
be the current user, or a different role in case of nested role
memberships)
-
+
- role_name
- sql_identifier
- Name of a role
+
+ role_namesql_identifier
+
+
+ Name of a role
+
- is_grantable
- yes_or_no
-
+
+ is_grantableyes_or_no
+
+ YES if the grantee has the admin option on
the role, NO if not
-
+
@@ -289,149 +310,186 @@
- attributes Columns
-
-
+ attributes Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- udt_catalog
- sql_identifier
- Name of the database containing the data type (always the current database)
+
+ udt_catalogsql_identifier
+
+
+ Name of the database containing the data type (always the current database)
+
- udt_schema
- sql_identifier
- Name of the schema containing the data type
+
+ udt_schemasql_identifier
+
+
+ Name of the schema containing the data type
+
- udt_name
- sql_identifier
- Name of the data type
+
+ udt_namesql_identifier
+
+
+ Name of the data type
+
- attribute_name
- sql_identifier
- Name of the attribute
+
+ attribute_namesql_identifier
+
+
+ Name of the attribute
+
- ordinal_position
- cardinal_number
- Ordinal position of the attribute within the data type (count starts at 1)
+
+ ordinal_positioncardinal_number
+
+
+ Ordinal position of the attribute within the data type (count starts at 1)
+
- attribute_default
- character_data
- Default expression of the attribute
+
+ attribute_defaultcharacter_data
+
+
+ Default expression of the attribute
+
- is_nullable
- yes_or_no
-
+
+ is_nullableyes_or_no
+
+ YES if the attribute is possibly nullable,
NO if it is known not nullable.
-
+
- data_type
- character_data
-
+
+ data_typecharacter_data
+
+
Data type of the attribute, if it is a built-in type, or
ARRAY if it is some array (in that case, see
the view element_types), else
USER-DEFINED (in that case, the type is
identified in attribute_udt_name and
associated columns).
-
+
- character_maximum_length
- cardinal_number
-
+
+ character_maximum_lengthcardinal_number
+
+
If data_type identifies a character or bit
string type, the declared maximum length; null for all other
data types or if no maximum length was declared.
-
+
- character_octet_length
- cardinal_number
-
+
+ character_octet_lengthcardinal_number
+
+
If data_type identifies a character type,
the maximum possible length in octets (bytes) of a datum; null
for all other data types. The maximum octet length depends on
the declared character maximum length (see above) and the
server encoding.
-
+
- character_set_catalog
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ character_set_catalogsql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- character_set_schema
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ character_set_schemasql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- character_set_name
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ character_set_namesql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- collation_catalog
- sql_identifier
-
+
+ collation_catalogsql_identifier
+
+
Name of the database containing the collation of the attribute
(always the current database), null if default or the data type
of the attribute is not collatable
-
+
- collation_schema
- sql_identifier
-
+
+ collation_schemasql_identifier
+
+
Name of the schema containing the collation of the attribute,
null if default or the data type of the attribute is not
collatable
-
+
- collation_name
- sql_identifier
-
+
+ collation_namesql_identifier
+
+
Name of the collation of the attribute, null if default or the
data type of the attribute is not collatable
-
+
- numeric_precision
- cardinal_number
-
+
+ numeric_precisioncardinal_number
+
+
If data_type identifies a numeric type, this
column contains the (declared or implicit) precision of the
type for this attribute. The precision indicates the number of
@@ -439,25 +497,27 @@
or binary (base 2) terms, as specified in the column
numeric_precision_radix. For all other data
types, this column is null.
-
+
- numeric_precision_radix
- cardinal_number
-
+
+ numeric_precision_radixcardinal_number
+
+
If data_type identifies a numeric type, this
column indicates in which base the values in the columns
numeric_precision and
numeric_scale are expressed. The value is
either 2 or 10. For all other data types, this column is null.
-
+
- numeric_scale
- cardinal_number
-
+
+ numeric_scalecardinal_number
+
+
If data_type identifies an exact numeric
type, this column contains the (declared or implicit) scale of
the type for this attribute. The scale indicates the number of
@@ -466,26 +526,28 @@
specified in the column
numeric_precision_radix. For all other data
types, this column is null.
-
+
- datetime_precision
- cardinal_number
-
+
+ datetime_precisioncardinal_number
+
+
If data_type identifies a date, time,
timestamp, or interval type, this column contains the (declared
or implicit) fractional seconds precision of the type for this
attribute, that is, the number of decimal digits maintained
following the decimal point in the seconds value. For all
other data types, this column is null.
-
+
- interval_type
- character_data
-
+
+ interval_typecharacter_data
+
+
If data_type identifies an interval type,
this column contains the specification which fields the
intervals include for this attribute, e.g., YEAR TO
@@ -493,86 +555,106 @@
field restrictions were specified (that is, the interval
accepts all fields), and for all other data types, this field
is null.
-
+
- interval_precision
- cardinal_number
-
+
+ interval_precisioncardinal_number
+
+
Applies to a feature not available
in PostgreSQL
(see datetime_precision for the fractional
seconds precision of interval type attributes)
-
+
- attribute_udt_catalog
- sql_identifier
-
+
+ attribute_udt_catalogsql_identifier
+
+
Name of the database that the attribute data type is defined in
(always the current database)
-
+
- attribute_udt_schema
- sql_identifier
-
+
+ attribute_udt_schemasql_identifier
+
+
Name of the schema that the attribute data type is defined in
-
+
- attribute_udt_name
- sql_identifier
-
+
+ attribute_udt_namesql_identifier
+
+
Name of the attribute data type
-
+
- scope_catalog
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ scope_catalogsql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- scope_schema
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ scope_schemasql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- scope_name
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ scope_namesql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- maximum_cardinality
- cardinal_number
- Always null, because arrays always have unlimited maximum cardinality in PostgreSQL
+
+ maximum_cardinalitycardinal_number
+
+
+ Always null, because arrays always have unlimited maximum cardinality in PostgreSQL
+
- dtd_identifier
- sql_identifier
-
+
+ dtd_identifiersql_identifier
+
+
An identifier of the data type descriptor of the column, unique
among the data type descriptors pertaining to the table. This
is mainly useful for joining with other instances of such
identifiers. (The specific format of the identifier is not
defined and not guaranteed to remain the same in future
versions.)
-
+
- is_derived_reference_attribute
- yes_or_no
- Applies to a feature not available in PostgreSQL
+
+ is_derived_reference_attributeyes_or_no
+
+
+ Applies to a feature not available in PostgreSQL
+
@@ -647,71 +729,95 @@
- character_sets Columns
-
-
+ character_sets Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- character_set_catalog
- sql_identifier
- Character sets are currently not implemented as schema objects, so this column is null.
+
+ character_set_catalogsql_identifier
+
+
+ Character sets are currently not implemented as schema objects, so this column is null.
+
- character_set_schema
- sql_identifier
- Character sets are currently not implemented as schema objects, so this column is null.
+
+ character_set_schemasql_identifier
+
+
+ Character sets are currently not implemented as schema objects, so this column is null.
+
- character_set_name
- sql_identifier
- Name of the character set, currently implemented as showing the name of the database encoding
+
+ character_set_namesql_identifier
+
+
+ Name of the character set, currently implemented as showing the name of the database encoding
+
- character_repertoire
- sql_identifier
- Character repertoire, showing UCS if the encoding is UTF8, else just the encoding name
+
+ character_repertoiresql_identifier
+
+
+ Character repertoire, showing UCS if the encoding is UTF8, else just the encoding name
+
- form_of_use
- sql_identifier
- Character encoding form, same as the database encoding
+
+ form_of_usesql_identifier
+
+
+ Character encoding form, same as the database encoding
+
- default_collate_catalog
- sql_identifier
- Name of the database containing the default collation (always the current database, if any collation is identified)
+
+ default_collate_catalogsql_identifier
+
+
+ Name of the database containing the default collation (always the current database, if any collation is identified)
+
- default_collate_schema
- sql_identifier
- Name of the schema containing the default collation
+
+ default_collate_schemasql_identifier
+
+
+ Name of the schema containing the default collation
+
- default_collate_name
- sql_identifier
-
+
+ default_collate_namesql_identifier
+
+
Name of the default collation. The default collation is
identified as the collation that matches
the COLLATE and CTYPE
settings of the current database. If there is no such
collation, then this column and the associated schema and
catalog columns are null.
-
+
@@ -729,55 +835,72 @@
- check_constraint_routine_usage Columns
-
-
+ check_constraint_routine_usage Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- constraint_catalog
- sql_identifier
- Name of the database containing the constraint (always the current database)
+
+ constraint_catalogsql_identifier
+
+
+ Name of the database containing the constraint (always the current database)
+
- constraint_schema
- sql_identifier
- Name of the schema containing the constraint
+
+ constraint_schemasql_identifier
+
+
+ Name of the schema containing the constraint
+
- constraint_name
- sql_identifier
- Name of the constraint
+
+ constraint_namesql_identifier
+
+
+ Name of the constraint
+
- specific_catalog
- sql_identifier
- Name of the database containing the function (always the current database)
+
+ specific_catalogsql_identifier
+
+
+ Name of the database containing the function (always the current database)
+
- specific_schema
- sql_identifier
- Name of the schema containing the function
+
+ specific_schemasql_identifier
+
+
+ Name of the schema containing the function
+
- specific_name
- sql_identifier
-
- The specific name of the function. See for more information.
-
+
+ specific_namesql_identifier
+
+
+ The specific name of the function. See for more information.
+
@@ -795,40 +918,54 @@
- check_constraints Columns
-
-
+ check_constraints Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- constraint_catalog
- sql_identifier
- Name of the database containing the constraint (always the current database)
+
+ constraint_catalogsql_identifier
+
+
+ Name of the database containing the constraint (always the current database)
+
- constraint_schema
- sql_identifier
- Name of the schema containing the constraint
+
+ constraint_schemasql_identifier
+
+
+ Name of the schema containing the constraint
+
- constraint_name
- sql_identifier
- Name of the constraint
+
+ constraint_namesql_identifier
+
+
+ Name of the constraint
+
- check_clause
- character_data
- The check expression of the check constraint
+
+ check_clausecharacter_data
+
+
+ The check expression of the check constraint
+
@@ -844,43 +981,55 @@
- collations Columns
-
-
+ collations Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- collation_catalog
- sql_identifier
- Name of the database containing the collation (always the current database)
+
+ collation_catalogsql_identifier
+
+
+ Name of the database containing the collation (always the current database)
+
- collation_schema
- sql_identifier
- Name of the schema containing the collation
+
+ collation_schemasql_identifier
+
+
+ Name of the schema containing the collation
+
- collation_name
- sql_identifier
- Name of the default collation
+
+ collation_namesql_identifier
+
+
+ Name of the default collation
+
- pad_attribute
- character_data
-
+
+ pad_attributecharacter_data
+
+
Always NO PAD (The alternative PAD
SPACE is not supported by PostgreSQL.)
-
+
@@ -900,52 +1049,72 @@
- collation_character_set_applicability Columns
-
-
+ collation_character_set_applicability Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- collation_catalog
- sql_identifier
- Name of the database containing the collation (always the current database)
+
+ collation_catalogsql_identifier
+
+
+ Name of the database containing the collation (always the current database)
+
- collation_schema
- sql_identifier
- Name of the schema containing the collation
+
+ collation_schemasql_identifier
+
+
+ Name of the schema containing the collation
+
- collation_name
- sql_identifier
- Name of the default collation
+
+ collation_namesql_identifier
+
+
+ Name of the default collation
+
- character_set_catalog
- sql_identifier
- Character sets are currently not implemented as schema objects, so this column is null
+
+ character_set_catalogsql_identifier
+
+
+ Character sets are currently not implemented as schema objects, so this column is null
+
- character_set_schema
- sql_identifier
- Character sets are currently not implemented as schema objects, so this column is null
+
+ character_set_schemasql_identifier
+
+
+ Character sets are currently not implemented as schema objects, so this column is null
+
- character_set_name
- sql_identifier
- Name of the character set
+
+ character_set_namesql_identifier
+
+
+ Name of the character set
+
@@ -962,46 +1131,63 @@
- column_column_usage Columns
-
-
+ column_column_usage Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- table_catalog
- sql_identifier
- Name of the database containing the table (always the current database)
+
+ table_catalogsql_identifier
+
+
+ Name of the database containing the table (always the current database)
+
- table_schema
- sql_identifier
- Name of the schema containing the table
+
+ table_schemasql_identifier
+
+
+ Name of the schema containing the table
+
- table_name
- sql_identifier
- Name of the table
+
+ table_namesql_identifier
+
+
+ Name of the table
+
- column_name
- sql_identifier
- Name of the base column that a generated column depends on
+
+ column_namesql_identifier
+
+
+ Name of the base column that a generated column depends on
+
- dependent_column
- sql_identifier
- Name of the generated column
+
+ dependent_columnsql_identifier
+
+
+ Name of the generated column
+
@@ -1018,58 +1204,81 @@
- column_domain_usage Columns
-
-
+ column_domain_usage Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- domain_catalog
- sql_identifier
- Name of the database containing the domain (always the current database)
+
+ domain_catalogsql_identifier
+
+
+ Name of the database containing the domain (always the current database)
+
- domain_schema
- sql_identifier
- Name of the schema containing the domain
+
+ domain_schemasql_identifier
+
+
+ Name of the schema containing the domain
+
- domain_name
- sql_identifier
- Name of the domain
+
+ domain_namesql_identifier
+
+
+ Name of the domain
+
- table_catalog
- sql_identifier
- Name of the database containing the table (always the current database)
+
+ table_catalogsql_identifier
+
+
+ Name of the database containing the table (always the current database)
+
- table_schema
- sql_identifier
- Name of the schema containing the table
+
+ table_schemasql_identifier
+
+
+ Name of the schema containing the table
+
- table_name
- sql_identifier
- Name of the table
+
+ table_namesql_identifier
+
+
+ Name of the table
+
- column_name
- sql_identifier
- Name of the column
+
+ column_namesql_identifier
+
+
+ Name of the column
+
@@ -1087,52 +1296,72 @@
- column_options Columns
-
-
+ column_options Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- table_catalog
- sql_identifier
- Name of the database that contains the foreign table (always the current database)
+
+ table_catalogsql_identifier
+
+
+ Name of the database that contains the foreign table (always the current database)
+
- table_schema
- sql_identifier
- Name of the schema that contains the foreign table
+
+ table_schemasql_identifier
+
+
+ Name of the schema that contains the foreign table
+
- table_name
- sql_identifier
- Name of the foreign table
+
+ table_namesql_identifier
+
+
+ Name of the foreign table
+
- column_name
- sql_identifier
- Name of the column
+
+ column_namesql_identifier
+
+
+ Name of the column
+
- option_name
- sql_identifier
- Name of an option
+
+ option_namesql_identifier
+
+
+ Name of an option
+
- option_value
- character_data
- Value of the option
+
+ option_valuecharacter_data
+
+
+ Value of the option
+
@@ -1158,68 +1387,92 @@
- column_privileges Columns
-
-
+ column_privileges Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- grantor
- sql_identifier
- Name of the role that granted the privilege
+
+ grantorsql_identifier
+
+
+ Name of the role that granted the privilege
+
- grantee
- sql_identifier
- Name of the role that the privilege was granted to
+
+ granteesql_identifier
+
+
+ Name of the role that the privilege was granted to
+
- table_catalog
- sql_identifier
- Name of the database that contains the table that contains the column (always the current database)
+
+ table_catalogsql_identifier
+
+
+ Name of the database that contains the table that contains the column (always the current database)
+
- table_schema
- sql_identifier
- Name of the schema that contains the table that contains the column
+
+ table_schemasql_identifier
+
+
+ Name of the schema that contains the table that contains the column
+
- table_name
- sql_identifier
- Name of the table that contains the column
+
+ table_namesql_identifier
+
+
+ Name of the table that contains the column
+
- column_name
- sql_identifier
- Name of the column
+
+ column_namesql_identifier
+
+
+ Name of the column
+
- privilege_type
- character_data
-
+
+ privilege_typecharacter_data
+
+
Type of the privilege: SELECT,
INSERT, UPDATE, or
REFERENCES
-
+
- is_grantable
- yes_or_no
- YES if the privilege is grantable, NO if not
+
+ is_grantableyes_or_no
+
+
+ YES if the privilege is grantable, NO if not
+
@@ -1238,68 +1491,85 @@
- column_udt_usage Columns
-
-
+ column_udt_usage Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- udt_catalog
- sql_identifier
-
+
+ udt_catalogsql_identifier
+
+
Name of the database that the column data type (the underlying
type of the domain, if applicable) is defined in (always the
current database)
-
+
- udt_schema
- sql_identifier
-
+
+ udt_schemasql_identifier
+
+
Name of the schema that the column data type (the underlying
type of the domain, if applicable) is defined in
-
+
- udt_name
- sql_identifier
-
+
+ udt_namesql_identifier
+
+
Name of the column data type (the underlying type of the
domain, if applicable)
-
+
- table_catalog
- sql_identifier
- Name of the database containing the table (always the current database)
+
+ table_catalogsql_identifier
+
+
+ Name of the database containing the table (always the current database)
+
- table_schema
- sql_identifier
- Name of the schema containing the table
+
+ table_schemasql_identifier
+
+
+ Name of the schema containing the table
+
- table_name
- sql_identifier
- Name of the table
+
+ table_namesql_identifier
+
+
+ Name of the table
+
- column_name
- sql_identifier
- Name of the column
+
+ column_namesql_identifier
+
+
+ Name of the column
+
@@ -1318,69 +1588,91 @@
- columns Columns
-
-
+ columns Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- table_catalog
- sql_identifier
- Name of the database containing the table (always the current database)
+
+ table_catalogsql_identifier
+
+
+ Name of the database containing the table (always the current database)
+
- table_schema
- sql_identifier
- Name of the schema containing the table
+
+ table_schemasql_identifier
+
+
+ Name of the schema containing the table
+
- table_name
- sql_identifier
- Name of the table
+
+ table_namesql_identifier
+
+
+ Name of the table
+
- column_name
- sql_identifier
- Name of the column
+
+ column_namesql_identifier
+
+
+ Name of the column
+
- ordinal_position
- cardinal_number
- Ordinal position of the column within the table (count starts at 1)
+
+ ordinal_positioncardinal_number
+
+
+ Ordinal position of the column within the table (count starts at 1)
+
- column_default
- character_data
- Default expression of the column
+
+ column_defaultcharacter_data
+
+
+ Default expression of the column
+
- is_nullable
- yes_or_no
-
+
+ is_nullableyes_or_no
+
+ YES if the column is possibly nullable,
NO if it is known not nullable. A not-null
constraint is one way a column can be known not nullable, but
there can be others.
-
+
- data_type
- character_data
-
+
+ data_typecharacter_data
+
+
Data type of the column, if it is a built-in type, or
ARRAY if it is some array (in that case, see
the view element_types), else
@@ -1390,35 +1682,38 @@
refers to the type underlying the domain (and the domain is
identified in domain_name and associated
columns).
-
+
- character_maximum_length
- cardinal_number
-
+
+ character_maximum_lengthcardinal_number
+
+
If data_type identifies a character or bit
string type, the declared maximum length; null for all other
data types or if no maximum length was declared.
-
+
- character_octet_length
- cardinal_number
-
+
+ character_octet_lengthcardinal_number
+
+
If data_type identifies a character type,
the maximum possible length in octets (bytes) of a datum; null
for all other data types. The maximum octet length depends on
the declared character maximum length (see above) and the
server encoding.
-
+
- numeric_precision
- cardinal_number
-
+
+ numeric_precisioncardinal_number
+
+
If data_type identifies a numeric type, this
column contains the (declared or implicit) precision of the
type for this column. The precision indicates the number of
@@ -1426,25 +1721,27 @@
or binary (base 2) terms, as specified in the column
numeric_precision_radix. For all other data
types, this column is null.
-
+
- numeric_precision_radix
- cardinal_number
-
+
+ numeric_precision_radixcardinal_number
+
+
If data_type identifies a numeric type, this
column indicates in which base the values in the columns
numeric_precision and
numeric_scale are expressed. The value is
either 2 or 10. For all other data types, this column is null.
-
+
- numeric_scale
- cardinal_number
-
+
+ numeric_scalecardinal_number
+
+
If data_type identifies an exact numeric
type, this column contains the (declared or implicit) scale of
the type for this column. The scale indicates the number of
@@ -1453,26 +1750,28 @@
specified in the column
numeric_precision_radix. For all other data
types, this column is null.
-
+
- datetime_precision
- cardinal_number
-
+
+ datetime_precisioncardinal_number
+
+
If data_type identifies a date, time,
timestamp, or interval type, this column contains the (declared
or implicit) fractional seconds precision of the type for this
column, that is, the number of decimal digits maintained
following the decimal point in the seconds value. For all
other data types, this column is null.
-
+
- interval_type
- character_data
-
+
+ interval_typecharacter_data
+
+
If data_type identifies an interval type,
this column contains the specification which fields the
intervals include for this column, e.g., YEAR TO
@@ -1480,253 +1779,300 @@
field restrictions were specified (that is, the interval
accepts all fields), and for all other data types, this field
is null.
-
+
- interval_precision
- cardinal_number
-
+
+ interval_precisioncardinal_number
+
+
Applies to a feature not available
in PostgreSQL
(see datetime_precision for the fractional
seconds precision of interval type columns)
-
+
- character_set_catalog
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ character_set_catalogsql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- character_set_schema
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ character_set_schemasql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- character_set_name
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ character_set_namesql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- collation_catalog
- sql_identifier
-
+
+ collation_catalogsql_identifier
+
+
Name of the database containing the collation of the column
(always the current database), null if default or the data type
of the column is not collatable
-
+
- collation_schema
- sql_identifier
-
+
+ collation_schemasql_identifier
+
+
Name of the schema containing the collation of the column, null
if default or the data type of the column is not collatable
-
+
- collation_name
- sql_identifier
-
+
+ collation_namesql_identifier
+
+
Name of the collation of the column, null if default or the
data type of the column is not collatable
-
+
- domain_catalog
- sql_identifier
-
+
+ domain_catalogsql_identifier
+
+
If the column has a domain type, the name of the database that
the domain is defined in (always the current database), else
null.
-
+
- domain_schema
- sql_identifier
-
+
+ domain_schemasql_identifier
+
+
If the column has a domain type, the name of the schema that
the domain is defined in, else null.
-
+
- domain_name
- sql_identifier
- If the column has a domain type, the name of the domain, else null.
+
+ domain_namesql_identifier
+
+
+ If the column has a domain type, the name of the domain, else null.
+
- udt_catalog
- sql_identifier
-
+
+ udt_catalogsql_identifier
+
+
Name of the database that the column data type (the underlying
type of the domain, if applicable) is defined in (always the
current database)
-
+
- udt_schema
- sql_identifier
-
+
+ udt_schemasql_identifier
+
+
Name of the schema that the column data type (the underlying
type of the domain, if applicable) is defined in
-
+
- udt_name
- sql_identifier
-
+
+ udt_namesql_identifier
+
+
Name of the column data type (the underlying type of the
domain, if applicable)
-
+
- scope_catalog
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ scope_catalogsql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- scope_schema
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ scope_schemasql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- scope_name
- sql_identifier
- Applies to a feature not available in PostgreSQL
+
+ scope_namesql_identifier
+
+
+ Applies to a feature not available in PostgreSQL
+
- maximum_cardinality
- cardinal_number
- Always null, because arrays always have unlimited maximum cardinality in PostgreSQL
+
+ maximum_cardinalitycardinal_number
+
+
+ Always null, because arrays always have unlimited maximum cardinality in PostgreSQL
+
- dtd_identifier
- sql_identifier
-
+
+ dtd_identifiersql_identifier
+
+
An identifier of the data type descriptor of the column, unique
among the data type descriptors pertaining to the table. This
is mainly useful for joining with other instances of such
identifiers. (The specific format of the identifier is not
defined and not guaranteed to remain the same in future
versions.)
-
+
- is_self_referencing
- yes_or_no
- Applies to a feature not available in PostgreSQL
+
+ is_self_referencingyes_or_no
+
+
+ Applies to a feature not available in PostgreSQL
+
- is_identity
- yes_or_no
-
+
+ is_identityyes_or_no
+
+
If the column is an identity column, then YES,
else NO.
-
+
- identity_generation
- character_data
-
+
+ identity_generationcharacter_data
+
+
If the column is an identity column, then ALWAYS
or BY DEFAULT, reflecting the definition of the
column.
-
+
- identity_start
- character_data
-
+
+ identity_startcharacter_data
+
+
If the column is an identity column, then the start value of the
internal sequence, else null.
-
+
- identity_increment
- character_data
-
+
+ identity_incrementcharacter_data
+
+
If the column is an identity column, then the increment of the internal
sequence, else null.
-
+
- identity_maximum
- character_data
-
+
+ identity_maximumcharacter_data
+
+
If the column is an identity column, then the maximum value of the
internal sequence, else null.
-
+
- identity_minimum
- character_data
-
+
+ identity_minimumcharacter_data
+
+
If the column is an identity column, then the minimum value of the
internal sequence, else null.
-
+
- identity_cycle
- yes_or_no
-
+
+ identity_cycleyes_or_no
+
+
If the column is an identity column, then YES if the
internal sequence cycles or NO if it does not;
otherwise null.
-
+
- is_generated
- character_data
-
+
+ is_generatedcharacter_data
+
+
If the column is a generated column, then ALWAYS,
else NEVER.
-
+
- generation_expression
- character_data
-
+
+ generation_expressioncharacter_data
+
+
If the column is a generated column, then the generation expression,
else null.
-
+
- is_updatable
- yes_or_no
-
+
+ is_updatableyes_or_no
+
+ YES if the column is updatable,
NO if not (Columns in base tables are always
updatable, columns in views not necessarily)
-
+
@@ -1777,70 +2123,85 @@
- constraint_column_usage Columns
-
-
+ constraint_column_usage Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- table_catalog
- sql_identifier
-
+
+ table_catalogsql_identifier
+
+
Name of the database that contains the table that contains the
column that is used by some constraint (always the current
database)
-
+
- table_schema
- sql_identifier
-
+
+ table_schemasql_identifier
+
+
Name of the schema that contains the table that contains the
column that is used by some constraint
-
+
- table_name
- sql_identifier
-
+
+ table_namesql_identifier
+
+
Name of the table that contains the column that is used by some
constraint
-
+
- column_name
- sql_identifier
-
+
+ column_namesql_identifier
+
+
Name of the column that is used by some constraint
-
+
- constraint_catalog
- sql_identifier
- Name of the database that contains the constraint (always the current database)
+
+ constraint_catalogsql_identifier
+
+
+ Name of the database that contains the constraint (always the current database)
+
- constraint_schema
- sql_identifier
- Name of the schema that contains the constraint
+
+ constraint_schemasql_identifier
+
+
+ Name of the schema that contains the constraint
+
- constraint_name
- sql_identifier
- Name of the constraint
+
+ constraint_namesql_identifier
+
+
+ Name of the constraint
+
@@ -1864,58 +2225,74 @@
- constraint_table_usage Columns
-
-
+ constraint_table_usage Columns
+
- Name
- Data Type
- Description
+
+ Column Type
+
+
+ Description
+
- table_catalog
- sql_identifier
-
+
+