select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.2 / 7.1
Historical version. PostgreSQL 7.1 reached end of support in April 2006. See the current manual for supported releases.

3.14. pg_relcheck

This system catalog stores CHECK constraints on tables. (Column constraints are not treated specially. Every column constraint is equivalent to some table constraint.) See under CREATE TABLE for more information.

Table 3-14. pg_relcheck Columns

Name Type References Description
rcrelid oid pg_class.oid The table this check constraint is on
rcname name   Constraint name
rcbin text   An internal representation of the constraint expression
rcsrc text   A human-readable representation of the consraint expression

Note: pg_class.relchecks needs to match up with the entries in this table.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.