Remove transformAlterTableStmt's kluge to replace ColumnDef.is_not_null
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Apr 2008 20:46:49 +0000 (20:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Apr 2008 20:46:49 +0000 (20:46 +0000)
commit3cd6ab7e69e3de5faa42091a79de14920d263f0f
treee4b19419993a7c5134f8560f8b5c11cc64a2e964
parent95de7e465769853e8cc3383a58d8fd06a95ebff9
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.
src/backend/parser/parse_utilcmd.c