Limit index pages visited in planner's get_actual_variable_range

2024-05-01 Thread Rian McGuire
Hi hackers, It seems the get_actual_variable_range function has a long history of fixes attempting to improve its worst-case behaviour, most recently in 9c6ad5eaa95, which limited the number of heap page fetches to 100. There's currently no limit on the number of index pages fetched. We managed t

[PATCH] pg_dump: Do not dump statistics for excluded tables

2023-12-26 Thread Rian McGuire
e existing 'exclude_test_table' run. Without the fix, that causes the test to fail with: # Failed test 'exclude_test_table: should not dump CREATE STATISTICS extended_stats_no_options' # at t/002_pg_dump.pl line 4934. Regards, RianFrom 0fe06338728981fa727e3e6b99247741deda75fb Mon S