Re: pgsql: Fix EPQ crash from missing partition directory in EState

2025-10-18 Thread Amit Langote
On Thu, Oct 16, 2025 at 2:03 PM Amit Langote wrote: > Fix EPQ crash from missing partition directory in EState > > EvalPlanQualStart() failed to propagate es_partition_directory into > the child EState used for EPQ rechecks. When execution time partition > pruning ran during the EPQ scan, executor

pgsql: Fix EPQ crash from missing partition directory in EState

2025-10-18 Thread Amit Langote
Fix EPQ crash from missing partition directory in EState EvalPlanQualStart() failed to propagate es_partition_directory into the child EState used for EPQ rechecks. When execution time partition pruning ran during the EPQ scan, executor code dereferenced a NULL partition directory and crashed. Pr

pgsql: Fix EPQ crash from missing partition directory in EState

2025-10-15 Thread Amit Langote
Fix EPQ crash from missing partition directory in EState EvalPlanQualStart() failed to propagate es_partition_directory into the child EState used for EPQ rechecks. When execution time partition pruning ran during the EPQ scan, executor code dereferenced a NULL partition directory and crashed. Pr