Re: pgsql: Track unpruned relids to avoid processing pruned relations

2025-03-03 Thread Amit Langote
On Mon, Mar 3, 2025 at 6:33 PM Robins Tharakan wrote: > On Fri, 7 Feb 2025 at 18:45, Amit Langote wrote: >> >> Track unpruned relids to avoid processing pruned relations >> > > Since this change, the SQL in the bug-report #18830 [1] segfaults reliably. > > The SQL was tested with commits as recen

Re: pgsql: Track unpruned relids to avoid processing pruned relations

2025-03-03 Thread Robins Tharakan
Hi Amit, On Fri, 7 Feb 2025 at 18:45, Amit Langote wrote: > Track unpruned relids to avoid processing pruned relations > > Since this change, the SQL in the bug-report #18830 [1] segfaults reliably. The SQL was tested with commits as recent as 15a79c7311 (2nd March), so it appears unrelated to

pgsql: Track unpruned relids to avoid processing pruned relations

2025-02-07 Thread Amit Langote
Track unpruned relids to avoid processing pruned relations This commit introduces changes to track unpruned relations explicitly, making it possible for top-level plan nodes, such as ModifyTable and LockRows, to avoid processing partitions pruned during initial pruning. Scan-level nodes, such as