pgsql: Fix handling of NULLs when merging BRIN summaries

2023-05-18 Thread Tomas Vondra
Fix handling of NULLs when merging BRIN summaries When merging BRIN summaries, union_tuples() did not correctly update the target hasnulls/allnulls flags. When merging all-NULL summary into a summary without any NULL values, the result had both flags set to false (instead of having

pgsql: Fix handling of NULLs when merging BRIN summaries

2023-05-18 Thread Tomas Vondra
Fix handling of NULLs when merging BRIN summaries When merging BRIN summaries, union_tuples() did not correctly update the target hasnulls/allnulls flags. When merging all-NULL summary into a summary without any NULL values, the result had both flags set to false (instead of having

pgsql: Fix handling of NULLs when merging BRIN summaries

2023-05-18 Thread Tomas Vondra
Fix handling of NULLs when merging BRIN summaries When merging BRIN summaries, union_tuples() did not correctly update the target hasnulls/allnulls flags. When merging all-NULL summary into a summary without any NULL values, the result had both flags set to false (instead of having

pgsql: Fix handling of NULLs when merging BRIN summaries

2023-05-18 Thread Tomas Vondra
Fix handling of NULLs when merging BRIN summaries When merging BRIN summaries, union_tuples() did not correctly update the target hasnulls/allnulls flags. When merging all-NULL summary into a summary without any NULL values, the result had both flags set to false (instead of having

pgsql: Fix handling of NULLs when merging BRIN summaries

2023-05-18 Thread Tomas Vondra
Fix handling of NULLs when merging BRIN summaries When merging BRIN summaries, union_tuples() did not correctly update the target hasnulls/allnulls flags. When merging all-NULL summary into a summary without any NULL values, the result had both flags set to false (instead of having

pgsql: Fix handling of NULLs when merging BRIN summaries

2023-05-18 Thread Tomas Vondra
Fix handling of NULLs when merging BRIN summaries When merging BRIN summaries, union_tuples() did not correctly update the target hasnulls/allnulls flags. When merging all-NULL summary into a summary without any NULL values, the result had both flags set to false (instead of having