citus/src
naisila c2c9666d01 Check if there are blocks left in columnar_scan_analyze_next_block
In PG17, the outer loop in acquire_sample_rows() changed
from
while (BlockSampler_HasMore(&bs))
to
while (table_scan_analyze_next_block(scan, stream))

Relevant PG commit:
041b96802efa33d2bc9456f2ad946976b92b5ae1
041b96802e

It is expected that the scan_analyze_next_block function will
check if there are any blocks left. So we add that check in
columnar_scan_analyze_next_block

(cherry picked from commit 7eb0ad5c91)
2024-11-17 22:56:10 +03:00
..
backend Check if there are blocks left in columnar_scan_analyze_next_block 2024-11-17 22:56:10 +03:00
include PG17 compatibility: ruleutils (#7725) 2024-11-11 11:55:10 +03:00
test add pg17 build test 2024-11-17 22:56:10 +03:00