From 96b00c433cd615144a34ff1a79d691d8b297120d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 27 Oct 2018 11:45:50 +0100 Subject: Remove obsolete pg_constraint.consrc column This has been deprecated and effectively unused for a long time. Reviewed-by: Daniel Gustafsson --- doc/src/sgml/catalogs.sgml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'doc/src') 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$<iteration count>:&l conbin pg_node_tree - If a check constraint, an internal representation of the expression - - - - consrc - text - - If a check constraint, a human-readable representation of the expression + 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.) @@ -2423,15 +2419,6 @@ SCRAM-SHA-256$<iteration count>:&l index.) - - - 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 -- cgit v1.2.3