From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix _outConstraint() for "identity" constraints
Date: Fri, 12 Aug 2022 06:53:40 +0000
Message-ID: <E1oMOY6-000O90-S2@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Fix _outConstraint() for "identity" constraints
In-Reply-To: <E1oMOY6-000O90-S2@gemulon.postgresql.org>
References: <E1oMOY6-000O90-S2@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox