pgsql: Detect version mismatch in brin_page_items

2024-12-17 Thread Tomas Vondra
Detect version mismatch in brin_page_items Commit dae761a87ed modified brin_page_items() to return the new "empty" flag for each BRIN range. But the new output parameter was added in the middle, which may cause crashes when using the new binary with old function definition. The ideal solution wou

pgsql: Detect version mismatch in brin_page_items

2024-12-17 Thread Tomas Vondra
Detect version mismatch in brin_page_items Commit dae761a87ed modified brin_page_items() to return the new "empty" flag for each BRIN range. But the new output parameter was added in the middle, which may cause crashes when using the new binary with old function definition. The ideal solution wou