CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 03/01/02 14:29:22
Modified files:
src/backend/commands: indexcmds.c
src/backend/parser: analyze.c
src/test/regress/expected: alter_table.out inherit.out
src/test/regress/sql: alter_table.sql inherit.sql
Log message:
Enforces NOT NULL constraints to be applied against new PRIMARY KEY
columns in DefineIndex. So, ALTER TABLE ... PRIMARY KEY will now
automatically add the NOT NULL constraint. It appeared the alter_table
regression test wanted this to occur, as after the change the regression
test better matched in inline 'fails'/'succeeds' comments.
Rod Taylor