pgsql: Fix setrefs.c's failure to do expression processing on prune ste

2025-01-16 Thread Tom Lane
Fix setrefs.c's failure to do expression processing on prune steps. We should run the expression subtrees of PartitionedRelPruneInfo structs through fix_scan_expr. Failure to do so means that AlternativeSubPlans within those expressions won't be cleaned up properly, resulting in "unrecognized nod

pgsql: Fix setrefs.c's failure to do expression processing on prune ste

2025-01-16 Thread Tom Lane
Fix setrefs.c's failure to do expression processing on prune steps. We should run the expression subtrees of PartitionedRelPruneInfo structs through fix_scan_expr. Failure to do so means that AlternativeSubPlans within those expressions won't be cleaned up properly, resulting in "unrecognized nod

pgsql: Fix setrefs.c's failure to do expression processing on prune ste

2025-01-16 Thread Tom Lane
Fix setrefs.c's failure to do expression processing on prune steps. We should run the expression subtrees of PartitionedRelPruneInfo structs through fix_scan_expr. Failure to do so means that AlternativeSubPlans within those expressions won't be cleaned up properly, resulting in "unrecognized nod

pgsql: Fix setrefs.c's failure to do expression processing on prune ste

2025-01-16 Thread Tom Lane
Fix setrefs.c's failure to do expression processing on prune steps. We should run the expression subtrees of PartitionedRelPruneInfo structs through fix_scan_expr. Failure to do so means that AlternativeSubPlans within those expressions won't be cleaned up properly, resulting in "unrecognized nod

pgsql: Fix setrefs.c's failure to do expression processing on prune ste

2025-01-16 Thread Tom Lane
Fix setrefs.c's failure to do expression processing on prune steps. We should run the expression subtrees of PartitionedRelPruneInfo structs through fix_scan_expr. Failure to do so means that AlternativeSubPlans within those expressions won't be cleaned up properly, resulting in "unrecognized nod

pgsql: Fix setrefs.c's failure to do expression processing on prune ste

2025-01-16 Thread Tom Lane
Fix setrefs.c's failure to do expression processing on prune steps. We should run the expression subtrees of PartitionedRelPruneInfo structs through fix_scan_expr. Failure to do so means that AlternativeSubPlans within those expressions won't be cleaned up properly, resulting in "unrecognized nod