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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 616ae3d) | patch
Fix INSERT OVERRIDING USER VALUE behavior
2020年3月31日 06:40:32 +0000 (08:40 +0200)
2020年3月31日 06:50:39 +0000 (08:50 +0200)
commit de3bbfcc962f24c1a20a17b76c604e5973a05817
Fix INSERT OVERRIDING USER VALUE behavior

The original implementation disallowed using OVERRIDING USER VALUE on
identity columns defined as GENERATED ALWAYS, which is not per
standard. So allow that now.

Expand documentation and tests around this.

Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Reviewed-by: Vik Fearing <vik@postgresfriends.org>
Discussion: https://www.postgresql.org/message-id/flat/CAEZATCVrh2ufCwmzzM%3Dk_OfuLhTTPBJCdFkimst2kry4oHepuQ%40mail.gmail.com
doc/src/sgml/ref/create_table.sgml diff | blob | blame | history
doc/src/sgml/ref/insert.sgml diff | blob | blame | history
doc/src/sgml/ref/update.sgml diff | blob | blame | history
src/backend/rewrite/rewriteHandler.c diff | blob | blame | history
src/test/regress/expected/identity.out diff | blob | blame | history
src/test/regress/sql/identity.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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