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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d61d9aa) | patch
Change syntax of new CHECK NO INHERIT constraints
2012年7月24日 19:49:54 +0000 (15:49 -0400)
2012年7月24日 20:01:32 +0000 (16:01 -0400)
commit d7b47e515530520da9564b05991bd8a8c6f52b06
Change syntax of new CHECK NO INHERIT constraints

The initially implemented syntax, "CHECK NO INHERIT (expr)" was not
deemed very good, so switch to "CHECK (expr) NO INHERIT" instead. This
way it looks similar to SQL-standards compliant constraint attribute.

Backport to 9.2 where the new syntax and feature was introduced.

Per discussion.
12 files changed:
doc/src/sgml/ref/alter_table.sgml diff | blob | blame | history
doc/src/sgml/ref/create_table.sgml diff | blob | blame | history
doc/src/sgml/release-9.2.sgml diff | blob | blame | history
src/backend/commands/typecmds.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/backend/utils/adt/ruleutils.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/input/constraints.source diff | blob | blame | history
src/test/regress/output/constraints.source 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 によって変換されたページ (->オリジナル) /