From 6c91eef7b73b53d3fa7023f487b1ae842f4f9e4d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 6 Sep 2001 02:07:42 +0000 Subject: 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. --- doc/src/sgml/catalogs.sgml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'doc/src') 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 @@ @@ -243,7 +243,9 @@ 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. @@ -2071,7 +2073,11 @@ typdefault text - ??? + + typdefault 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. + -- cgit v1.2.3