pgsql: Fix missed copying of groupDistinct in transformPLAssignStmt.

2025-09-27 Thread Tom Lane
Fix missed copying of groupDistinct in transformPLAssignStmt. Because we failed to do this, DISTINCT in GROUP BY DISTINCT would be ignored in PL/pgSQL assignment statements. It's not surprising that no one noticed, since such statements will throw an error if the query produces more than one row.

pgsql: Fix missed copying of groupDistinct in transformPLAssignStmt.

2025-09-27 Thread Tom Lane
Fix missed copying of groupDistinct in transformPLAssignStmt. Because we failed to do this, DISTINCT in GROUP BY DISTINCT would be ignored in PL/pgSQL assignment statements. It's not surprising that no one noticed, since such statements will throw an error if the query produces more than one row.

pgsql: Fix missed copying of groupDistinct in transformPLAssignStmt.

2025-09-27 Thread Tom Lane
Fix missed copying of groupDistinct in transformPLAssignStmt. Because we failed to do this, DISTINCT in GROUP BY DISTINCT would be ignored in PL/pgSQL assignment statements. It's not surprising that no one noticed, since such statements will throw an error if the query produces more than one row.

pgsql: Fix missed copying of groupDistinct in transformPLAssignStmt.

2025-09-27 Thread Tom Lane
Fix missed copying of groupDistinct in transformPLAssignStmt. Because we failed to do this, DISTINCT in GROUP BY DISTINCT would be ignored in PL/pgSQL assignment statements. It's not surprising that no one noticed, since such statements will throw an error if the query produces more than one row.

pgsql: Fix missed copying of groupDistinct in transformPLAssignStmt.

2025-09-27 Thread Tom Lane
Fix missed copying of groupDistinct in transformPLAssignStmt. Because we failed to do this, DISTINCT in GROUP BY DISTINCT would be ignored in PL/pgSQL assignment statements. It's not surprising that no one noticed, since such statements will throw an error if the query produces more than one row.

pgsql: Fix missed copying of groupDistinct in transformPLAssignStmt.

2025-09-27 Thread Tom Lane
Fix missed copying of groupDistinct in transformPLAssignStmt. Because we failed to do this, DISTINCT in GROUP BY DISTINCT would be ignored in PL/pgSQL assignment statements. It's not surprising that no one noticed, since such statements will throw an error if the query produces more than one row.