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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ab9c433) | patch
Remove unnecessairly duplicated gram.y productions
2017年4月28日 00:14:39 +0000 (20:14 -0400)
2017年4月28日 00:14:39 +0000 (20:14 -0400)
commit b9a3ef55b253d885081c2d0e9dc45802cab71c7b
Remove unnecessairly duplicated gram.y productions

Declarative partitioning duplicated the TypedTableElement productions,
evidently to remove the need to specify WITH OPTIONS when creating
partitions. Instead, simply make WITH OPTIONS optional in the
TypedTableElement production and remove all of the duplicate
PartitionElement-related productions. This change simplifies the
syntax and makes WITH OPTIONS optional when adding defaults, constraints
or storage parameters to columns when creating either typed tables or
partitions.

Also update pg_dump to no longer include WITH OPTIONS, since it's not
necessary, and update the documentation to reflect that WITH OPTIONS is
now optional.
doc/src/sgml/ref/create_foreign_table.sgml diff | blob | blame | history
doc/src/sgml/ref/create_table.sgml diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/test/regress/expected/create_table.out diff | blob | blame | history
src/test/regress/expected/sanity_check.out diff | blob | blame | history
src/test/regress/expected/typed_table.out diff | blob | blame | history
src/test/regress/sql/create_table.sql diff | blob | blame | history
src/test/regress/sql/typed_table.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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