Обсуждение: 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:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/parser:
        analyze.c (r1.290.2.4 -> r1.290.2.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c.diff?r1=1.290.2.4&r2=1.290.2.5)