# Checking port 50012 # Found port 50012 Name: primary Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/archives Connection string: port=50012 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/r8EA9OkuW9 Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [12:36:17.514](0.026s) # initializing database system by copying initdb template # Running: cp -RPp /Users/admin/pgsql/build/tmp_install/initdb-template /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -l /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log -o --cluster-name=primary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 14863 (standby_1,) [12:36:18.759](1.245s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/backup/my_backup -h /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/r8EA9OkuW9 -p 50012 --checkpoint fast --no-sync # Backup finished # Checking port 50013 # Found port 50013 Name: standby_1 Data directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/backup Archive directory: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/archives Connection string: port=50013 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/r8EA9OkuW9 Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_standby_1.log # Initializing node "standby_1" from backup "my_backup" of node "primary" ### Enabling streaming replication for node "standby_1" ### Starting node "standby_1" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -l /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_standby_1.log -o --cluster-name=standby_1 start waiting for server to start.... done server started # Postmaster PID for node "standby_1" is 15050 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/r8EA9OkuW9, port 50012 ok 1 - test_setup 2905 ms # parallel group (20 tests): varchar oid name pg_lsn char txid text regproc uuid int2 money float4 boolean int4 bit float8 int8 enum rangetypes numeric ok 2 + boolean 2177 ms ok 3 + char 803 ms ok 4 + name 766 ms ok 5 + varchar 726 ms ok 6 + text 914 ms ok 7 + int2 1532 ms ok 8 + int4 2465 ms ok 9 + int8 2785 ms ok 10 + oid 724 ms ok 11 + float4 1586 ms ok 12 + float8 2702 ms ok 13 + bit 2462 ms ok 14 + numeric 3365 ms ok 15 + txid 788 ms ok 16 + uuid 1480 ms ok 17 + enum 2791 ms ok 18 + money 1509 ms ok 19 + rangetypes 3320 ms ok 20 + pg_lsn 755 ms ok 21 + regproc 876 ms # parallel group (20 tests): path line md5 time circle lseg timetz macaddr numerology macaddr8 point date inet polygon timestamp box interval timestamptz strings multirangetypes ok 22 + strings 1378 ms ok 23 + md5 174 ms ok 24 + numerology 392 ms ok 25 + point 404 ms ok 26 + lseg 350 ms ok 27 + line 81 ms ok 28 + box 531 ms ok 29 + path 75 ms ok 30 + polygon 418 ms ok 31 + circle 322 ms ok 32 + date 396 ms ok 33 + time 315 ms ok 34 + timetz 343 ms ok 35 + timestamp 466 ms ok 36 + timestamptz 875 ms ok 37 + interval 795 ms ok 38 + inet 389 ms ok 39 + macaddr 344 ms ok 40 + macaddr8 359 ms ok 41 + multirangetypes 2632 ms # parallel group (12 tests): comments misc_sanity regex mvcc unicode xid tstypes expressions type_sanity horology opr_sanity geometry ok 42 + geometry 10226 ms ok 43 + horology 8950 ms ok 44 + tstypes 6420 ms ok 45 + regex 2478 ms ok 46 + type_sanity 8464 ms ok 47 + opr_sanity 10201 ms ok 48 + misc_sanity 2026 ms ok 49 + comments 243 ms ok 50 + expressions 7961 ms ok 51 + unicode 2493 ms ok 52 + xid 5924 ms ok 53 + mvcc 2475 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 2188 ms ok 55 + copyselect 956 ms ok 56 + copydml 1089 ms ok 57 + insert 5102 ms ok 58 + insert_conflict 4143 ms # parallel group (7 tests): create_function_c create_schema create_operator create_procedure create_type create_misc create_table ok 59 + create_function_c 37 ms ok 60 + create_misc 4716 ms ok 61 + create_operator 2732 ms ok 62 + create_procedure 3785 ms ok 63 + create_table 6265 ms ok 64 + create_type 3796 ms ok 65 + create_schema 1756 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 5578 ms ok 67 + create_index_spgist 2683 ms ok 68 + create_view 3203 ms ok 69 + index_including 1300 ms ok 70 + index_including_gist 1158 ms # parallel group (16 tests): create_cast errors infinite_recurse typed_table hash_func create_aggregate roleattributes select create_am drop_if_exists create_function_sql vacuum constraints inherit updatable_views triggers ok 71 + create_aggregate 788 ms ok 72 + create_function_sql 1339 ms ok 73 + create_cast 155 ms ok 74 + constraints 2716 ms ok 75 + triggers 8111 ms ok 76 + select 861 ms ok 77 + inherit 7274 ms ok 78 + typed_table 406 ms ok 79 + vacuum 2317 ms ok 80 + drop_if_exists 1320 ms ok 81 + updatable_views 7386 ms ok 82 + roleattributes 815 ms ok 83 + create_am 1162 ms ok 84 + hash_func 757 ms ok 85 + errors 144 ms ok 86 + infinite_recurse 187 ms ok 87 - sanity_check 1172 ms # parallel group (20 tests): select_distinct_on delete random select_having select_implicit namespace prepared_xacts case select_into select_distinct union transactions hash_index portals subselect btree_index arrays update aggregates join ok 88 + select_into 1964 ms ok 89 + select_distinct 1987 ms ok 90 + select_distinct_on 200 ms ok 91 + select_implicit 881 ms ok 92 + select_having 323 ms ok 93 + subselect 4898 ms ok 94 + union 2499 ms ok 95 + case 931 ms ok 96 + join 7962 ms ok 97 + aggregates 7190 ms ok 98 + transactions 2887 ms ok 99 + random 261 ms ok 100 + portals 4521 ms ok 101 + arrays 5053 ms ok 102 + btree_index 4936 ms ok 103 + hash_index 4396 ms ok 104 + update 5108 ms ok 105 + delete 230 ms ok 106 + namespace 854 ms ok 107 + prepared_xacts 856 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample spgist password object_address replica_identity lock gin gist collate groupingsets matview identity generated brin join_hash rowsecurity privileges ok 108 + brin 9073 ms ok 109 + gin 3265 ms ok 110 + gist 3573 ms ok 111 + spgist 2583 ms ok 112 + privileges 11410 ms ok 113 + init_privs 275 ms ok 114 + security_label 1450 ms ok 115 + collate 3845 ms ok 116 + matview 4722 ms ok 117 + lock 3058 ms ok 118 + replica_identity 2837 ms ok 119 + rowsecurity 10345 ms ok 120 + object_address 2741 ms ok 121 + tablesample 2471 ms ok 122 + groupingsets 4529 ms ok 123 + drop_operator 906 ms ok 124 + password 2724 ms ok 125 + identity 5095 ms ok 126 + generated 7169 ms ok 127 + join_hash 9023 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 328 ms ok 129 + brin_multi 1327 ms # parallel group (17 tests): async dbsize sysviews tid tidrangescan tidscan alter_operator without_overlaps misc tsrf incremental_sort create_role misc_functions create_table_like alter_generic merge collate.icu.utf8 ok 130 + create_table_like 6036 ms ok 131 + alter_generic 6272 ms ok 132 + alter_operator 1693 ms ok 133 + misc 2200 ms ok 134 + async 171 ms ok 135 + dbsize 283 ms not ok 136 + merge 9521 ms ok 137 + misc_functions 2909 ms ok 138 + sysviews 850 ms ok 139 + tsrf 2723 ms ok 140 + tid 874 ms ok 141 + tidscan 1619 ms ok 142 + tidrangescan 1456 ms ok 143 + collate.icu.utf8 9685 ms ok 144 + incremental_sort 2811 ms ok 145 + create_role 2810 ms ok 146 + without_overlaps 2122 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 5356 ms ok 148 + psql 5177 ms ok 149 + psql_crosstab 114 ms ok 150 + amutils 66 ms ok 151 + stats_ext 6592 ms ok 152 + collate.linux.utf8 39 ms ok 153 + collate.windows.win1252 38 ms ok 154 - select_parallel 3340 ms ok 155 - write_parallel 560 ms ok 156 - vacuum_parallel 721 ms # parallel group (2 tests): subscription publication ok 157 + publication 3459 ms ok 158 + subscription 1517 ms # parallel group (17 tests): advisory_lock xmlmap portals_p2 combocid bitmapops tsdicts functional_deps indirect_toast equivclass dependency select_views guc tsearch cluster window foreign_data foreign_key ok 159 + select_views 1920 ms ok 160 + portals_p2 444 ms ok 161 + foreign_key 19654 ms ok 162 + cluster 2870 ms ok 163 + dependency 1878 ms ok 164 + guc 2352 ms ok 165 + bitmapops 718 ms ok 166 + combocid 637 ms ok 167 + tsearch 2747 ms ok 168 + tsdicts 710 ms ok 169 + foreign_data 8132 ms ok 170 + window 6375 ms ok 171 + xmlmap 374 ms ok 172 + functional_deps 965 ms ok 173 + advisory_lock 302 ms ok 174 + indirect_toast 1275 ms ok 175 + equivclass 1504 ms # parallel group (7 tests): jsonpath_encoding jsonpath json_encoding jsonb_jsonpath sqljson json jsonb ok 176 + json 7277 ms ok 177 + jsonb 9101 ms ok 178 + json_encoding 1204 ms ok 179 + jsonpath 1048 ms ok 180 + jsonpath_encoding 929 ms ok 181 + jsonb_jsonpath 2537 ms ok 182 + sqljson 6933 ms # parallel group (18 tests): prepare returning conversion plancache limit largeobject temp xml copy2 sequence truncate rowtypes with domain polymorphism rangefuncs plpgsql alter_table ok 183 + plancache 5382 ms ok 184 + limit 5473 ms ok 185 + plpgsql 19521 ms ok 186 + copy2 11539 ms ok 187 + temp 9336 ms ok 188 + domain 14026 ms ok 189 + rangefuncs 14057 ms ok 190 + prepare 240 ms ok 191 + conversion 4826 ms ok 192 + truncate 12284 ms ok 193 + alter_table 26396 ms ok 194 + sequence 11586 ms ok 195 + polymorphism 14025 ms ok 196 + rowtypes 12397 ms ok 197 + returning 4749 ms ok 198 + largeobject 7140 ms ok 199 + with 12509 ms ok 200 + xml 11307 ms # parallel group (13 tests): predicate explain hash_part reloptions partition_info memoize tuplesort compression partition_aggregate stats indexing partition_join partition_prune ok 201 + partition_join 29969 ms ok 202 + partition_prune 29986 ms ok 203 + reloptions 3215 ms ok 204 + hash_part 2776 ms ok 205 + indexing 29332 ms ok 206 + partition_aggregate 11278 ms ok 207 + partition_info 3285 ms ok 208 + tuplesort 6538 ms not ok 209 + explain 2675 ms ok 210 + compression 6537 ms ok 211 + memoize 3391 ms ok 212 + stats 17040 ms ok 213 + predicate 2173 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 469 ms ok 215 + event_trigger 1655 ms ok 216 - event_trigger_login 554 ms ok 217 - fast_default 1167 ms ok 218 - tablespace 1851 ms 1..218 # 2 of 218 tests failed. # The differences that caused some tests to fail can be viewed in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "/Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/regression.diffs === diff -U3 /Users/admin/pgsql/src/test/regress/expected/merge.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/merge.out --- /Users/admin/pgsql/src/test/regress/expected/merge.out 2024-03-19 12:34:25 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/merge.out 2024-03-19 12:37:37 @@ -1675,8 +1675,10 @@ QUERY PLAN ------------------------------------------------------------------------------------- Merge on public.tgt t + JIT: true -> Hash Join Output: t.ctid, s.a, s.b, s.c, s.d, s.ctid + JIT: true Hash Cond: (t.a = s.a) Join Filter: (t.b < (SubPlan 1)) -> Seq Scan on public.tgt t @@ -1706,7 +1708,7 @@ -> Seq Scan on public.ref r_1 Output: r_1.ab, r_1.cd Filter: ((r_1.ab = (s.a + s.b)) AND (r_1.cd = (s.c - s.d))) -(32 rows) +(34 rows) DROP TABLE src, tgt, ref; -- Subqueries diff -U3 /Users/admin/pgsql/src/test/regress/expected/explain.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/explain.out --- /Users/admin/pgsql/src/test/regress/expected/explain.out 2024-03-19 12:34:25 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/explain.out 2024-03-19 12:38:57 @@ -332,16 +332,16 @@ CONTEXT: PL/pgSQL function explain_filter(text) line 5 at FOR over EXECUTE statement -- MEMORY option select explain_filter('explain (memory) select * from int8_tbl i8'); - explain_filter ---------------------------------------------------------- - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) + explain_filter +----------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) Memory: used=N bytes allocated=N bytes (2 rows) select explain_filter('explain (memory, analyze) select * from int8_tbl i8'); - explain_filter ------------------------------------------------------------------------------------------------ - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N) + explain_filter +------------------------------------------------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) (actual time=N.N..N.N rows=N loops=N) Memory: used=N bytes allocated=N bytes Planning Time: N.N ms Execution Time: N.N ms @@ -360,6 +360,7 @@ Total Cost: N.N + Plan Rows: N + Plan Width: N + + Plan Calls: N + Planning: + Memory Used: N + Memory Allocated: N + @@ -381,6 +382,7 @@ "Total Cost": N.N, + "Plan Rows": N, + "Plan Width": N, + + "Plan Calls": N, + "Actual Startup Time": N.N, + "Actual Total Time": N.N, + "Actual Rows": N, + @@ -400,9 +402,9 @@ prepare int8_query as select * from int8_tbl i8; select explain_filter('explain (memory) execute int8_query'); - explain_filter ---------------------------------------------------------- - Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) + explain_filter +----------------------------------------------------------------- + Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N loops=N) Memory: used=N bytes allocated=N bytes (2 rows) === EOF === [12:39:30.997](192.238s) not ok 2 - regression tests pass [12:39:30.997](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [12:39:30.997](0.000s) # got: '256' # expected: '0' 46 1 1 1 2 1 1 1 1 9 1 1 5 5 1 1 4001 -1 1 1 -1 -32768 32767 41 3 4 3 4 4 1 32 1 1 1 6 104 2 1 1 1 5 1006 -2 1 2 9 5 17 33 34 Waiting for replication conn standby_1's replay_lsn to pass 0/155DCBE0 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 50012 --no-unlogged-table-data [12:39:44.389](13.391s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 50013 [12:39:53.725](9.336s) ok 4 - dump standby server # Running: diff /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump [12:39:53.908](0.183s) ok 5 - compare primary and standby dumps [12:39:54.052](0.144s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_standby_1_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "standby_1" ### Stopping node "primary" using mode fast # Running: pg_ctl -D /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/t_027_stream_regress_primary_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" [12:39:55.057](1.005s) 1..6 [12:39:55.058](0.001s) # Looks like you failed 1 test of 6.