pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add missing initializations of p_perminfo
2+ messages / 1 participants
[nested] [flat]

* pgsql: Add missing initializations of p_perminfo
@ 2023-07-14 05:56  Amit Langote <amitlan@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Amit Langote @ 2023-07-14 05:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Add missing initializations of p_perminfo
@ 2023-07-14 05:56  Amit Langote <amitlan@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Amit Langote @ 2023-07-14 05:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-07-14 05:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14 05:56 pgsql: Add missing initializations of p_perminfo Amit Langote <amitlan@postgresql.org>
2023-07-14 05:56 pgsql: Add missing initializations of p_perminfo Amit Langote <amitlan@postgresql.org>

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