pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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-000O9F-Uo@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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6bd18f176bd78ba3d235ec5d173288da94bbdbf1

Modified Files
--------------
src/backend/nodes/outfuncs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1oMOY6-000O9F-Uo@gemulon.postgresql.org>
Permalink:  ../E1oMOY6-000O9F-Uo@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oMOY6-000O9F-Uo@gemulon.postgresql.org

 · 

reply

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-000O9F-Uo@gemulon.postgresql.org>
  References: <E1oMOY6-000O9F-Uo@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