From fe5038236c6b99d48c2faa2247b5cec9703add2a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 27 Oct 2018 11:25:20 +0100 Subject: Remove obsolete pg_attrdef.adsrc column This has been deprecated and effectively unused for a long time. Reviewed-by: Alvaro Herrera Reviewed-by: Daniel Gustafsson --- doc/src/sgml/catalogs.sgml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 4256516c085..e7165bdc5d5 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -947,27 +947,13 @@ adbin pg_node_tree - The internal representation of the column default value - - - - adsrc - text - - A human-readable representation of the default value + The column default value, in nodeToString() + representation. Use pg_get_expr(adbin, adrelid) to + convert it to an SQL expression. - - - The adsrc field is historical, and is best - not used, because it does not track outside changes that might affect - the representation of the default value. Reverse-compiling the - adbin field (with pg_get_expr for - example) is a better way to display the default value. - - -- cgit v1.2.3