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:56 +0000
Message-ID: <E1qKBnU-000HZU-Ef@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
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/00f2a2556c9b23050e4f987e5d563b6856b83fc2
Modified Files
--------------
src/backend/parser/parse_clause.c | 1 +
src/backend/parser/parse_relation.c | 1 +
2 files changed, 2 insertions(+)
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: <E1qKBnU-000HZU-Ef@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