File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1590,6 +1590,16 @@ Author: Peter Eisentraut <peter_e@gmx.net>
1590
1590
linkend="catalog-pg-constraint"><structname>pg_constraint</structname></link>.<structfield>consrc</structfield>
1591
1591
column (Peter Eisentraut)
1592
1592
</para>
1593
+
1594
+ <para>
1595
+ This column has been deprecated for a long time, because it did not
1596
+ update in response to other catalog changes (such as column renamings).
1597
+ The recommended way to get a text version of a check constraint's
1598
+ expression from <structname>pg_constraint</structname>
1599
+ is <literal>pg_get_expr(conbin, conrelid)</literal>.
1600
+ <function>pg_get_constraintdef()</function> is also a useful
1601
+ alternative.
1602
+ </para>
1593
1603
</listitem>
1594
1604
1595
1605
<listitem>
@@ -1603,6 +1613,14 @@ Author: Peter Eisentraut <peter_e@gmx.net>
1603
1613
linkend="catalog-pg-attrdef"><structname>pg_attrdef</structname></link>.<structfield>adsrc</structfield>
1604
1614
column (Peter Eisentraut)
1605
1615
</para>
1616
+
1617
+ <para>
1618
+ This column has been deprecated for a long time, because it did not
1619
+ update in response to other catalog changes (such as column renamings).
1620
+ The recommended way to get a text version of a default-value expression
1621
+ from <structname>pg_attrdef</structname> is <literal>pg_get_expr(adbin,
1622
+ adrelid)</literal>.
1623
+ </para>
1606
1624
</listitem>
1607
1625
1608
1626
<listitem>
You can’t perform that action at this time.
0 commit comments