Add missing initializations of p_perminfo
Amit Langote <amitlan@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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/parse_clause.c | modified | +1 −0 |
| src/backend/parser/parse_relation.c | modified | +1 −0 |
Discussion
- In Postgres 16 BETA, should the ParseNamespaceItem have the same index as it's RangeTableEntry? 10 messages · 2023-07-13 → 2023-07-28