projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf1501
)
Add note deprecating use of consrc.
author
Tom Lane
<
[email protected]
>
Fri, 17 Oct 2003 00:55:17 +0000
(
00:55
+0000)
committer
Tom Lane
<
[email protected]
>
Fri, 17 Oct 2003 00:55:17 +0000
(
00:55
+0000)
doc/src/sgml/catalogs.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/catalogs.sgml
b/doc/src/sgml/catalogs.sgml
index 0b8ce3a479c8bf9bdc85d5773ea30bf767caf08a..ccfd756e171547682ec90ff88000086422fc0a84 100644
(file)
--- a/
doc/src/sgml/catalogs.sgml
+++ b/
doc/src/sgml/catalogs.sgml
@@
-1357,6
+1357,15
@@
</tgroup>
</table>
+ <note>
+ <para>
+ <structfield>consrc</structfield> 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 <function>pg_get_constraintdef()</>
+ to extract the definition of a check constraint.
+ </para>
+ </note>
+
<note>
<para>
<literal>pg_class.relchecks</literal> needs to agree with the