| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix _outConstraint() for "identity" constraints |
| Date: | 2022-08-12 06:53:40 |
| Message-ID: | E1oMOY6-000O90-S2@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix _outConstraint() for "identity" constraints
The set of fields printed by _outConstraint() in the CONSTR_IDENTITY
case didn't match the set of fields actually used in that case. (The
code was probably uncarefully copied from the CONSTR_DEFAULT case.)
Fix that by using the right set of fields. Since there is no read
support for this node type, this is really just for debugging output
right now, so it doesn't affect anything important.
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/e1878cf94134429bf951b41ed523363c2fa2d6b4
Modified Files
--------------
src/backend/nodes/outfuncs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2022-08-12 10:28:06 | pgsql: Reject MERGE in CTEs and COPY |
| Previous Message | Amit Kapila | 2022-08-12 06:12:08 | pgsql: Back-Patch "Add wait_for_subscription_sync for TAP tests." |