pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Langote <amitlan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add missing initializations of p_perminfo
Date: Fri, 14 Jul 2023 05:56:23 +0000
Message-ID: <E1qKBmx-000HYj-EU@gemulon.postgresql.org> (raw)

Add missing initializations of p_perminfo

In a61b1f74823, we failed to update transformFromClauseItem() and
buildNSItemFromLists() to set ParseNamespaceItem.p_perminfo causing
it to point to garbage.

Pointed out by Tom Lane.

Reported-by: Farias de Oliveira <matheusfarias519@gmail.com>
Discussion: https://postgr.es/m/3173476.1689286373%40sss.pgh.pa.us
Backpatch-through: 16

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4a7301c7ad1c504c5a3f485a1d28cfd62b3ecbb0

Modified Files
--------------
src/backend/parser/parse_clause.c   | 1 +
src/backend/parser/parse_relation.c | 1 +
2 files changed, 2 insertions(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1qKBmx-000HYj-EU@gemulon.postgresql.org>
Permalink:  ../E1qKBmx-000HYj-EU@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qKBmx-000HYj-EU@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: amitlan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add missing initializations of p_perminfo
  In-Reply-To: <E1qKBmx-000HYj-EU@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