# Checking port 23824 # Found port 23824 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=23824 host=/tmp/1PjQxyHPj1 Log file: /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/log/001_replan_regress_main.log [05:26:31.882](0.028s) # 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 8029 # using postmaster on /tmp/1PjQxyHPj1, port 23824 ok 1 - test_setup 700 ms # parallel group (20 tests): boolean name int2 float8 txid int4 pg_lsn char int8 regproc oid varchar float4 bit enum money text uuid numeric rangetypes ok 2 + boolean 151 ms ok 3 + char 252 ms ok 4 + name 181 ms ok 5 + varchar 281 ms ok 6 + text 428 ms ok 7 + int2 208 ms ok 8 + int4 212 ms ok 9 + int8 254 ms ok 10 + oid 272 ms ok 11 + float4 312 ms ok 12 + float8 210 ms ok 13 + bit 315 ms ok 14 + numeric 775 ms ok 15 + txid 210 ms ok 16 + uuid 570 ms ok 17 + enum 315 ms ok 18 + money 319 ms ok 19 + rangetypes 966 ms ok 20 + pg_lsn 221 ms ok 21 + regproc 257 ms # parallel group (20 tests): md5 lseg path line time macaddr macaddr8 interval timetz numerology circle inet date timestamptz timestamp strings point box polygon multirangetypes ok 22 + strings 1409 ms ok 23 + md5 66 ms ok 24 + numerology 895 ms ok 25 + point 1524 ms ok 26 + lseg 83 ms ok 27 + line 211 ms ok 28 + box 1577 ms ok 29 + path 104 ms ok 30 + polygon 1992 ms ok 31 + circle 1053 ms ok 32 + date 1240 ms ok 33 + time 675 ms ok 34 + timetz 887 ms ok 35 + timestamp 1319 ms ok 36 + timestamptz 1243 ms ok 37 + interval 836 ms ok 38 + inet 1236 ms ok 39 + macaddr 758 ms ok 40 + macaddr8 762 ms ok 41 + multirangetypes 1994 ms # parallel group (19 tests): encoding misc_sanity pg_dependencies oid8 unicode xid comments horology geometry euc_kr mvcc pg_ndistinct type_sanity tstypes expressions database stats_import opr_sanity regex ok 42 + geometry 756 ms ok 43 + horology 608 ms ok 44 + tstypes 1101 ms ok 45 + regex 2415 ms ok 46 + type_sanity 1014 ms ok 47 + opr_sanity 2255 ms ok 48 + misc_sanity 86 ms ok 49 + comments 558 ms ok 50 + expressions 1158 ms ok 51 + unicode 425 ms ok 52 + xid 544 ms ok 53 + mvcc 858 ms ok 54 + database 1200 ms ok 55 + stats_import 2153 ms ok 56 + pg_ndistinct 862 ms ok 57 + pg_dependencies 231 ms ok 58 + oid8 274 ms ok 59 + encoding 84 ms ok 60 + euc_kr 779 ms # parallel group (6 tests): copyencoding copydml copyselect copy insert_conflict insert ok 61 + copy 1450 ms ok 62 + copyselect 724 ms ok 63 + copydml 327 ms ok 64 + copyencoding 163 ms ok 65 + insert 4854 ms ok 66 + insert_conflict 1524 ms # parallel group (7 tests): create_operator create_type create_function_c create_misc create_procedure create_schema create_table ok 67 + create_function_c 254 ms ok 68 + create_misc 1101 ms ok 69 + create_operator 213 ms ok 70 + create_procedure 1551 ms ok 71 + create_table 4067 ms ok 72 + create_type 239 ms ok 73 + create_schema 1786 ms # parallel group (5 tests): index_including create_index_spgist index_including_gist create_view create_index ok 74 + create_index 3687 ms ok 75 + create_index_spgist 1383 ms ok 76 + create_view 2599 ms ok 77 + index_including 648 ms ok 78 + index_including_gist 2501 ms # parallel group (18 tests): errors select create_cast roleattributes hash_func create_aggregate drop_if_exists create_am typed_table infinite_recurse create_function_sql for_portion_of vacuum create_property_graph updatable_views constraints inherit triggers ok 79 + create_aggregate 1761 ms ok 80 + create_function_sql 2544 ms ok 81 + create_cast 1140 ms ok 82 + constraints 7716 ms ok 83 + triggers 14925 ms ok 84 + select 942 ms ok 85 + inherit 12306 ms ok 86 + typed_table 2494 ms ok 87 + vacuum 3504 ms ok 88 + drop_if_exists 2215 ms ok 89 + updatable_views 6014 ms ok 90 + roleattributes 1337 ms ok 91 + create_am 2478 ms ok 92 + hash_func 1450 ms ok 93 + errors 333 ms ok 94 + infinite_recurse 2501 ms ok 95 + create_property_graph 4079 ms ok 96 + for_portion_of 3152 ms ok 97 - sanity_check 426 ms # parallel group (20 tests): select_into delete case random select_having select_implicit namespace prepared_xacts select_distinct select_distinct_on transactions subselect portals arrays union hash_index aggregates update join btree_index ok 98 + select_into 207 ms ok 99 + select_distinct 866 ms ok 100 + select_distinct_on 1010 ms ok 101 + select_implicit 657 ms ok 102 + select_having 388 ms ok 103 + subselect 3080 ms ok 104 + union 3346 ms ok 105 + case 372 ms ok 106 + join 4698 ms ok 107 + aggregates 3759 ms ok 108 + transactions 2057 ms ok 109 + random 386 ms ok 110 + portals 3306 ms ok 111 + arrays 3338 ms ok 112 + btree_index 5141 ms ok 113 + hash_index 3619 ms ok 114 + update 4031 ms ok 115 + delete 233 ms ok 116 + namespace 670 ms ok 117 + prepared_xacts 797 ms # parallel group (20 tests): init_privs security_label object_address drop_operator tablesample lock password identity collate groupingsets spgist matview rowsecurity replica_identity gin generated_stored gist join_hash brin privileges ok 118 + brin 13607 ms ok 119 + gin 4961 ms ok 120 + gist 9055 ms ok 121 + spgist 3138 ms ok 122 + privileges 18578 ms ok 123 + init_privs 230 ms ok 124 + security_label 369 ms ok 125 + collate 2881 ms ok 126 + matview 3288 ms ok 127 + lock 1307 ms ok 128 + replica_identity 4810 ms ok 129 + rowsecurity 4461 ms ok 130 + object_address 617 ms ok 131 + tablesample 1211 ms ok 132 + groupingsets 3080 ms ok 133 + drop_operator 674 ms ok 134 + password 2078 ms ok 135 + identity 2843 ms ok 136 + generated_stored 7279 ms ok 137 + join_hash 13244 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 2026-05-06 05:25:08.216455613 +0000 # +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out 2026-05-06 05:27:34.506669217 +0000 # @@ -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 3206 ms # parallel group (2 tests): brin_bloom brin_multi ok 139 + brin_bloom 179 ms ok 140 + brin_multi 2706 ms # parallel group (20 tests): collate.icu.utf8 collate.utf8 nls dbsize async tsrf create_role alter_operator tidscan tid incremental_sort sysviews misc_functions alter_generic misc tidrangescan merge create_table_like generated_virtual without_overlaps ok 141 + create_table_like 3020 ms ok 142 + alter_generic 1517 ms ok 143 + alter_operator 481 ms ok 144 + misc 1528 ms ok 145 + async 169 ms ok 146 + dbsize 155 ms ok 147 + merge 2182 ms ok 148 + misc_functions 1282 ms ok 149 + nls 143 ms ok 150 + sysviews 1238 ms ok 151 + tsrf 178 ms ok 152 + tid 527 ms ok 153 + tidscan 486 ms ok 154 + tidrangescan 1806 ms ok 155 + collate.utf8 128 ms ok 156 + collate.icu.utf8 126 ms ok 157 + incremental_sort 1191 ms ok 158 + create_role 457 ms ok 159 + without_overlaps 4872 ms ok 160 + generated_virtual 3897 ms # parallel group (8 tests): amutils collate.linux.utf8 psql_crosstab collate.windows.win1252 psql_pipeline rules psql stats_ext ok 161 + rules 7191 ms ok 162 + psql 9331 ms ok 163 + psql_crosstab 215 ms ok 164 + psql_pipeline 289 ms ok 165 + amutils 169 ms ok 166 + stats_ext 11785 ms ok 167 + collate.linux.utf8 191 ms ok 168 + collate.windows.win1252 214 ms ok 169 - select_parallel 4416 ms ok 170 - write_parallel 625 ms ok 171 - vacuum_parallel 279 ms ok 172 - maintain_every 89 ms # parallel group (2 tests): subscription publication ok 173 + publication 4485 ms ok 174 + subscription 472 ms # parallel group (18 tests): portals_p2 advisory_lock tsdicts functional_deps guc indirect_toast combocid select_views dependency bitmapops stats_rewrite xmlmap equivclass graph_table tsearch window foreign_data foreign_key ok 175 + select_views 629 ms ok 176 + portals_p2 72 ms ok 177 + foreign_key 12437 ms ok 178 + dependency 696 ms ok 179 + guc 528 ms ok 180 + bitmapops 712 ms ok 181 + combocid 586 ms ok 182 + tsearch 1311 ms ok 183 + tsdicts 347 ms ok 184 + foreign_data 4010 ms ok 185 + window 1904 ms ok 186 + xmlmap 905 ms ok 187 + functional_deps 461 ms ok 188 + advisory_lock 140 ms ok 189 + indirect_toast 558 ms ok 190 + equivclass 1093 ms ok 191 + stats_rewrite 858 ms ok 192 + graph_table 1117 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson_jsontable sqljson jsonb_jsonpath json sqljson_queryfuncs jsonb ok 193 + json 642 ms ok 194 + jsonb 2469 ms ok 195 + json_encoding 147 ms ok 196 + jsonpath 166 ms ok 197 + jsonpath_encoding 23 ms ok 198 + jsonb_jsonpath 459 ms ok 199 + sqljson 341 ms ok 200 + sqljson_queryfuncs 605 ms ok 201 + sqljson_jsontable 315 ms # parallel group (18 tests): prepare conversion plancache limit with returning temp rangefuncs sequence polymorphism rowtypes largeobject xml copy2 domain truncate plpgsql alter_table ok 202 + plancache 1085 ms ok 203 + limit 1113 ms ok 204 + plpgsql 10269 ms ok 205 + copy2 2639 ms ok 206 + temp 1613 ms ok 207 + domain 3280 ms ok 208 + rangefuncs 1687 ms ok 209 + prepare 369 ms ok 210 + conversion 817 ms ok 211 + truncate 3889 ms ok 212 + alter_table 20080 ms ok 213 + sequence 1790 ms ok 214 + polymorphism 1989 ms ok 215 + rowtypes 2138 ms ok 216 + returning 1426 ms ok 217 + largeobject 2183 ms ok 218 + with 1304 ms ok 219 + xml 2562 ms # parallel group (18 tests): numa hash_part predicate partition_info planner_est explain reloptions graph_table_rls memoize eager_aggregate tuplesort partition_split partition_merge partition_aggregate partition_join stats partition_prune indexing ok 220 + partition_merge 4371 ms ok 221 + partition_split 4061 ms ok 222 + partition_join 5696 ms ok 223 + partition_prune 7658 ms ok 224 + reloptions 975 ms ok 225 + hash_part 205 ms ok 226 + indexing 8017 ms ok 227 + partition_aggregate 4657 ms ok 228 + partition_info 443 ms ok 229 + tuplesort 2602 ms ok 230 + explain 740 ms ok 231 + memoize 1216 ms ok 232 + stats 6575 ms ok 233 + predicate 435 ms ok 234 + numa 129 ms ok 235 + eager_aggregate 1291 ms ok 236 + graph_table_rls 1052 ms ok 237 + planner_est 470 ms # parallel group (4 tests): compression_pglz compression compression_lz4 cluster ok 238 + compression 1053 ms ok 239 + compression_lz4 1144 ms ok 240 + compression_pglz 48 ms ok 241 + cluster 1839 ms # parallel group (2 tests): oidjoins event_trigger ok 242 + oidjoins 556 ms ok 243 + event_trigger 1439 ms ok 244 - event_trigger_login 80 ms ok 245 - fast_default 1497 ms ok 246 - tablespace 1473 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 2026-05-06 05:25:08.216455613 +0000 +++ /home/postgres/postgres/build/testrun/test_plan_advice/001_replan_regress/data/results/goo.out 2026-05-06 05:27:34.506669217 +0000 @@ -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:28:53.558](141.675s) not ok 1 - regression tests pass [05:28:53.558](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:28:53.559](0.000s) # got: '256' # expected: '0' [05:28:53.559](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:28:53.668](0.109s) # Looks like you failed 1 test of 1.