Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdec4ed3

Browse files
committed
Add note deprecating use of consrc.
1 parent44430db commitdec4ed3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎doc/src/sgml/catalogs.sgml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Documentation of the system catalogs, directed toward PostgreSQL developers
3-
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.74 2003/09/12 22:17:19 tgl Exp $
3+
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.75 2003/10/17 00:55:17 tgl Exp $
44
-->
55

66
<chapter id="catalogs">
@@ -1357,6 +1357,15 @@
13571357
</tgroup>
13581358
</table>
13591359

1360+
<note>
1361+
<para>
1362+
<structfield>consrc</structfield> is not updated when referenced objects
1363+
change; for example, it won't track renaming of columns. Rather than
1364+
relying on this field, it's best to use <function>pg_get_constraintdef()</>
1365+
to extract the definition of a check constraint.
1366+
</para>
1367+
</note>
1368+
13601369
<note>
13611370
<para>
13621371
<literal>pg_class.relchecks</literal> needs to agree with the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp