diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index e7165bdc5d5..8b7f169d50c 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -2400,14 +2400,10 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l <entry><structfield>conbin</structfield></entry> <entry><type>pg_node_tree</type></entry> <entry></entry> - <entry>If a check constraint, an internal representation of the expression</entry> - </row> - - <row> - <entry><structfield>consrc</structfield></entry> - <entry><type>text</type></entry> - <entry></entry> - <entry>If a check constraint, a human-readable representation of the expression</entry> + <entry>If a check constraint, an internal representation of the + expression. (It's recommended to use + <function>pg_get_constraintdef()</function> to extract the definition of + a check constraint.)</entry> </row> </tbody> </tgroup> @@ -2425,15 +2421,6 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l <note> <para> - <structfield>consrc</structfield> is not updated when referenced objects - change; for example, it won't track renaming of columns. Rather than - relying on this field, it's best to use <function>pg_get_constraintdef()</function> - to extract the definition of a check constraint. - </para> - </note> - - <note> - <para> <literal>pg_class.relchecks</literal> needs to agree with the number of check-constraint entries found in this table for each relation. |