Remove transformAlterTableStmt's kluge to replace ColumnDef.is_not_null

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 46e9709f48687af327a35f9129c971a148a73396
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-04-24T20:46:49Z
Releases: 8.4.0
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.

Files

PathChange+/−
src/backend/parser/parse_utilcmd.c modified +5 −24