Include all columns in default names for foreign key constraints

Peter Eisentraut <peter@eisentraut.org>

Commit: f177660ab01e53dd5597b195dcc8526baa5cfcbd
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-03-13T13:25:42Z
Releases: 12.0
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

Files

Discussion