Обсуждение: Re: [COMMITTERS] pgsql/src/backend parser/parse_coerce.c utils/ ...

Поиск
Список
Период
Сортировка

Re: [COMMITTERS] pgsql/src/backend parser/parse_coerce.c utils/ ...

От
Thomas Lockhart
Дата:
>         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

Re: [COMMITTERS] pgsql/src/backend parser/parse_coerce.c utils/ ...

От
Tom Lane
Дата:
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