From dec4ed311a2fa623eab846eb0a3ac7db8102f7a0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 17 Oct 2003 00:55:17 +0000 Subject: [PATCH] Add note deprecating use of consrc. --- doc/src/sgml/catalogs.sgml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.40.0