# Checking port 11629 # Found port 11629 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=11629 host=/tmp/yxoEW_DCz4 Log file: /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/log/001_replan_regress_main.log [07:14:34.804](0.034s) # 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 10059 # using postmaster on /tmp/yxoEW_DCz4, port 11629 ok 1 - test_setup 500 ms # parallel group (20 tests): oid varchar text int4 txid pg_lsn int8 boolean name regproc char money float4 int2 float8 uuid bit enum rangetypes numeric ok 2 + boolean 171 ms ok 3 + char 215 ms ok 4 + name 190 ms ok 5 + varchar 36 ms ok 6 + text 51 ms ok 7 + int2 304 ms ok 8 + int4 66 ms ok 9 + int8 161 ms ok 10 + oid 20 ms ok 11 + float4 216 ms ok 12 + float8 300 ms ok 13 + bit 418 ms ok 14 + numeric 1460 ms ok 15 + txid 70 ms ok 16 + uuid 304 ms ok 17 + enum 545 ms ok 18 + money 182 ms ok 19 + rangetypes 662 ms ok 20 + pg_lsn 76 ms ok 21 + regproc 169 ms # parallel group (20 tests): circle point line numerology timetz md5 path time lseg macaddr8 macaddr strings inet timestamp date timestamptz polygon interval box multirangetypes ok 22 + strings 597 ms ok 23 + md5 172 ms ok 24 + numerology 143 ms ok 25 + point 87 ms ok 26 + lseg 520 ms ok 27 + line 131 ms ok 28 + box 2407 ms ok 29 + path 416 ms ok 30 + polygon 1274 ms ok 31 + circle 66 ms ok 32 + date 828 ms ok 33 + time 487 ms ok 34 + timetz 161 ms ok 35 + timestamp 821 ms ok 36 + timestamptz 1157 ms ok 37 + interval 1488 ms ok 38 + inet 613 ms ok 39 + macaddr 541 ms ok 40 + macaddr8 523 ms ok 41 + multirangetypes 2745 ms # parallel group (19 tests): encoding euc_kr comments misc_sanity oid8 pg_ndistinct unicode xid horology pg_dependencies tstypes geometry type_sanity mvcc expressions database opr_sanity regex stats_import ok 42 + geometry 538 ms ok 43 + horology 399 ms ok 44 + tstypes 537 ms ok 45 + regex 2086 ms ok 46 + type_sanity 582 ms ok 47 + opr_sanity 1815 ms ok 48 + misc_sanity 239 ms ok 49 + comments 132 ms ok 50 + expressions 647 ms ok 51 + unicode 290 ms ok 52 + xid 315 ms ok 53 + mvcc 632 ms ok 54 + database 1709 ms ok 55 + stats_import 2136 ms ok 56 + pg_ndistinct 283 ms ok 57 + pg_dependencies 445 ms ok 58 + oid8 256 ms ok 59 + encoding 91 ms ok 60 + euc_kr 92 ms # parallel group (6 tests): copyencoding copyselect copydml copy insert_conflict insert ok 61 + copy 1915 ms ok 62 + copyselect 1090 ms ok 63 + copydml 1140 ms ok 64 + copyencoding 79 ms ok 65 + insert 3115 ms ok 66 + insert_conflict 2985 ms # parallel group (7 tests): create_operator create_type create_procedure create_function_c create_schema create_misc create_table ok 67 + create_function_c 461 ms ok 68 + create_misc 608 ms ok 69 + create_operator 81 ms ok 70 + create_procedure 281 ms ok 71 + create_table 1291 ms ok 72 + create_type 194 ms ok 73 + create_schema 483 ms # parallel group (5 tests): create_index_spgist index_including index_including_gist create_view create_index ok 74 + create_index 6406 ms ok 75 + create_index_spgist 2396 ms ok 76 + create_view 3712 ms ok 77 + index_including 2463 ms ok 78 + index_including_gist 2973 ms # parallel group (18 tests): create_aggregate errors roleattributes create_cast drop_if_exists select hash_func create_property_graph create_function_sql typed_table create_am infinite_recurse vacuum for_portion_of constraints updatable_views inherit triggers ok 79 + create_aggregate 180 ms ok 80 + create_function_sql 911 ms ok 81 + create_cast 305 ms ok 82 + constraints 5944 ms ok 83 + triggers 8884 ms ok 84 + select 378 ms ok 85 + inherit 8278 ms ok 86 + typed_table 949 ms ok 87 + vacuum 3241 ms ok 88 + drop_if_exists 332 ms ok 89 + updatable_views 6758 ms ok 90 + roleattributes 295 ms ok 91 + create_am 1488 ms ok 92 + hash_func 392 ms ok 93 + errors 211 ms ok 94 + infinite_recurse 1631 ms ok 95 + create_property_graph 642 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 2026-05-05 07:12:29.328544742 +0000 # +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/for_portion_of.out 2026-05-05 07:14:58.162694638 +0000 # @@ -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 5026 ms ok 97 - sanity_check 446 ms # parallel group (20 tests): delete select_having case select_distinct_on select_into namespace select_distinct select_implicit transactions prepared_xacts random arrays union portals update subselect hash_index aggregates join btree_index ok 98 + select_into 349 ms ok 99 + select_distinct 404 ms ok 100 + select_distinct_on 281 ms ok 101 + select_implicit 457 ms ok 102 + select_having 172 ms ok 103 + subselect 2827 ms ok 104 + union 1534 ms ok 105 + case 270 ms ok 106 + join 5118 ms ok 107 + aggregates 4310 ms ok 108 + transactions 840 ms ok 109 + random 1149 ms ok 110 + portals 1541 ms ok 111 + arrays 1337 ms ok 112 + btree_index 5991 ms ok 113 + hash_index 3105 ms ok 114 + update 2719 ms ok 115 + delete 89 ms ok 116 + namespace 397 ms ok 117 + prepared_xacts 1131 ms # parallel group (20 tests): init_privs drop_operator tablesample security_label lock object_address collate password replica_identity gin groupingsets matview identity spgist gist generated_stored rowsecurity join_hash brin privileges ok 118 + brin 12261 ms ok 119 + gin 1777 ms ok 120 + gist 4879 ms ok 121 + spgist 3485 ms ok 122 + privileges 14167 ms ok 123 + init_privs 88 ms ok 124 + security_label 432 ms ok 125 + collate 1069 ms ok 126 + matview 1983 ms ok 127 + lock 497 ms ok 128 + replica_identity 1437 ms ok 129 + rowsecurity 6684 ms ok 130 + object_address 830 ms ok 131 + tablesample 339 ms ok 132 + groupingsets 1791 ms ok 133 + drop_operator 181 ms ok 134 + password 1301 ms ok 135 + identity 2561 ms ok 136 + generated_stored 6088 ms ok 137 + join_hash 12216 ms # parallel group (2 tests): brin_bloom brin_multi ok 138 + brin_bloom 335 ms ok 139 + brin_multi 2021 ms # parallel group (20 tests): collate.icu.utf8 collate.utf8 async dbsize tid misc_functions alter_operator nls misc tsrf tidscan create_role sysviews alter_generic tidrangescan merge incremental_sort create_table_like generated_virtual without_overlaps ok 140 + create_table_like 2588 ms ok 141 + alter_generic 855 ms ok 142 + alter_operator 306 ms ok 143 + misc 360 ms ok 144 + async 91 ms ok 145 + dbsize 110 ms ok 146 + merge 1721 ms ok 147 + misc_functions 211 ms ok 148 + nls 309 ms ok 149 + sysviews 484 ms ok 150 + tsrf 376 ms ok 151 + tid 138 ms ok 152 + tidscan 422 ms ok 153 + tidrangescan 1633 ms ok 154 + collate.utf8 79 ms ok 155 + collate.icu.utf8 67 ms ok 156 + incremental_sort 1822 ms ok 157 + create_role 465 ms ok 158 + without_overlaps 5057 ms ok 159 + generated_virtual 3216 ms # parallel group (8 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql_pipeline psql rules stats_ext ok 160 + rules 2074 ms ok 161 + psql 1632 ms ok 162 + psql_crosstab 220 ms ok 163 + psql_pipeline 394 ms ok 164 + amutils 83 ms ok 165 + stats_ext 3936 ms ok 166 + collate.linux.utf8 67 ms ok 167 + collate.windows.win1252 75 ms ok 168 - select_parallel 9131 ms ok 169 - write_parallel 612 ms ok 170 - vacuum_parallel 325 ms ok 171 - maintain_every 323 ms # parallel group (2 tests): subscription publication ok 172 + publication 2774 ms ok 173 + subscription 343 ms # parallel group (18 tests): portals_p2 xmlmap dependency combocid advisory_lock functional_deps equivclass indirect_toast tsdicts guc stats_rewrite select_views graph_table bitmapops tsearch window foreign_data foreign_key ok 174 + select_views 1923 ms ok 175 + portals_p2 37 ms ok 176 + foreign_key 7111 ms ok 177 + dependency 283 ms ok 178 + guc 1044 ms ok 179 + bitmapops 2717 ms ok 180 + combocid 302 ms ok 181 + tsearch 3313 ms ok 182 + tsdicts 1033 ms ok 183 + foreign_data 4808 ms ok 184 + window 4236 ms ok 185 + xmlmap 193 ms ok 186 + functional_deps 428 ms ok 187 + advisory_lock 379 ms ok 188 + indirect_toast 678 ms ok 189 + equivclass 486 ms ok 190 + stats_rewrite 1211 ms ok 191 + graph_table 1935 ms # parallel group (9 tests): jsonpath_encoding json_encoding sqljson_jsontable jsonpath sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 192 + json 751 ms ok 193 + jsonb 3932 ms ok 194 + json_encoding 114 ms ok 195 + jsonpath 468 ms ok 196 + jsonpath_encoding 63 ms ok 197 + jsonb_jsonpath 896 ms ok 198 + sqljson 670 ms ok 199 + sqljson_queryfuncs 687 ms ok 200 + sqljson_jsontable 461 ms # parallel group (18 tests): prepare plancache returning temp limit conversion rowtypes polymorphism sequence truncate largeobject rangefuncs copy2 domain with xml plpgsql alter_table ok 201 + plancache 2217 ms ok 202 + limit 2647 ms ok 203 + plpgsql 8042 ms ok 204 + copy2 3985 ms ok 205 + temp 2450 ms ok 206 + domain 4316 ms ok 207 + rangefuncs 3876 ms ok 208 + prepare 972 ms ok 209 + conversion 2855 ms ok 210 + truncate 3416 ms ok 211 + alter_table 13680 ms ok 212 + sequence 3059 ms ok 213 + polymorphism 3016 ms ok 214 + rowtypes 2880 ms ok 215 + returning 2409 ms ok 216 + largeobject 3540 ms ok 217 + with 5515 ms ok 218 + xml 5597 ms # parallel group (18 tests): numa hash_part reloptions planner_est predicate partition_info explain graph_table_rls memoize eager_aggregate partition_split partition_merge partition_aggregate stats partition_prune tuplesort partition_join indexing ok 219 + partition_merge 4615 ms ok 220 + partition_split 3736 ms ok 221 + partition_join 7613 ms ok 222 + partition_prune 6778 ms ok 223 + reloptions 186 ms ok 224 + hash_part 119 ms ok 225 + indexing 8468 ms ok 226 + partition_aggregate 5037 ms ok 227 + partition_info 487 ms ok 228 + tuplesort 6951 ms ok 229 + explain 553 ms ok 230 + memoize 798 ms ok 231 + stats 6378 ms ok 232 + predicate 485 ms ok 233 + numa 70 ms ok 234 + eager_aggregate 2952 ms ok 235 + graph_table_rls 667 ms ok 236 + planner_est 294 ms # parallel group (4 tests): compression_pglz compression_lz4 compression cluster ok 237 + compression 322 ms ok 238 + compression_lz4 266 ms ok 239 + compression_pglz 59 ms ok 240 + cluster 1343 ms # parallel group (2 tests): oidjoins event_trigger ok 241 + oidjoins 632 ms ok 242 + event_trigger 1036 ms ok 243 - event_trigger_login 55 ms ok 244 - fast_default 668 ms ok 245 - tablespace 2038 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 2026-05-05 07:12:29.328544742 +0000 +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/for_portion_of.out 2026-05-05 07:14:58.162694638 +0000 @@ -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:16:25.566](110.762s) not ok 1 - regression tests pass [07:16:25.566](0.000s) # Failed test 'regression tests pass' # at /home/postgres/postgres/src/test/modules/test_plan_advice/t/001_replan_regress.pl line 64. [07:16:25.566](0.000s) # got: '256' # expected: '0' [07:16:25.567](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:16:25.680](0.114s) # Looks like you failed 1 test of 1.