# Checking port 13133 # Found port 13133 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=13133 host=/tmp/oLla7EqDH6 Log file: /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/log/001_replan_regress_main.log [05:27:24.813](0.171s) # 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 77191 # using postmaster on /tmp/oLla7EqDH6, port 13133 ok 1 - test_setup 1135 ms # parallel group (20 tests): text int2 oid regproc pg_lsn varchar float4 money uuid name char txid int4 float8 boolean bit enum int8 numeric rangetypes ok 2 + boolean 751 ms ok 3 + char 388 ms ok 4 + name 366 ms ok 5 + varchar 298 ms ok 6 + text 115 ms ok 7 + int2 138 ms ok 8 + int4 567 ms ok 9 + int8 877 ms ok 10 + oid 238 ms ok 11 + float4 321 ms ok 12 + float8 723 ms ok 13 + bit 827 ms ok 14 + numeric 2222 ms ok 15 + txid 396 ms ok 16 + uuid 317 ms ok 17 + enum 833 ms ok 18 + money 315 ms ok 19 + rangetypes 2288 ms ok 20 + pg_lsn 257 ms ok 21 + regproc 246 ms # parallel group (20 tests): macaddr8 time md5 interval lseg circle path numerology macaddr timetz point line inet timestamp polygon timestamptz date box strings multirangetypes ok 22 + strings 1598 ms ok 23 + md5 265 ms ok 24 + numerology 410 ms ok 25 + point 703 ms ok 26 + lseg 350 ms ok 27 + line 745 ms ok 28 + box 1449 ms ok 29 + path 364 ms ok 30 + polygon 951 ms ok 31 + circle 358 ms ok 32 + date 997 ms ok 33 + time 249 ms ok 34 + timetz 686 ms ok 35 + timestamp 947 ms ok 36 + timestamptz 952 ms ok 37 + interval 266 ms ok 38 + inet 896 ms ok 39 + macaddr 466 ms ok 40 + macaddr8 164 ms ok 41 + multirangetypes 2483 ms # parallel group (19 tests): euc_kr comments mvcc misc_sanity encoding unicode oid8 pg_dependencies pg_ndistinct tstypes expressions xid type_sanity database horology geometry opr_sanity regex stats_import ok 42 + geometry 1702 ms ok 43 + horology 1577 ms ok 44 + tstypes 877 ms ok 45 + regex 2310 ms ok 46 + type_sanity 1387 ms ok 47 + opr_sanity 1926 ms ok 48 + misc_sanity 458 ms ok 49 + comments 305 ms ok 50 + expressions 975 ms ok 51 + unicode 608 ms ok 52 + xid 1338 ms ok 53 + mvcc 373 ms ok 54 + database 1400 ms ok 55 + stats_import 2511 ms ok 56 + pg_ndistinct 725 ms ok 57 + pg_dependencies 682 ms ok 58 + oid8 676 ms ok 59 + encoding 534 ms ok 60 + euc_kr 248 ms # parallel group (6 tests): copyencoding copyselect copydml copy insert_conflict insert ok 61 + copy 983 ms ok 62 + copyselect 89 ms ok 63 + copydml 115 ms ok 64 + copyencoding 83 ms ok 65 + insert 3469 ms ok 66 + insert_conflict 1119 ms # parallel group (7 tests): create_function_c create_misc create_procedure create_operator create_type create_schema create_table ok 67 + create_function_c 98 ms ok 68 + create_misc 383 ms ok 69 + create_operator 648 ms ok 70 + create_procedure 641 ms ok 71 + create_table 2782 ms ok 72 + create_type 665 ms ok 73 + create_schema 1132 ms # parallel group (5 tests): index_including index_including_gist create_index_spgist create_view create_index ok 74 + create_index 6355 ms ok 75 + create_index_spgist 2198 ms ok 76 + create_view 2222 ms ok 77 + index_including 1218 ms ok 78 + index_including_gist 2018 ms # parallel group (18 tests): create_cast errors select hash_func roleattributes drop_if_exists create_am create_aggregate create_function_sql typed_table infinite_recurse create_property_graph for_portion_of vacuum updatable_views constraints inherit triggers ok 79 + create_aggregate 1427 ms ok 80 + create_function_sql 1483 ms ok 81 + create_cast 324 ms ok 82 + constraints 8802 ms ok 83 + triggers 12810 ms ok 84 + select 803 ms ok 85 + inherit 10800 ms ok 86 + typed_table 1578 ms ok 87 + vacuum 3380 ms ok 88 + drop_if_exists 1159 ms ok 89 + updatable_views 5333 ms ok 90 + roleattributes 970 ms ok 91 + create_am 1253 ms ok 92 + hash_func 802 ms ok 93 + errors 510 ms ok 94 + infinite_recurse 2118 ms ok 95 + create_property_graph 2306 ms ok 96 + for_portion_of 3134 ms ok 97 - sanity_check 716 ms # parallel group (20 tests): select_having delete select_distinct_on case select_implicit namespace select_into prepared_xacts select_distinct random portals union subselect transactions hash_index arrays update aggregates join btree_index ok 98 + select_into 1030 ms ok 99 + select_distinct 1245 ms ok 100 + select_distinct_on 558 ms ok 101 + select_implicit 791 ms ok 102 + select_having 315 ms ok 103 + subselect 2106 ms ok 104 + union 1912 ms ok 105 + case 565 ms ok 106 + join 7528 ms ok 107 + aggregates 5241 ms ok 108 + transactions 2803 ms ok 109 + random 1522 ms ok 110 + portals 1793 ms ok 111 + arrays 3406 ms ok 112 + btree_index 9750 ms ok 113 + hash_index 3167 ms ok 114 + update 3600 ms ok 115 + delete 363 ms ok 116 + namespace 846 ms ok 117 + prepared_xacts 1147 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample object_address password lock collate replica_identity identity spgist groupingsets matview gin gist join_hash generated_stored rowsecurity brin privileges ok 118 + brin 8838 ms ok 119 + gin 6816 ms ok 120 + gist 8037 ms ok 121 + spgist 4656 ms ok 122 + privileges 10886 ms ok 123 + init_privs 152 ms ok 124 + security_label 341 ms ok 125 + collate 2602 ms ok 126 + matview 6620 ms ok 127 + lock 1892 ms ok 128 + replica_identity 2758 ms ok 129 + rowsecurity 8786 ms ok 130 + object_address 1433 ms ok 131 + tablesample 1358 ms ok 132 + groupingsets 5175 ms ok 133 + drop_operator 320 ms ok 134 + password 1536 ms ok 135 + identity 4622 ms ok 136 + generated_stored 8759 ms ok 137 + join_hash 8737 ms # diff -U3 /home/postgres/postgres/src/test/regress/expected/goo.out /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out # --- /home/postgres/postgres/src/test/regress/expected/goo.out Wed May 6 05:25:03 2026 # +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out Wed May 6 05:28:31 2026 # @@ -139,8 +139,8 @@ # JOIN dim3 ON fact.dim3_id = dim3.id # JOIN dim4 ON fact.dim4_id = dim4.id # WHERE dim1.id < 5; # - QUERY PLAN # ---------------------------------------------------------------------- # + QUERY PLAN # +--------------------------------------------------------------------------- # Aggregate # -> Nested Loop # Join Filter: (fact.dim4_id = dim4.id) # @@ -149,15 +149,15 @@ # -> Seq Scan on dim3 # -> Hash # -> Hash Join # - Hash Cond: (fact.dim1_id = dim1.id) # - -> Hash Join # - Hash Cond: (fact.dim2_id = dim2.id) # - -> Seq Scan on fact # - -> Hash # - -> Seq Scan on dim2 # + Hash Cond: (dim2.id = fact.dim2_id) # + -> Seq Scan on dim2 # -> Hash # - -> Seq Scan on dim1 # - Filter: (id < 5) # + -> Hash Join # + Hash Cond: (fact.dim1_id = dim1.id) # + -> Seq Scan on fact # + -> Hash # + -> Seq Scan on dim1 # + Filter: (id < 5) # -> Seq Scan on dim4 # (18 rows) # # @@ -459,22 +459,22 @@ # FROM t1 JOIN t2 ON t1.a = t2.a, # t5 JOIN t6 ON t5.f = t6.e # WHERE t1.a < 5 AND t5.d < 3; # - QUERY PLAN # -------------------------------------------------- # + QUERY PLAN # +------------------------------------------------------- # Aggregate # -> Hash Join # Hash Cond: (t2.a = t1.a) # - -> Nested Loop # - -> Hash Join # - Hash Cond: (t6.e = t5.f) # - -> Seq Scan on t6 # - -> Hash # - -> Seq Scan on t5 # - Filter: (d < 3) # - -> Seq Scan on t2 # + -> Seq Scan on t2 # -> Hash # - -> Seq Scan on t1 # - Filter: (a < 5) # + -> Nested Loop # + -> Hash Join # + Hash Cond: (t6.e = t5.f) # + -> Seq Scan on t6 # + -> Hash # + -> Seq Scan on t5 # + Filter: (d < 3) # + -> Seq Scan on t1 # + Filter: (a < 5) # (14 rows) # # -- not ok 138 - goo 6087 ms # parallel group (2 tests): brin_bloom brin_multi ok 139 + brin_bloom 480 ms ok 140 + brin_multi 2762 ms # parallel group (20 tests): nls async collate.utf8 alter_operator tidscan tidrangescan dbsize tid sysviews tsrf create_role misc misc_functions incremental_sort alter_generic merge collate.icu.utf8 create_table_like generated_virtual without_overlaps ok 141 + create_table_like 4440 ms ok 142 + alter_generic 2260 ms ok 143 + alter_operator 281 ms ok 144 + misc 1271 ms ok 145 + async 170 ms ok 146 + dbsize 489 ms ok 147 + merge 3596 ms ok 148 + misc_functions 1295 ms ok 149 + nls 119 ms ok 150 + sysviews 544 ms ok 151 + tsrf 860 ms ok 152 + tid 488 ms ok 153 + tidscan 397 ms ok 154 + tidrangescan 470 ms ok 155 + collate.utf8 166 ms ok 156 + collate.icu.utf8 4289 ms ok 157 + incremental_sort 1332 ms ok 158 + create_role 1186 ms ok 159 + without_overlaps 5392 ms ok 160 + generated_virtual 4787 ms # parallel group (8 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_pipeline psql_crosstab rules psql stats_ext ok 161 + rules 3879 ms ok 162 + psql 4833 ms ok 163 + psql_crosstab 370 ms ok 164 + psql_pipeline 298 ms ok 165 + amutils 243 ms ok 166 + stats_ext 7913 ms ok 167 + collate.linux.utf8 174 ms ok 168 + collate.windows.win1252 135 ms ok 169 - select_parallel 6096 ms ok 170 - write_parallel 640 ms ok 171 - vacuum_parallel 781 ms ok 172 - maintain_every 161 ms # parallel group (2 tests): subscription publication ok 173 + publication 5307 ms ok 174 + subscription 818 ms # parallel group (18 tests): portals_p2 xmlmap advisory_lock combocid tsdicts equivclass functional_deps dependency indirect_toast guc select_views stats_rewrite bitmapops window graph_table tsearch foreign_data foreign_key ok 175 + select_views 1259 ms ok 176 + portals_p2 213 ms ok 177 + foreign_key 10596 ms ok 178 + dependency 762 ms ok 179 + guc 1182 ms ok 180 + bitmapops 2538 ms ok 181 + combocid 284 ms ok 182 + tsearch 3567 ms ok 183 + tsdicts 411 ms ok 184 + foreign_data 6920 ms ok 185 + window 3171 ms ok 186 + xmlmap 249 ms ok 187 + functional_deps 534 ms ok 188 + advisory_lock 251 ms ok 189 + indirect_toast 1131 ms ok 190 + equivclass 435 ms ok 191 + stats_rewrite 1312 ms ok 192 + graph_table 3262 ms # parallel group (9 tests): json_encoding jsonpath jsonpath_encoding sqljson sqljson_jsontable sqljson_queryfuncs jsonb_jsonpath json jsonb ok 193 + json 2044 ms ok 194 + jsonb 3360 ms ok 195 + json_encoding 54 ms ok 196 + jsonpath 193 ms ok 197 + jsonpath_encoding 315 ms ok 198 + jsonb_jsonpath 1827 ms ok 199 + sqljson 512 ms ok 200 + sqljson_queryfuncs 1446 ms ok 201 + sqljson_jsontable 987 ms # parallel group (18 tests): prepare conversion plancache limit rowtypes largeobject returning truncate rangefuncs polymorphism sequence copy2 domain with temp xml plpgsql alter_table ok 202 + plancache 1639 ms ok 203 + limit 2087 ms ok 204 + plpgsql 7880 ms ok 205 + copy2 3672 ms ok 206 + temp 4318 ms ok 207 + domain 3853 ms ok 208 + rangefuncs 2827 ms ok 209 + prepare 813 ms ok 210 + conversion 1576 ms ok 211 + truncate 2705 ms ok 212 + alter_table 11760 ms ok 213 + sequence 3464 ms ok 214 + polymorphism 3348 ms ok 215 + rowtypes 2310 ms ok 216 + returning 2623 ms ok 217 + largeobject 2367 ms ok 218 + with 3890 ms ok 219 + xml 4890 ms # parallel group (18 tests): numa hash_part planner_est explain reloptions predicate partition_info graph_table_rls memoize eager_aggregate partition_aggregate partition_merge stats tuplesort partition_split partition_prune partition_join indexing ok 220 + partition_merge 7323 ms ok 221 + partition_split 10045 ms ok 222 + partition_join 12528 ms ok 223 + partition_prune 10154 ms ok 224 + reloptions 1469 ms ok 225 + hash_part 347 ms ok 226 + indexing 12594 ms ok 227 + partition_aggregate 6354 ms ok 228 + partition_info 1585 ms ok 229 + tuplesort 9638 ms ok 230 + explain 814 ms ok 231 + memoize 2983 ms ok 232 + stats 8517 ms ok 233 + predicate 1552 ms ok 234 + numa 190 ms ok 235 + eager_aggregate 5418 ms ok 236 + graph_table_rls 2872 ms ok 237 + planner_est 437 ms # parallel group (4 tests): compression_pglz compression compression_lz4 cluster ok 238 + compression 629 ms ok 239 + compression_lz4 1315 ms ok 240 + compression_pglz 189 ms ok 241 + cluster 2899 ms # parallel group (2 tests): oidjoins event_trigger ok 242 + oidjoins 2370 ms ok 243 + event_trigger 2536 ms ok 244 - event_trigger_login 103 ms ok 245 - fast_default 1099 ms ok 246 - tablespace 3262 ms 1..246 # 1 of 246 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/goo.out /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out --- /home/postgres/postgres/src/test/regress/expected/goo.out Wed May 6 05:25:03 2026 +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out Wed May 6 05:28:31 2026 @@ -139,8 +139,8 @@ JOIN dim3 ON fact.dim3_id = dim3.id JOIN dim4 ON fact.dim4_id = dim4.id WHERE dim1.id < 5; - QUERY PLAN ---------------------------------------------------------------------- + QUERY PLAN +--------------------------------------------------------------------------- Aggregate -> Nested Loop Join Filter: (fact.dim4_id = dim4.id) @@ -149,15 +149,15 @@ -> Seq Scan on dim3 -> Hash -> Hash Join - Hash Cond: (fact.dim1_id = dim1.id) - -> Hash Join - Hash Cond: (fact.dim2_id = dim2.id) - -> Seq Scan on fact - -> Hash - -> Seq Scan on dim2 + Hash Cond: (dim2.id = fact.dim2_id) + -> Seq Scan on dim2 -> Hash - -> Seq Scan on dim1 - Filter: (id < 5) + -> Hash Join + Hash Cond: (fact.dim1_id = dim1.id) + -> Seq Scan on fact + -> Hash + -> Seq Scan on dim1 + Filter: (id < 5) -> Seq Scan on dim4 (18 rows) @@ -459,22 +459,22 @@ FROM t1 JOIN t2 ON t1.a = t2.a, t5 JOIN t6 ON t5.f = t6.e WHERE t1.a < 5 AND t5.d < 3; - QUERY PLAN -------------------------------------------------- + QUERY PLAN +------------------------------------------------------- Aggregate -> Hash Join Hash Cond: (t2.a = t1.a) - -> Nested Loop - -> Hash Join - Hash Cond: (t6.e = t5.f) - -> Seq Scan on t6 - -> Hash - -> Seq Scan on t5 - Filter: (d < 3) - -> Seq Scan on t2 + -> Seq Scan on t2 -> Hash - -> Seq Scan on t1 - Filter: (a < 5) + -> Nested Loop + -> Hash Join + Hash Cond: (t6.e = t5.f) + -> Seq Scan on t6 + -> Hash + -> Seq Scan on t5 + Filter: (d < 3) + -> Seq Scan on t1 + Filter: (a < 5) (14 rows) -- === EOF === [05:29:51.880](147.067s) not ok 1 - regression tests pass [05:29:51.881](0.001s) # Failed test 'regression tests pass' # at /home/postgres/postgres/src/test/modules/test_plan_advice/t/001_replan_regress.pl line 64. [05:29:51.881](0.000s) # got: '256' # expected: '0' [05:29:51.882](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" [05:29:52.145](0.264s) # Looks like you failed 1 test of 1.