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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bbb96c3) | patch
Include all columns in default names for foreign key constraints
2019年3月13日 13:15:37 +0000 (14:15 +0100)
2019年3月13日 13:25:42 +0000 (14:25 +0100)
commit f177660ab01e53dd5597b195dcc8526baa5cfcbd
Include all columns in default names for foreign key constraints

When creating a name for a foreign key constraint when none is
specified, use all column names instead of only the first one, similar
to how it is already done for index names.

Author: Paul Martinez <hellopfm@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/CAF+2_SFjky6XRfLNRXpkG97W6PRbOO_mjAxqXzAAimU=c7w7_A@mail.gmail.com
src/backend/commands/indexcmds.c diff | blob | blame | history
src/backend/commands/statscmds.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/test/regress/expected/alter_table.out diff | blob | blame | history
src/test/regress/expected/foreign_key.out diff | blob | blame | history
src/test/regress/expected/rules.out diff | blob | blame | history
src/test/regress/sql/foreign_key.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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