Re: Pgoutput not capturing the generated columns

2024-11-05 Thread Peter Smith
Hi Vignesh, I am observing some unexpected errors with the following scenario. == Tables: Publisher table: test_pub=# create table t1 (a int, b int GENERATED ALWAYS AS (a * 2) STORED); CREATE TABLE test_pub=# insert into t1 values (1); INSERT 0 1 ~ And Subscriber table: test_sub=# create t

can_partial_agg use root->processed_groupClause instead of parse->groupClause

2024-11-05 Thread jian he
static bool can_partial_agg(PlannerInfo *root) { Query *parse = root->parse; if (!parse->hasAggs && root->groupClause == NIL) { /* * We don't know how to do parallel aggregation unless we have either * some aggregates or a grouping clause. */

<    1   2