Обсуждение: pgsql: transformColumnDefinition failed to complain about create table

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

pgsql: transformColumnDefinition failed to complain about create table

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
transformColumnDefinition failed to complain about
    create table foo (bar int default null default 3);
due to not thinking about the special-case handling of DEFAULT NULL.
Problem noticed while investigating bug #3396.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/parser:
        analyze.c (r1.326.2.3 -> r1.326.2.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c.diff?r1=1.326.2.3&r2=1.326.2.4)