# Checking port 29385 # Found port 29385 Name: main Version: 19devel Data directory: /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata Backup directory: /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/backup Archive directory: /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/archives Connection string: port=29385 host=/tmp/ml2dYiUz3_ Log file: /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/log/001_replan_regress_main.log [07:14:18.163](0.163s) # initializing database system by copying initdb template # Running: cp -RPp /home/postgres/postgres/build/tmp_install/initdb-template /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata # Running: /home/postgres/postgres/build/src/test/regress/pg_regress --config-auth /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata ### Starting node "main" # Running: pg_ctl --wait --pgdata /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata --log /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/log/001_replan_regress_main.log --options --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 78696 # using postmaster on /tmp/ml2dYiUz3_, port 29385 ok 1 - test_setup 1429 ms # parallel group (20 tests): name text money regproc varchar int8 float4 boolean txid char float8 pg_lsn oid int4 int2 uuid enum bit numeric rangetypes ok 2 + boolean 281 ms ok 3 + char 411 ms ok 4 + name 169 ms ok 5 + varchar 235 ms ok 6 + text 183 ms ok 7 + int2 589 ms ok 8 + int4 489 ms ok 9 + int8 246 ms ok 10 + oid 474 ms ok 11 + float4 228 ms ok 12 + float8 401 ms ok 13 + bit 800 ms ok 14 + numeric 2711 ms ok 15 + txid 298 ms ok 16 + uuid 750 ms ok 17 + enum 769 ms ok 18 + money 180 ms ok 19 + rangetypes 2927 ms ok 20 + pg_lsn 413 ms ok 21 + regproc 185 ms # parallel group (20 tests): lseg path line numerology timetz md5 macaddr8 circle point macaddr time inet date interval timestamptz timestamp polygon box strings multirangetypes ok 22 + strings 2356 ms ok 23 + md5 276 ms ok 24 + numerology 232 ms ok 25 + point 545 ms ok 26 + lseg 181 ms ok 27 + line 226 ms ok 28 + box 1626 ms ok 29 + path 188 ms ok 30 + polygon 1561 ms ok 31 + circle 402 ms ok 32 + date 743 ms ok 33 + time 645 ms ok 34 + timetz 229 ms ok 35 + timestamp 969 ms ok 36 + timestamptz 943 ms ok 37 + interval 772 ms ok 38 + inet 706 ms ok 39 + macaddr 528 ms ok 40 + macaddr8 303 ms ok 41 + multirangetypes 2725 ms # parallel group (19 tests): euc_kr pg_ndistinct misc_sanity comments encoding unicode xid oid8 expressions mvcc pg_dependencies type_sanity database tstypes geometry horology stats_import opr_sanity regex ok 42 + geometry 1388 ms ok 43 + horology 1844 ms ok 44 + tstypes 1280 ms ok 45 + regex 2660 ms ok 46 + type_sanity 1118 ms ok 47 + opr_sanity 2444 ms ok 48 + misc_sanity 244 ms ok 49 + comments 257 ms ok 50 + expressions 718 ms ok 51 + unicode 392 ms ok 52 + xid 563 ms ok 53 + mvcc 770 ms ok 54 + database 1142 ms ok 55 + stats_import 2138 ms ok 56 + pg_ndistinct 220 ms ok 57 + pg_dependencies 784 ms ok 58 + oid8 682 ms ok 59 + encoding 333 ms ok 60 + euc_kr 130 ms # parallel group (6 tests): copydml copyencoding copyselect copy insert_conflict insert ok 61 + copy 1024 ms ok 62 + copyselect 140 ms ok 63 + copydml 89 ms ok 64 + copyencoding 113 ms ok 65 + insert 2790 ms ok 66 + insert_conflict 1380 ms # parallel group (7 tests): create_function_c create_type create_operator create_procedure create_misc create_schema create_table ok 67 + create_function_c 64 ms ok 68 + create_misc 1111 ms ok 69 + create_operator 565 ms ok 70 + create_procedure 849 ms ok 71 + create_table 3673 ms ok 72 + create_type 453 ms ok 73 + create_schema 1342 ms # parallel group (5 tests): index_including index_including_gist create_index_spgist create_view create_index ok 74 + create_index 5670 ms ok 75 + create_index_spgist 1961 ms ok 76 + create_view 2357 ms ok 77 + index_including 966 ms ok 78 + index_including_gist 1669 ms # parallel group (18 tests): hash_func errors roleattributes create_am create_aggregate create_cast infinite_recurse drop_if_exists select typed_table create_property_graph create_function_sql vacuum for_portion_of constraints updatable_views inherit triggers ok 79 + create_aggregate 955 ms ok 80 + create_function_sql 3137 ms ok 81 + create_cast 1073 ms ok 82 + constraints 9055 ms ok 83 + triggers 16238 ms ok 84 + select 1479 ms ok 85 + inherit 12106 ms ok 86 + typed_table 2384 ms ok 87 + vacuum 3897 ms ok 88 + drop_if_exists 1338 ms ok 89 + updatable_views 9153 ms ok 90 + roleattributes 710 ms ok 91 + create_am 815 ms ok 92 + hash_func 342 ms ok 93 + errors 349 ms ok 94 + infinite_recurse 1276 ms ok 95 + create_property_graph 2441 ms # diff -U3 /home/postgres/postgres/src/test/regress/expected/for_portion_of.out /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/for_portion_of.out # --- /home/postgres/postgres/src/test/regress/expected/for_portion_of.out Tue May 5 07:11:28 2026 # +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/for_portion_of.out Tue May 5 07:14:47 2026 # @@ -1099,8 +1099,6 @@ # FOR PORTION OF valid_at FROM '2000-01-01' TO '2001-01-11' # SET name = 'one^3' # WHERE id = 1; # -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" # -DETAIL: Failing row contains (1, [2000-01-01,2001-01-11), one^3). # ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; # -- test inserts violating CHECK constraints # ALTER TABLE for_portion_of_test2 # @@ -1115,12 +1113,13 @@ # SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; # id | valid_at | name # ----+-------------------------+------- # - 1 | [2000-01-01,2010-01-01) | one # + 1 | [2000-01-01,2001-01-11) | one^3 # + 1 | [2001-01-11,2010-01-01) | one # 1 | [2010-01-01,2010-01-05) | one^1 # 1 | [2010-01-05,2010-01-07) | one # 1 | [2010-01-07,2010-01-09) | one^2 # 1 | [2010-01-09,2020-01-01) | one # -(5 rows) # +(6 rows) # # -- DELETE works: # DELETE FROM for_portion_of_test2 # @@ -1222,8 +1221,6 @@ # FOR PORTION OF valid_at ('{[2000-01-01,2001-01-11)}') # SET name = 'one^3' # WHERE id = 1; # -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" # -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-11)}, one^3). # ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; # -- test inserts violating CHECK constraints # ALTER TABLE for_portion_of_test2 # @@ -1233,14 +1230,15 @@ # SET name = 'one^3' # WHERE id = 1; # ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" # -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-01),[2002-02-02,2010-01-07),[2010-01-09,202..., one). # +DETAIL: Failing row contains (1, {[2002-02-02,2010-01-07),[2010-01-09,2020-01-01)}, one). # ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; # SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; # id | valid_at | name # ----+---------------------------------------------------+------- # - 1 | {[2000-01-01,2010-01-07),[2010-01-09,2020-01-01)} | one # + 1 | {[2000-01-01,2001-01-11)} | one^3 # + 1 | {[2001-01-11,2010-01-07),[2010-01-09,2020-01-01)} | one # 1 | {[2010-01-07,2010-01-09)} | one^2 # -(2 rows) # +(3 rows) # # -- DELETE works: # DELETE FROM for_portion_of_test2 not ok 96 + for_portion_of 3922 ms ok 97 - sanity_check 1013 ms # parallel group (20 tests): select_implicit select_having delete select_distinct_on case namespace select_distinct random select_into prepared_xacts portals transactions union subselect arrays update aggregates hash_index join btree_index ok 98 + select_into 1194 ms ok 99 + select_distinct 837 ms ok 100 + select_distinct_on 508 ms ok 101 + select_implicit 119 ms ok 102 + select_having 163 ms ok 103 + subselect 2890 ms ok 104 + union 2070 ms ok 105 + case 670 ms ok 106 + join 7888 ms ok 107 + aggregates 3504 ms ok 108 + transactions 1640 ms ok 109 + random 1039 ms ok 110 + portals 1538 ms ok 111 + arrays 2984 ms ok 112 + btree_index 8500 ms ok 113 + hash_index 3654 ms ok 114 + update 3455 ms ok 115 + delete 188 ms ok 116 + namespace 740 ms ok 117 + prepared_xacts 1138 ms # parallel group (20 tests): init_privs security_label drop_operator tablesample password lock object_address collate spgist groupingsets replica_identity identity gin matview gist rowsecurity generated_stored brin join_hash privileges ok 118 + brin 10348 ms ok 119 + gin 5887 ms ok 120 + gist 9337 ms ok 121 + spgist 4479 ms ok 122 + privileges 14209 ms ok 123 + init_privs 776 ms ok 124 + security_label 996 ms ok 125 + collate 2676 ms ok 126 + matview 6473 ms ok 127 + lock 2248 ms ok 128 + replica_identity 5037 ms ok 129 + rowsecurity 9337 ms ok 130 + object_address 2411 ms ok 131 + tablesample 1420 ms ok 132 + groupingsets 4626 ms ok 133 + drop_operator 1330 ms ok 134 + password 1650 ms ok 135 + identity 5603 ms ok 136 + generated_stored 10109 ms ok 137 + join_hash 10398 ms # parallel group (2 tests): brin_bloom brin_multi ok 138 + brin_bloom 583 ms ok 139 + brin_multi 3923 ms # parallel group (20 tests): async nls dbsize tidscan tidrangescan tsrf sysviews alter_operator tid collate.utf8 create_role misc misc_functions incremental_sort alter_generic merge collate.icu.utf8 create_table_like without_overlaps generated_virtual ok 140 + create_table_like 5792 ms ok 141 + alter_generic 2615 ms ok 142 + alter_operator 1167 ms ok 143 + misc 1559 ms ok 144 + async 167 ms ok 145 + dbsize 423 ms ok 146 + merge 4268 ms ok 147 + misc_functions 2128 ms ok 148 + nls 297 ms ok 149 + sysviews 1159 ms ok 150 + tsrf 1105 ms ok 151 + tid 1270 ms ok 152 + tidscan 601 ms ok 153 + tidrangescan 1058 ms ok 154 + collate.utf8 1459 ms ok 155 + collate.icu.utf8 5555 ms ok 156 + incremental_sort 2126 ms ok 157 + create_role 1481 ms ok 158 + without_overlaps 6325 ms ok 159 + generated_virtual 6856 ms # parallel group (8 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql_pipeline rules psql stats_ext ok 160 + rules 4142 ms ok 161 + psql 4402 ms ok 162 + psql_crosstab 410 ms ok 163 + psql_pipeline 517 ms ok 164 + amutils 204 ms ok 165 + stats_ext 7620 ms ok 166 + collate.linux.utf8 152 ms ok 167 + collate.windows.win1252 152 ms ok 168 - select_parallel 4098 ms ok 169 - write_parallel 976 ms ok 170 - vacuum_parallel 544 ms ok 171 - maintain_every 115 ms # parallel group (2 tests): subscription publication ok 172 + publication 7705 ms ok 173 + subscription 2187 ms # parallel group (18 tests): xmlmap combocid functional_deps advisory_lock portals_p2 dependency guc equivclass tsdicts select_views indirect_toast stats_rewrite bitmapops graph_table tsearch window foreign_data foreign_key ok 174 + select_views 1376 ms ok 175 + portals_p2 519 ms ok 176 + foreign_key 14944 ms ok 177 + dependency 710 ms ok 178 + guc 888 ms ok 179 + bitmapops 2015 ms ok 180 + combocid 339 ms ok 181 + tsearch 2947 ms ok 182 + tsdicts 1039 ms ok 183 + foreign_data 7214 ms ok 184 + window 2979 ms ok 185 + xmlmap 301 ms ok 186 + functional_deps 335 ms ok 187 + advisory_lock 437 ms ok 188 + indirect_toast 1465 ms ok 189 + equivclass 926 ms ok 190 + stats_rewrite 1619 ms ok 191 + graph_table 2892 ms # parallel group (9 tests): json_encoding jsonpath_encoding jsonpath sqljson_jsontable json sqljson_queryfuncs sqljson jsonb_jsonpath jsonb ok 192 + json 1300 ms ok 193 + jsonb 3285 ms ok 194 + json_encoding 143 ms ok 195 + jsonpath 599 ms ok 196 + jsonpath_encoding 155 ms ok 197 + jsonb_jsonpath 1706 ms ok 198 + sqljson 1685 ms ok 199 + sqljson_queryfuncs 1328 ms ok 200 + sqljson_jsontable 637 ms # parallel group (18 tests): prepare conversion plancache limit returning largeobject truncate rowtypes sequence copy2 polymorphism temp with rangefuncs domain xml plpgsql alter_table ok 201 + plancache 1255 ms ok 202 + limit 1476 ms ok 203 + plpgsql 10448 ms ok 204 + copy2 2621 ms ok 205 + temp 3205 ms ok 206 + domain 4063 ms ok 207 + rangefuncs 3885 ms ok 208 + prepare 482 ms ok 209 + conversion 1184 ms ok 210 + truncate 2033 ms ok 211 + alter_table 17251 ms ok 212 + sequence 2247 ms ok 213 + polymorphism 2931 ms ok 214 + rowtypes 2087 ms ok 215 + returning 1672 ms ok 216 + largeobject 1972 ms ok 217 + with 3821 ms ok 218 + xml 5208 ms # parallel group (18 tests): numa planner_est hash_part reloptions explain memoize predicate partition_info graph_table_rls eager_aggregate partition_aggregate stats partition_split partition_merge tuplesort partition_prune partition_join indexing ok 219 + partition_merge 7401 ms ok 220 + partition_split 6458 ms ok 221 + partition_join 11664 ms ok 222 + partition_prune 8282 ms ok 223 + reloptions 492 ms ok 224 + hash_part 266 ms ok 225 + indexing 12747 ms ok 226 + partition_aggregate 3788 ms ok 227 + partition_info 1475 ms ok 228 + tuplesort 8167 ms ok 229 + explain 614 ms ok 230 + memoize 1283 ms ok 231 + stats 5512 ms ok 232 + predicate 1375 ms ok 233 + numa 152 ms ok 234 + eager_aggregate 2257 ms ok 235 + graph_table_rls 1495 ms ok 236 + planner_est 225 ms # parallel group (4 tests): compression_pglz compression_lz4 compression cluster ok 237 + compression 2623 ms ok 238 + compression_lz4 1915 ms ok 239 + compression_pglz 268 ms ok 240 + cluster 3714 ms # parallel group (2 tests): oidjoins event_trigger ok 241 + oidjoins 1402 ms ok 242 + event_trigger 1601 ms ok 243 - event_trigger_login 165 ms ok 244 - fast_default 1886 ms ok 245 - tablespace 4638 ms 1..245 # 1 of 245 tests failed. # The differences that caused some tests to fail can be viewed in the file "/home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/regression.out". === dumping /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/regression.diffs === diff -U3 /home/postgres/postgres/src/test/regress/expected/for_portion_of.out /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/for_portion_of.out --- /home/postgres/postgres/src/test/regress/expected/for_portion_of.out Tue May 5 07:11:28 2026 +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/for_portion_of.out Tue May 5 07:14:47 2026 @@ -1099,8 +1099,6 @@ FOR PORTION OF valid_at FROM '2000-01-01' TO '2001-01-11' SET name = 'one^3' WHERE id = 1; -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" -DETAIL: Failing row contains (1, [2000-01-01,2001-01-11), one^3). ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; -- test inserts violating CHECK constraints ALTER TABLE for_portion_of_test2 @@ -1115,12 +1113,13 @@ SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; id | valid_at | name ----+-------------------------+------- - 1 | [2000-01-01,2010-01-01) | one + 1 | [2000-01-01,2001-01-11) | one^3 + 1 | [2001-01-11,2010-01-01) | one 1 | [2010-01-01,2010-01-05) | one^1 1 | [2010-01-05,2010-01-07) | one 1 | [2010-01-07,2010-01-09) | one^2 1 | [2010-01-09,2020-01-01) | one -(5 rows) +(6 rows) -- DELETE works: DELETE FROM for_portion_of_test2 @@ -1222,8 +1221,6 @@ FOR PORTION OF valid_at ('{[2000-01-01,2001-01-11)}') SET name = 'one^3' WHERE id = 1; -ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-11)}, one^3). ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; -- test inserts violating CHECK constraints ALTER TABLE for_portion_of_test2 @@ -1233,14 +1230,15 @@ SET name = 'one^3' WHERE id = 1; ERROR: new row for relation "for_portion_of_test2" violates check constraint "fpo2_check" -DETAIL: Failing row contains (1, {[2000-01-01,2001-01-01),[2002-02-02,2010-01-07),[2010-01-09,202..., one). +DETAIL: Failing row contains (1, {[2002-02-02,2010-01-07),[2010-01-09,2020-01-01)}, one). ALTER TABLE for_portion_of_test2 DROP CONSTRAINT fpo2_check; SELECT * FROM for_portion_of_test2 WHERE id = 1 ORDER BY valid_at; id | valid_at | name ----+---------------------------------------------------+------- - 1 | {[2000-01-01,2010-01-07),[2010-01-09,2020-01-01)} | one + 1 | {[2000-01-01,2001-01-11)} | one^3 + 1 | {[2001-01-11,2010-01-07),[2010-01-09,2020-01-01)} | one 1 | {[2010-01-07,2010-01-09)} | one^2 -(2 rows) +(3 rows) -- DELETE works: DELETE FROM for_portion_of_test2 === EOF === [07:17:01.303](163.140s) not ok 1 - regression tests pass [07:17:01.304](0.001s) # Failed test 'regression tests pass' # at /home/postgres/postgres/src/test/modules/test_plan_advice/t/001_replan_regress.pl line 64. [07:17:01.304](0.001s) # got: '256' # expected: '0' [07:17:01.305](0.000s) 1..1 ### Stopping node "main" using mode immediate # Running: pg_ctl --pgdata /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata --mode immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" [07:17:01.540](0.236s) # Looks like you failed 1 test of 1.