git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2f86f14) | patch
Enforces NOT NULL constraints to be applied against new PRIMARY KEY
Thu, 2 Jan 2003 19:29:22 +0000 (19:29 +0000)
Thu, 2 Jan 2003 19:29:22 +0000 (19:29 +0000)
commit 0a02d47a113ae67b35c5fa060bac6114609f6c5b
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
src/backend/commands/indexcmds.c diff | blob | blame | history
src/backend/parser/analyze.c diff | blob | blame | history
src/test/regress/expected/alter_table.out diff | blob | blame | history
src/test/regress/expected/inherit.out diff | blob | blame | history
src/test/regress/sql/alter_table.sql diff | blob | blame | history
src/test/regress/sql/inherit.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /