CVSROOT:	/cvsroot
Module name:	pgsql
Changes by:	tgl@postgresql.org	01/10/04 13:52:24

Modified files:
	src/backend/parser: parse_coerce.c 
	src/backend/utils/adt: format_type.c 

Log message:
	Make the world safe for atttypmod=0 ... this didn't use to mean anything,
	but timestamp now wants it to mean something.


Thu, 4 Oct 2001 13:52:25 -0400 (EDT)
tgl@postgresql.org
pgsql/src/backend parser/parse_coerce.c utils/ ...
>         src/backend/parser: parse_coerce.c
>         src/backend/utils/adt: format_type.c
> Log message:
>         Make the world safe for atttypmod=0 ... this didn't use to mean anything,
>         but timestamp now wants it to mean something.

What was the effect of this?

                       - Thomas

Thu, 04 Oct 2001 17:57:59 +0000
Thomas Lockhart <lockhart@fourpalms.org>
Re: pgsql/src/backend parser/parse_coerce.c utils/ ...
Thomas Lockhart <lockhart@fourpalms.org> writes:
>> Make the world safe for atttypmod=0 ... this didn't use to mean anything,
>> but timestamp now wants it to mean something.

> What was the effect of this?

coerce_type_typemod thought that typmod=0 meant it shouldn't perform any
length coercion.  But typmod=0 is now a valid value for timestamp ...

			regards, tom lane

Thu, 04 Oct 2001 14:06:38 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql/src/backend parser/parse_coerce.c utils/ ... 