pgsql: Remove transformAlterTableStmt's kluge to replace - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Remove transformAlterTableStmt's kluge to replace
Date
Msg-id 20080424204649.D42D87559CC@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Remove transformAlterTableStmt's kluge to replace ColumnDef.is_not_null
flags by separate AT_SetNotNull subcommands.  That was always ugly and
inefficient, and it's now clear that it was merely a partial workaround
for the bug just identified in ATExecAddColumn.  This is just code
beautification not a bug fix, so no back-patch.

Brendan Jurd, with some trivial additional cleanup by me.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_utilcmd.c (r2.11 -> r2.12)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_utilcmd.c?r1=2.11&r2=2.12)

pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update: < * Allow adding enumerated values to an existing
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update TODO item: > * Allow adding/renaming/removing enumerated