From: Tom Lane Date: Fri, 17 Oct 2003 00:55:17 +0000 (+0000) Subject: Add note deprecating use of consrc. X-Git-Tag: REL7_4_BETA5~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dec4ed311a2fa623eab846eb0a3ac7db8102f7a0;p=postgresql Add note deprecating use of consrc. --- diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index f918e6f1bf..9a8e2ff455 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,6 +1,6 @@ @@ -1357,6 +1357,15 @@ + + + consrc 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 pg_get_constraintdef() + to extract the definition of a check constraint. + + + pg_class.relchecks needs to agree with the