pgsql: Correctly update hasSubLinks while mutating a rule action.

2023-06-13 Thread Tom Lane
Correctly update hasSubLinks while mutating a rule action. rewriteRuleAction neglected to check for SubLink nodes in the securityQuals of range table entries. This could lead to failing to convert such a SubLink to a SubPlan, resulting in assertion crashes or weird errors later in planning. In p

pgsql: Correctly update hasSubLinks while mutating a rule action.

2023-06-13 Thread Tom Lane
Correctly update hasSubLinks while mutating a rule action. rewriteRuleAction neglected to check for SubLink nodes in the securityQuals of range table entries. This could lead to failing to convert such a SubLink to a SubPlan, resulting in assertion crashes or weird errors later in planning. In p

pgsql: Correctly update hasSubLinks while mutating a rule action.

2023-06-13 Thread Tom Lane
Correctly update hasSubLinks while mutating a rule action. rewriteRuleAction neglected to check for SubLink nodes in the securityQuals of range table entries. This could lead to failing to convert such a SubLink to a SubPlan, resulting in assertion crashes or weird errors later in planning. In p

pgsql: Correctly update hasSubLinks while mutating a rule action.

2023-06-13 Thread Tom Lane
Correctly update hasSubLinks while mutating a rule action. rewriteRuleAction neglected to check for SubLink nodes in the securityQuals of range table entries. This could lead to failing to convert such a SubLink to a SubPlan, resulting in assertion crashes or weird errors later in planning. In p

pgsql: Correctly update hasSubLinks while mutating a rule action.

2023-06-13 Thread Tom Lane
Correctly update hasSubLinks while mutating a rule action. rewriteRuleAction neglected to check for SubLink nodes in the securityQuals of range table entries. This could lead to failing to convert such a SubLink to a SubPlan, resulting in assertion crashes or weird errors later in planning. In p

pgsql: Correctly update hasSubLinks while mutating a rule action.

2023-06-13 Thread Tom Lane
Correctly update hasSubLinks while mutating a rule action. rewriteRuleAction neglected to check for SubLink nodes in the securityQuals of range table entries. This could lead to failing to convert such a SubLink to a SubPlan, resulting in assertion crashes or weird errors later in planning. In p