pgsql: Avoid rewriting data-modifying CTEs more than once.

2025-11-29 Thread Dean Rasheed
Avoid rewriting data-modifying CTEs more than once. Formerly, when updating an auto-updatable view, or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times as RewriteQuery() recursed into the product queries. In most cases t

pgsql: Avoid rewriting data-modifying CTEs more than once.

2025-11-29 Thread Dean Rasheed
Avoid rewriting data-modifying CTEs more than once. Formerly, when updating an auto-updatable view, or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times as RewriteQuery() recursed into the product queries. In most cases t

pgsql: Avoid rewriting data-modifying CTEs more than once.

2025-11-29 Thread Dean Rasheed
Avoid rewriting data-modifying CTEs more than once. Formerly, when updating an auto-updatable view, or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times as RewriteQuery() recursed into the product queries. In most cases t

pgsql: Avoid rewriting data-modifying CTEs more than once.

2025-11-29 Thread Dean Rasheed
Avoid rewriting data-modifying CTEs more than once. Formerly, when updating an auto-updatable view, or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times as RewriteQuery() recursed into the product queries. In most cases t

pgsql: Avoid rewriting data-modifying CTEs more than once.

2025-11-29 Thread Dean Rasheed
Avoid rewriting data-modifying CTEs more than once. Formerly, when updating an auto-updatable view, or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times as RewriteQuery() recursed into the product queries. In most cases t

pgsql: Avoid rewriting data-modifying CTEs more than once.

2025-11-29 Thread Dean Rasheed
Avoid rewriting data-modifying CTEs more than once. Formerly, when updating an auto-updatable view, or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times as RewriteQuery() recursed into the product queries. In most cases t