# Checking port 57288 # Found port 57288 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=57288 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/kDBEEe3RpI Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [05:45:24.840](0.011s) # 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 15112 (standby_1,) [05:45:25.692](0.852s) 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/kDBEEe3RpI -p 57288 --checkpoint fast --no-sync # Backup finished # Checking port 57289 # Found port 57289 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=57289 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/kDBEEe3RpI 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 15178 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/kDBEEe3RpI, port 57288 ok 1 - test_setup 2136 ms # parallel group (20 tests): money char oid varchar regproc txid pg_lsn name uuid int2 text float4 int4 bit boolean float8 int8 enum numeric rangetypes ok 2 + boolean 1289 ms ok 3 + char 613 ms ok 4 + name 792 ms ok 5 + varchar 676 ms ok 6 + text 1095 ms ok 7 + int2 1044 ms ok 8 + int4 1222 ms ok 9 + int8 1394 ms ok 10 + oid 646 ms ok 11 + float4 1118 ms ok 12 + float8 1328 ms ok 13 + bit 1226 ms ok 14 + numeric 2459 ms ok 15 + txid 731 ms ok 16 + uuid 791 ms ok 17 + enum 1468 ms ok 18 + money 130 ms ok 19 + rangetypes 2450 ms ok 20 + pg_lsn 743 ms ok 21 + regproc 639 ms # parallel group (20 tests): path lseg md5 circle line time macaddr macaddr8 numerology point timetz date inet box polygon timestamp interval timestamptz strings multirangetypes ok 22 + strings 1377 ms ok 23 + md5 211 ms ok 24 + numerology 401 ms ok 25 + point 406 ms ok 26 + lseg 204 ms ok 27 + line 367 ms ok 28 + box 763 ms ok 29 + path 171 ms ok 30 + polygon 758 ms ok 31 + circle 313 ms ok 32 + date 560 ms ok 33 + time 344 ms ok 34 + timetz 427 ms ok 35 + timestamp 778 ms ok 36 + timestamptz 1219 ms ok 37 + interval 786 ms ok 38 + inet 555 ms ok 39 + macaddr 335 ms ok 40 + macaddr8 333 ms ok 41 + multirangetypes 1998 ms # parallel group (12 tests): comments unicode misc_sanity regex mvcc xid tstypes type_sanity expressions horology geometry opr_sanity ok 42 + geometry 3883 ms ok 43 + horology 2719 ms ok 44 + tstypes 2265 ms ok 45 + regex 1809 ms ok 46 + type_sanity 2368 ms ok 47 + opr_sanity 4044 ms ok 48 + misc_sanity 1525 ms ok 49 + comments 395 ms ok 50 + expressions 2372 ms ok 51 + unicode 1452 ms ok 52 + xid 2106 ms ok 53 + mvcc 1887 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 356 ms ok 55 + copyselect 157 ms ok 56 + copydml 168 ms ok 57 + insert 1481 ms ok 58 + insert_conflict 940 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 47 ms ok 60 + create_misc 1669 ms ok 61 + create_operator 984 ms ok 62 + create_procedure 1453 ms ok 63 + create_table 3027 ms ok 64 + create_type 1587 ms ok 65 + create_schema 730 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 5142 ms ok 67 + create_index_spgist 1581 ms ok 68 + create_view 2980 ms ok 69 + index_including 969 ms ok 70 + index_including_gist 856 ms # parallel group (16 tests): infinite_recurse errors create_cast roleattributes hash_func create_aggregate typed_table select create_am create_function_sql drop_if_exists vacuum constraints updatable_views inherit triggers ok 71 + create_aggregate 927 ms ok 72 + create_function_sql 1165 ms ok 73 + create_cast 491 ms ok 74 + constraints 3857 ms ok 75 + triggers 7435 ms ok 76 + select 1045 ms ok 77 + inherit 6677 ms ok 78 + typed_table 947 ms ok 79 + vacuum 2471 ms ok 80 + drop_if_exists 1220 ms ok 81 + updatable_views 6429 ms ok 82 + roleattributes 523 ms ok 83 + create_am 1055 ms ok 84 + hash_func 560 ms ok 85 + errors 418 ms ok 86 + infinite_recurse 311 ms ok 87 - sanity_check 2152 ms # parallel group (20 tests): select_distinct_on random delete select_having select_implicit namespace case prepared_xacts select_into select_distinct union hash_index transactions portals subselect arrays btree_index update aggregates join ok 88 + select_into 1140 ms ok 89 + select_distinct 1650 ms ok 90 + select_distinct_on 135 ms ok 91 + select_implicit 436 ms ok 92 + select_having 302 ms ok 93 + subselect 4669 ms ok 94 + union 2659 ms ok 95 + case 1053 ms ok 96 + join 7028 ms ok 97 + aggregates 6730 ms ok 98 + transactions 3333 ms ok 99 + random 195 ms ok 100 + portals 4298 ms ok 101 + arrays 4697 ms ok 102 + btree_index 5286 ms ok 103 + hash_index 3273 ms ok 104 + update 5835 ms ok 105 + delete 198 ms ok 106 + namespace 764 ms ok 107 + prepared_xacts 1010 ms # parallel group (20 tests): init_privs drop_operator lock security_label tablesample password object_address replica_identity collate groupingsets gin spgist gist matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 4800 ms ok 109 + gin 2482 ms ok 110 + gist 2844 ms ok 111 + spgist 2668 ms ok 112 + privileges 6314 ms ok 113 + init_privs 159 ms ok 114 + security_label 396 ms ok 115 + collate 2191 ms ok 116 + matview 3244 ms ok 117 + lock 327 ms ok 118 + replica_identity 2177 ms ok 119 + rowsecurity 6170 ms ok 120 + object_address 1332 ms ok 121 + tablesample 1175 ms ok 122 + groupingsets 2239 ms ok 123 + drop_operator 187 ms ok 124 + password 1214 ms ok 125 + identity 3725 ms ok 126 + generated 3914 ms ok 127 + join_hash 4680 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 269 ms ok 129 + brin_multi 1660 ms # parallel group (17 tests): async dbsize alter_operator tidrangescan tid tidscan tsrf create_role incremental_sort misc without_overlaps sysviews alter_generic misc_functions create_table_like merge collate.icu.utf8 ok 130 + create_table_like 1664 ms ok 131 + alter_generic 1413 ms ok 132 + alter_operator 343 ms ok 133 + misc 1001 ms ok 134 + async 231 ms ok 135 + dbsize 251 ms ok 136 + merge 2424 ms ok 137 + misc_functions 1437 ms ok 138 + sysviews 1259 ms ok 139 + tsrf 350 ms ok 140 + tid 330 ms ok 141 + tidscan 326 ms ok 142 + tidrangescan 316 ms ok 143 + collate.icu.utf8 2464 ms ok 144 + incremental_sort 832 ms ok 145 + create_role 525 ms ok 146 + without_overlaps 1028 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 4039 ms ok 148 + psql 2823 ms ok 149 + psql_crosstab 190 ms ok 150 + amutils 145 ms ok 151 + stats_ext 4731 ms ok 152 + collate.linux.utf8 87 ms ok 153 + collate.windows.win1252 84 ms ok 154 - select_parallel 1412 ms ok 155 - write_parallel 512 ms ok 156 - vacuum_parallel 221 ms # parallel group (2 tests): subscription publication ok 157 + publication 2778 ms ok 158 + subscription 280 ms # parallel group (17 tests): advisory_lock combocid portals_p2 xmlmap functional_deps equivclass dependency bitmapops tsdicts indirect_toast guc select_views tsearch cluster window foreign_data foreign_key ok 159 + select_views 932 ms ok 160 + portals_p2 296 ms ok 161 + foreign_key 4953 ms ok 162 + cluster 1989 ms ok 163 + dependency 460 ms ok 164 + guc 915 ms ok 165 + bitmapops 673 ms ok 166 + combocid 279 ms ok 167 + tsearch 1971 ms ok 168 + tsdicts 684 ms ok 169 + foreign_data 3814 ms ok 170 + window 3311 ms ok 171 + xmlmap 278 ms ok 172 + functional_deps 276 ms ok 173 + advisory_lock 240 ms ok 174 + indirect_toast 814 ms ok 175 + equivclass 397 ms # parallel group (7 tests): jsonpath_encoding json_encoding jsonpath sqljson jsonb_jsonpath json jsonb ok 176 + json 331 ms ok 177 + jsonb 543 ms ok 178 + json_encoding 69 ms ok 179 + jsonpath 110 ms ok 180 + jsonpath_encoding 63 ms ok 181 + jsonb_jsonpath 192 ms ok 182 + sqljson 165 ms # parallel group (18 tests): prepare returning conversion limit plancache temp copy2 sequence rowtypes largeobject truncate rangefuncs with xml polymorphism domain plpgsql alter_table ok 183 + plancache 1238 ms ok 184 + limit 784 ms ok 185 + plpgsql 8444 ms ok 186 + copy2 1658 ms ok 187 + temp 1603 ms ok 188 + domain 2343 ms ok 189 + rangefuncs 1835 ms ok 190 + prepare 320 ms ok 191 + conversion 741 ms ok 192 + truncate 1783 ms ok 193 + alter_table 10809 ms ok 194 + sequence 1678 ms ok 195 + polymorphism 2220 ms ok 196 + rowtypes 1679 ms ok 197 + returning 659 ms ok 198 + largeobject 1687 ms ok 199 + with 1814 ms ok 200 + xml 2166 ms # parallel group (13 tests): hash_part predicate explain reloptions partition_info memoize compression partition_aggregate tuplesort stats partition_join indexing partition_prune ok 201 + partition_join 4045 ms ok 202 + partition_prune 4393 ms ok 203 + reloptions 594 ms ok 204 + hash_part 199 ms ok 205 + indexing 4341 ms ok 206 + partition_aggregate 2233 ms ok 207 + partition_info 898 ms ok 208 + tuplesort 2267 ms not ok 209 + explain 255 ms ok 210 + compression 1136 ms ok 211 + memoize 964 ms ok 212 + stats 2916 ms ok 213 + predicate 189 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 181 ms ok 215 + event_trigger 516 ms ok 216 - event_trigger_login 61 ms ok 217 - fast_default 1192 ms ok 218 - tablespace 818 ms 1..218 # 1 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/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-09 05:41:30 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/explain.out 2024-03-09 05:46:52 @@ -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 === [05:46:59.650](93.958s) not ok 2 - regression tests pass [05:46:59.651](0.001s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [05:46:59.651](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 4 3 4 4 1 32 1 1 1 41 6 104 2 1 5 1006 1 2 5 17 33 34 -2 46 1 1 1 1 -1 1 1 -1 -32768 32767 1 1 9 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14098978 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 57288 --no-unlogged-table-data [05:47:08.290](8.639s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 57289 [05:47:30.312](22.022s) 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 [05:47:30.969](0.657s) ok 5 - compare primary and standby dumps [05:47:31.226](0.257s) 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" [05:47:31.878](0.652s) 1..6 [05:47:31.881](0.003s) # Looks like you failed 1 test of 6.