diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-06 02:07:42 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-06 02:07:42 +0000 |
commit | 6c91eef7b73b53d3fa7023f487b1ae842f4f9e4d (patch) | |
tree | b6792097ed22b40d4f91237ae9c73d6a96855019 /doc/src | |
parent | f2b604ecf43be704041ad62517e6ed9d12567103 (diff) | |
download | postgresql-6c91eef7b73b53d3fa7023f487b1ae842f4f9e4d.tar.gz postgresql-6c91eef7b73b53d3fa7023f487b1ae842f4f9e4d.zip |
Fix handling of pg_type.typdefault per bug report from Dave Blasby.
If there's anyone out there who's actually using datatype-defined
default values, this will be an incompatible change in behavior ...
but the old behavior was so broken that I doubt anyone was using it.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 39c05e24bd8..0b1ab7e2874 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,6 +1,6 @@ <!-- Documentation of the system catalogs, directed toward PostgreSQL developers - $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.22 2001/08/26 16:55:58 tgl Exp $ + $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.23 2001/09/06 02:07:41 tgl Exp $ --> <chapter id="catalogs"> @@ -243,7 +243,9 @@ <entry></entry> <entry> The initial value of the transition state. This is a text - field which will be cast to the type of aggtranstype. + field containing the initial value in its external string + representation. If the field is NULL, the transition state + value starts out NULL. </entry> </row> </tbody> @@ -2071,7 +2073,11 @@ <entry>typdefault</entry> <entry><type>text</type></entry> <entry></entry> - <entry>???</entry> + <entry><para> + <structfield>typdefault</structfield> is NULL for types without a + default value. If it's not NULL, it contains the external string + representation of the type's default value. + </para></entry> </row> </tbody> </tgroup> |