# Checking port 27170 # Found port 27170 Name: main Version: 19devel Data directory: /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/backup Archive directory: /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/archives Connection string: port=27170 host=/var/folders/hm/d7rr9ds96qx995ns72ry9g4m0000gn/T/_v36cwBf7V Log file: /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/log/001_replan_regress_main.log [05:28:53.128](0.144s) # initializing database system by copying initdb template # Running: cp -RPp /Users/admin/pgsql/build/tmp_install/initdb-template /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata ### Starting node "main" # Running: pg_ctl --wait --pgdata /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/t_001_replan_regress_main_data/pgdata --log /Users/admin/pgsql/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 7593 # using postmaster on /var/folders/hm/d7rr9ds96qx995ns72ry9g4m0000gn/T/_v36cwBf7V, port 27170 ok 1 - test_setup 1314 ms # parallel group (20 tests): name pg_lsn int4 int8 float4 text varchar oid boolean int2 char txid enum float8 money bit regproc uuid numeric rangetypes ok 2 + boolean 571 ms ok 3 + char 589 ms ok 4 + name 285 ms ok 5 + varchar 523 ms ok 6 + text 446 ms ok 7 + int2 555 ms ok 8 + int4 365 ms ok 9 + int8 394 ms ok 10 + oid 497 ms ok 11 + float4 378 ms ok 12 + float8 633 ms ok 13 + bit 675 ms ok 14 + numeric 1255 ms ok 15 + txid 555 ms ok 16 + uuid 950 ms ok 17 + enum 543 ms ok 18 + money 523 ms ok 19 + rangetypes 1687 ms ok 20 + pg_lsn 135 ms ok 21 + regproc 746 ms # parallel group (20 tests): lseg line point md5 circle path time timetz macaddr inet numerology macaddr8 interval date timestamp timestamptz strings polygon box multirangetypes ok 22 + strings 1336 ms ok 23 + md5 521 ms ok 24 + numerology 948 ms ok 25 + point 284 ms ok 26 + lseg 202 ms ok 27 + line 261 ms ok 28 + box 1505 ms ok 29 + path 697 ms ok 30 + polygon 1302 ms ok 31 + circle 513 ms ok 32 + date 1058 ms ok 33 + time 796 ms ok 34 + timetz 786 ms ok 35 + timestamp 1162 ms ok 36 + timestamptz 1210 ms ok 37 + interval 970 ms ok 38 + inet 825 ms ok 39 + macaddr 766 ms ok 40 + macaddr8 897 ms ok 41 + multirangetypes 2185 ms # parallel group (19 tests): mvcc pg_dependencies misc_sanity comments euc_kr pg_ndistinct unicode geometry horology tstypes encoding xid expressions oid8 type_sanity opr_sanity stats_import regex database ok 42 + geometry 997 ms ok 43 + horology 1004 ms ok 44 + tstypes 1013 ms ok 45 + regex 3847 ms ok 46 + type_sanity 1461 ms ok 47 + opr_sanity 2215 ms ok 48 + misc_sanity 704 ms ok 49 + comments 726 ms ok 50 + expressions 1250 ms ok 51 + unicode 897 ms ok 52 + xid 1087 ms ok 53 + mvcc 481 ms ok 54 + database 4593 ms ok 55 + stats_import 3122 ms ok 56 + pg_ndistinct 845 ms ok 57 + pg_dependencies 524 ms ok 58 + oid8 1343 ms ok 59 + encoding 989 ms ok 60 + euc_kr 682 ms # parallel group (6 tests): copyselect copydml copyencoding insert_conflict copy insert ok 61 + copy 924 ms ok 62 + copyselect 253 ms ok 63 + copydml 255 ms ok 64 + copyencoding 476 ms ok 65 + insert 2828 ms ok 66 + insert_conflict 749 ms # parallel group (7 tests): create_function_c create_misc create_operator create_type create_procedure create_schema create_table ok 67 + create_function_c 358 ms ok 68 + create_misc 390 ms ok 69 + create_operator 416 ms ok 70 + create_procedure 915 ms ok 71 + create_table 3116 ms ok 72 + create_type 534 ms ok 73 + create_schema 1201 ms # parallel group (5 tests): index_including index_including_gist create_index_spgist create_view create_index ok 74 + create_index 5853 ms ok 75 + create_index_spgist 1994 ms ok 76 + create_view 2029 ms ok 77 + index_including 1062 ms ok 78 + index_including_gist 1634 ms # parallel group (18 tests): create_cast create_aggregate hash_func typed_table errors roleattributes drop_if_exists select create_am create_function_sql create_property_graph for_portion_of infinite_recurse vacuum updatable_views constraints inherit triggers ok 79 + create_aggregate 272 ms ok 80 + create_function_sql 1261 ms ok 81 + create_cast 176 ms ok 82 + constraints 5263 ms ok 83 + triggers 13774 ms ok 84 + select 875 ms ok 85 + inherit 7295 ms ok 86 + typed_table 333 ms ok 87 + vacuum 3309 ms ok 88 + drop_if_exists 743 ms ok 89 + updatable_views 4959 ms ok 90 + roleattributes 559 ms ok 91 + create_am 951 ms ok 92 + hash_func 256 ms ok 93 + errors 467 ms ok 94 + infinite_recurse 2133 ms ok 95 + create_property_graph 1249 ms ok 96 + for_portion_of 2116 ms ok 97 - sanity_check 1841 ms # parallel group (20 tests): select_implicit select_having delete random select_distinct_on select_into prepared_xacts namespace case transactions select_distinct union portals arrays subselect update hash_index aggregates join btree_index ok 98 + select_into 1082 ms ok 99 + select_distinct 2833 ms ok 100 + select_distinct_on 971 ms ok 101 + select_implicit 276 ms ok 102 + select_having 570 ms ok 103 + subselect 5255 ms ok 104 + union 2978 ms ok 105 + case 2211 ms ok 106 + join 9946 ms ok 107 + aggregates 9110 ms ok 108 + transactions 2776 ms ok 109 + random 741 ms ok 110 + portals 3236 ms ok 111 + arrays 3455 ms ok 112 + btree_index 12229 ms ok 113 + hash_index 8256 ms ok 114 + update 5210 ms ok 115 + delete 551 ms ok 116 + namespace 1907 ms ok 117 + prepared_xacts 1246 ms # parallel group (20 tests): security_label init_privs collate drop_operator password tablesample lock object_address groupingsets replica_identity matview spgist identity gin gist rowsecurity generated_stored brin join_hash privileges ok 118 + brin 10112 ms ok 119 + gin 7069 ms ok 120 + gist 7284 ms ok 121 + spgist 6797 ms ok 122 + privileges 11345 ms ok 123 + init_privs 1384 ms ok 124 + security_label 1235 ms ok 125 + collate 1423 ms ok 126 + matview 5953 ms ok 127 + lock 2181 ms ok 128 + replica_identity 4479 ms ok 129 + rowsecurity 8758 ms ok 130 + object_address 2781 ms ok 131 + tablesample 1796 ms ok 132 + groupingsets 4304 ms ok 133 + drop_operator 1409 ms ok 134 + password 1593 ms ok 135 + identity 6509 ms ok 136 + generated_stored 8662 ms ok 137 + join_hash 9638 ms # diff -U3 /Users/admin/pgsql/src/test/regress/expected/goo.out /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out # --- /Users/admin/pgsql/src/test/regress/expected/goo.out 2026-05-06 05:25:20 # +++ /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out 2026-05-06 05:30:27 # @@ -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 18445 ms # parallel group (2 tests): brin_bloom brin_multi ok 139 + brin_bloom 817 ms ok 140 + brin_multi 3559 ms # parallel group (20 tests): nls dbsize create_role tid async tidscan tsrf collate.utf8 alter_operator alter_generic tidrangescan misc sysviews incremental_sort misc_functions merge create_table_like collate.icu.utf8 generated_virtual without_overlaps ok 141 + create_table_like 2996 ms ok 142 + alter_generic 888 ms ok 143 + alter_operator 873 ms ok 144 + misc 1122 ms ok 145 + async 567 ms ok 146 + dbsize 352 ms ok 147 + merge 2627 ms ok 148 + misc_functions 1427 ms ok 149 + nls 237 ms ok 150 + sysviews 1247 ms ok 151 + tsrf 800 ms ok 152 + tid 503 ms ok 153 + tidscan 772 ms ok 154 + tidrangescan 962 ms ok 155 + collate.utf8 803 ms ok 156 + collate.icu.utf8 3289 ms ok 157 + incremental_sort 1342 ms ok 158 + create_role 362 ms ok 159 + without_overlaps 5595 ms ok 160 + generated_virtual 3591 ms # parallel group (8 tests): collate.linux.utf8 collate.windows.win1252 amutils psql_crosstab psql_pipeline rules psql stats_ext ok 161 + rules 3145 ms ok 162 + psql 5545 ms ok 163 + psql_crosstab 529 ms ok 164 + psql_pipeline 557 ms ok 165 + amutils 304 ms ok 166 + stats_ext 14543 ms ok 167 + collate.linux.utf8 213 ms ok 168 + collate.windows.win1252 211 ms ok 169 - select_parallel 4096 ms ok 170 - write_parallel 383 ms ok 171 - vacuum_parallel 401 ms ok 172 - maintain_every 490 ms # parallel group (2 tests): subscription publication ok 173 + publication 8422 ms ok 174 + subscription 1027 ms # parallel group (18 tests): functional_deps advisory_lock portals_p2 dependency tsdicts equivclass xmlmap guc combocid select_views stats_rewrite tsearch bitmapops indirect_toast graph_table window foreign_data foreign_key ok 175 + select_views 1245 ms ok 176 + portals_p2 823 ms ok 177 + foreign_key 9271 ms ok 178 + dependency 851 ms ok 179 + guc 1139 ms ok 180 + bitmapops 2634 ms ok 181 + combocid 1160 ms ok 182 + tsearch 2497 ms ok 183 + tsdicts 801 ms ok 184 + foreign_data 6034 ms ok 185 + window 3730 ms ok 186 + xmlmap 1079 ms ok 187 + functional_deps 409 ms ok 188 + advisory_lock 585 ms ok 189 + indirect_toast 2704 ms ok 190 + equivclass 781 ms ok 191 + stats_rewrite 1913 ms ok 192 + graph_table 3657 ms # parallel group (9 tests): json_encoding sqljson_jsontable jsonpath jsonpath_encoding sqljson json sqljson_queryfuncs jsonb_jsonpath jsonb ok 193 + json 1343 ms ok 194 + jsonb 3154 ms ok 195 + json_encoding 563 ms ok 196 + jsonpath 634 ms ok 197 + jsonpath_encoding 737 ms ok 198 + jsonb_jsonpath 2276 ms ok 199 + sqljson 1264 ms ok 200 + sqljson_queryfuncs 1360 ms ok 201 + sqljson_jsontable 593 ms # parallel group (18 tests): limit prepare conversion rowtypes plancache temp returning largeobject polymorphism truncate copy2 rangefuncs with sequence domain xml plpgsql alter_table ok 202 + plancache 1562 ms ok 203 + limit 897 ms ok 204 + plpgsql 9492 ms ok 205 + copy2 2433 ms ok 206 + temp 1554 ms ok 207 + domain 3592 ms ok 208 + rangefuncs 2570 ms ok 209 + prepare 1153 ms ok 210 + conversion 1422 ms ok 211 + truncate 2117 ms ok 212 + alter_table 15343 ms ok 213 + sequence 3308 ms ok 214 + polymorphism 1972 ms ok 215 + rowtypes 1422 ms ok 216 + returning 1543 ms ok 217 + largeobject 1945 ms ok 218 + with 2994 ms ok 219 + xml 6544 ms # parallel group (18 tests): numa hash_part reloptions planner_est predicate partition_info explain graph_table_rls memoize eager_aggregate partition_aggregate partition_split partition_merge partition_prune partition_join tuplesort indexing stats ok 220 + partition_merge 5707 ms ok 221 + partition_split 5579 ms ok 222 + partition_join 6760 ms ok 223 + partition_prune 6467 ms ok 224 + reloptions 809 ms ok 225 + hash_part 482 ms ok 226 + indexing 8101 ms ok 227 + partition_aggregate 3952 ms ok 228 + partition_info 1042 ms ok 229 + tuplesort 6949 ms ok 230 + explain 1240 ms ok 231 + memoize 1958 ms ok 232 + stats 9116 ms ok 233 + predicate 890 ms ok 234 + numa 232 ms ok 235 + eager_aggregate 2339 ms ok 236 + graph_table_rls 1450 ms ok 237 + planner_est 676 ms # parallel group (4 tests): compression_pglz compression_lz4 compression cluster ok 238 + compression 1078 ms ok 239 + compression_lz4 888 ms ok 240 + compression_pglz 115 ms ok 241 + cluster 1442 ms # parallel group (2 tests): oidjoins event_trigger ok 242 + oidjoins 1117 ms ok 243 + event_trigger 1250 ms ok 244 - event_trigger_login 120 ms ok 245 - fast_default 715 ms ok 246 - tablespace 1924 ms 1..246 # 1 of 246 tests failed. # The differences that caused some tests to fail can be viewed in the file "/Users/admin/pgsql/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 "/Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/regression.out". === dumping /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/regression.diffs === diff -U3 /Users/admin/pgsql/src/test/regress/expected/goo.out /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out --- /Users/admin/pgsql/src/test/regress/expected/goo.out 2026-05-06 05:25:20 +++ /Users/admin/pgsql/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out 2026-05-06 05:30:27 @@ -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:31:56.626](183.497s) not ok 1 - regression tests pass [05:31:56.628](0.002s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/modules/test_plan_advice/t/001_replan_regress.pl line 64. [05:31:56.628](0.000s) # got: '256' # expected: '0' [05:31:56.628](0.001s) 1..1 ### Stopping node "main" using mode immediate # Running: pg_ctl --pgdata /Users/admin/pgsql/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:31:56.760](0.132s) # Looks like you failed 1 test of 1.