@@ -25,8 +25,7 @@ CREATE TABLE partman_test.template_id_taptest_table (LIKE partman_test.id_taptes
2525ALTER TABLE partman_test .id_taptest_table ADD PRIMARY KEY (col1);
2626CREATE INDEX ON partman_test .id_taptest_table (col3);
2727
28- -- TODO Add checks that these settings are in place on child tables
29- ALTER TABLE partman_test .template_id_taptest_table SET (autovacuum_vacuum_threshold = 100 );
28+ ALTER TABLE partman_test .template_id_taptest_table SET (fillfactor = 75 );
3029ALTER TABLE partman_test .template_id_taptest_table SET (toast .autovacuum_vacuum_threshold = 120 );
3130
3231-- Always create the index on the template also so that we can test excluding duplicates.
@@ -66,7 +65,7 @@ SELECT results_eq('WITH relopt AS (
6665 WHERE c.relname = ' ' id_taptest_table_p3000000000' '
6766 AND n.nspname = ' ' partman_test' '
6867)
69- SELECT count(*)::int from relopt WHERE relopt = ' ' autovacuum_vacuum_threshold=100 ' ' '
68+ SELECT count(*)::int from relopt WHERE relopt = ' ' fillfactor=75 ' ' '
7069
7170 , ARRAY[1 ]
7271 , ' Check reloptions for id_taptest_table_p3000000000 child table'
@@ -77,7 +76,7 @@ SELECT results_eq('WITH relopt AS (
7776 WHERE c.relname = ' ' id_taptest_table_p3000000030' '
7877 AND n.nspname = ' ' partman_test' '
7978)
80- SELECT count(*)::int from relopt WHERE relopt = ' ' autovacuum_vacuum_threshold=100 ' ' '
79+ SELECT count(*)::int from relopt WHERE relopt = ' ' fillfactor=75 ' ' '
8180
8281 , ARRAY[1 ]
8382 , ' Check reloptions for id_taptest_table_p3000000030 child table'
@@ -147,7 +146,7 @@ SELECT results_eq('WITH relopt AS (
147146 WHERE c.relname = ' ' id_taptest_table_p3000000070' '
148147 AND n.nspname = ' ' partman_test' '
149148)
150- SELECT count(*)::int from relopt WHERE relopt = ' ' autovacuum_vacuum_threshold=100 ' ' '
149+ SELECT count(*)::int from relopt WHERE relopt = ' ' fillfactor=75 ' ' '
151150
152151 , ARRAY[1 ]
153152 , ' Check reloptions for id_taptest_table_p3000000070 child table'
0 commit comments