pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix wrong construct_array_builtin() call in GUCArrayDelete()
Date: Thu, 27 Apr 2023 19:19:01 +0000
Message-ID: <E1ps78u-005D9l-7L@gemulon.postgresql.org> (raw)

Fix wrong construct_array_builtin() call in GUCArrayDelete()

The current code unintentionally uses the wrong datum to construct an array.
The bug was introduced by 096dd80f3c, so no backpatching is needed.

Reported-by: David Steele
Discussion: https://postgr.es/m/d46f9265-ff3c-6743-2278-6772598233c2%40pgmasters.net
Author: Nathan Bossart
Reviewed-by: David Steele, Tom Lane

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/db93e739ac61332126207b16f14da93f8ecac594

Modified Files
--------------
src/backend/utils/misc/guc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



Message-ID: <E1ps78u-005D9l-7L@gemulon.postgresql.org>
Permalink:  ../E1ps78u-005D9l-7L@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ps78u-005D9l-7L@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix wrong construct_array_builtin() call in GUCArrayDelete()
  In-Reply-To: <E1ps78u-005D9l-7L@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