# Checking port 53205 # Found port 53205 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=53205 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/11C9j79fn4 Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [02:10:03.540](0.012s) # 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 17234 (standby_1,) [02:10:04.426](0.886s) 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/11C9j79fn4 -p 53205 --checkpoint fast --no-sync # Backup finished # Checking port 53206 # Found port 53206 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=53206 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/11C9j79fn4 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 17390 # using postmaster on /var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/11C9j79fn4, port 53205 ok 1 - test_setup 1107 ms # parallel group (20 tests): oid varchar char txid regproc pg_lsn name uuid int2 text float4 money boolean int4 bit float8 int8 enum numeric rangetypes ok 2 + boolean 1338 ms ok 3 + char 250 ms ok 4 + name 780 ms ok 5 + varchar 242 ms ok 6 + text 981 ms ok 7 + int2 970 ms ok 8 + int4 1343 ms ok 9 + int8 1500 ms ok 10 + oid 231 ms ok 11 + float4 976 ms ok 12 + float8 1475 ms ok 13 + bit 1389 ms ok 14 + numeric 2463 ms ok 15 + txid 578 ms ok 16 + uuid 944 ms ok 17 + enum 1872 ms ok 18 + money 1087 ms ok 19 + rangetypes 2956 ms ok 20 + pg_lsn 577 ms ok 21 + regproc 570 ms # parallel group (20 tests): circle time md5 timetz path lseg line macaddr macaddr8 numerology point date polygon timestamp inet box interval timestamptz strings multirangetypes ok 22 + strings 2844 ms ok 23 + md5 502 ms ok 24 + numerology 799 ms ok 25 + point 799 ms ok 26 + lseg 758 ms ok 27 + line 764 ms ok 28 + box 1841 ms ok 29 + path 753 ms ok 30 + polygon 1030 ms ok 31 + circle 70 ms ok 32 + date 812 ms ok 33 + time 128 ms ok 34 + timetz 733 ms ok 35 + timestamp 1209 ms ok 36 + timestamptz 2402 ms ok 37 + interval 2290 ms ok 38 + inet 1298 ms ok 39 + macaddr 736 ms ok 40 + macaddr8 746 ms ok 41 + multirangetypes 3760 ms # parallel group (12 tests): comments misc_sanity unicode xid mvcc tstypes horology expressions regex type_sanity geometry opr_sanity ok 42 + geometry 1691 ms ok 43 + horology 370 ms ok 44 + tstypes 281 ms ok 45 + regex 844 ms ok 46 + type_sanity 1091 ms ok 47 + opr_sanity 1814 ms ok 48 + misc_sanity 120 ms ok 49 + comments 70 ms ok 50 + expressions 366 ms ok 51 + unicode 118 ms ok 52 + xid 215 ms ok 53 + mvcc 217 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 1712 ms ok 55 + copyselect 740 ms ok 56 + copydml 732 ms ok 57 + insert 2694 ms ok 58 + insert_conflict 2370 ms # parallel group (7 tests): create_function_c create_schema create_operator create_type create_procedure create_misc create_table ok 59 + create_function_c 58 ms ok 60 + create_misc 167 ms ok 61 + create_operator 149 ms ok 62 + create_procedure 161 ms ok 63 + create_table 491 ms ok 64 + create_type 154 ms ok 65 + create_schema 126 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index ok 66 + create_index 3939 ms ok 67 + create_index_spgist 1892 ms ok 68 + create_view 3083 ms ok 69 + index_including 1584 ms ok 70 + index_including_gist 829 ms # parallel group (16 tests): create_cast errors infinite_recurse create_aggregate typed_table hash_func select roleattributes drop_if_exists create_am create_function_sql vacuum constraints inherit updatable_views triggers ok 71 + create_aggregate 751 ms ok 72 + create_function_sql 1251 ms ok 73 + create_cast 112 ms ok 74 + constraints 2010 ms ok 75 + triggers 3546 ms ok 76 + select 1057 ms ok 77 + inherit 2434 ms ok 78 + typed_table 744 ms ok 79 + vacuum 1830 ms ok 80 + drop_if_exists 1092 ms ok 81 + updatable_views 2634 ms ok 82 + roleattributes 1043 ms ok 83 + create_am 1136 ms ok 84 + hash_func 1007 ms ok 85 + errors 116 ms ok 86 + infinite_recurse 156 ms ok 87 - sanity_check 440 ms # parallel group (20 tests): select_distinct_on select_having delete case select_implicit select_distinct select_into namespace random prepared_xacts union transactions portals arrays subselect update hash_index btree_index join aggregates ok 88 + select_into 484 ms ok 89 + select_distinct 467 ms ok 90 + select_distinct_on 89 ms ok 91 + select_implicit 457 ms ok 92 + select_having 246 ms ok 93 + subselect 1805 ms ok 94 + union 742 ms ok 95 + case 442 ms ok 96 + join 4180 ms ok 97 + aggregates 4197 ms ok 98 + transactions 836 ms ok 99 + random 537 ms ok 100 + portals 1342 ms ok 101 + arrays 1394 ms ok 102 + btree_index 3442 ms ok 103 + hash_index 1840 ms ok 104 + update 1800 ms ok 105 + delete 285 ms ok 106 + namespace 455 ms ok 107 + prepared_xacts 509 ms # parallel group (20 tests): drop_operator init_privs security_label lock password object_address tablesample spgist replica_identity collate groupingsets gin gist matview identity generated rowsecurity join_hash brin privileges ok 108 + brin 4040 ms ok 109 + gin 1962 ms ok 110 + gist 2365 ms ok 111 + spgist 1566 ms ok 112 + privileges 5648 ms ok 113 + init_privs 205 ms ok 114 + security_label 706 ms ok 115 + collate 1629 ms ok 116 + matview 2467 ms ok 117 + lock 701 ms ok 118 + replica_identity 1549 ms ok 119 + rowsecurity 3706 ms ok 120 + object_address 1173 ms ok 121 + tablesample 1230 ms ok 122 + groupingsets 1721 ms ok 123 + drop_operator 173 ms ok 124 + password 683 ms ok 125 + identity 2687 ms ok 126 + generated 3483 ms ok 127 + join_hash 3988 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 105 ms ok 129 + brin_multi 1231 ms # parallel group (18 tests): async dbsize collate.utf8 sysviews tidrangescan tid tidscan tsrf alter_operator misc misc_functions create_role incremental_sort alter_generic create_table_like merge without_overlaps collate.icu.utf8 ok 130 + create_table_like 1809 ms ok 131 + alter_generic 1428 ms ok 132 + alter_operator 816 ms ok 133 + misc 834 ms ok 134 + async 389 ms ok 135 + dbsize 402 ms ok 136 + merge 2134 ms ok 137 + misc_functions 863 ms ok 138 + sysviews 478 ms ok 139 + tsrf 672 ms ok 140 + tid 542 ms ok 141 + tidscan 619 ms ok 142 + tidrangescan 487 ms ok 143 + collate.utf8 408 ms ok 144 + collate.icu.utf8 2213 ms ok 145 + incremental_sort 900 ms ok 146 + create_role 872 ms ok 147 + without_overlaps 2119 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 148 + rules 2420 ms ok 149 + psql 2258 ms ok 150 + psql_crosstab 622 ms ok 151 + amutils 368 ms ok 152 + stats_ext 4603 ms ok 153 + collate.linux.utf8 96 ms ok 154 + collate.windows.win1252 93 ms not ok 155 - select_parallel 1705 ms ok 156 - write_parallel 295 ms ok 157 - vacuum_parallel 389 ms # parallel group (2 tests): subscription publication ok 158 + publication 1502 ms ok 159 + subscription 440 ms # parallel group (17 tests): advisory_lock bitmapops combocid indirect_toast xmlmap functional_deps portals_p2 tsdicts dependency select_views equivclass guc tsearch cluster window foreign_data foreign_key ok 160 + select_views 1680 ms ok 161 + portals_p2 1494 ms ok 162 + foreign_key 6387 ms ok 163 + cluster 2921 ms ok 164 + dependency 1564 ms ok 165 + guc 1959 ms ok 166 + bitmapops 1038 ms ok 167 + combocid 1066 ms ok 168 + tsearch 2200 ms ok 169 + tsdicts 1485 ms ok 170 + foreign_data 4879 ms ok 171 + window 3825 ms ok 172 + xmlmap 1399 ms ok 173 + functional_deps 1448 ms ok 174 + advisory_lock 968 ms ok 175 + indirect_toast 1212 ms ok 176 + equivclass 1806 ms # parallel group (8 tests): jsonpath_encoding jsonpath json_encoding sqljson sqljson_queryfuncs jsonb_jsonpath json jsonb ok 177 + json 1130 ms ok 178 + jsonb 1925 ms ok 179 + json_encoding 193 ms ok 180 + jsonpath 156 ms ok 181 + jsonpath_encoding 120 ms ok 182 + jsonb_jsonpath 617 ms ok 183 + sqljson 476 ms ok 184 + sqljson_queryfuncs 609 ms # parallel group (18 tests): prepare returning conversion limit plancache largeobject temp sequence truncate copy2 rowtypes xml with polymorphism rangefuncs domain plpgsql alter_table ok 185 + plancache 2082 ms ok 186 + limit 2048 ms ok 187 + plpgsql 5482 ms ok 188 + copy2 2655 ms ok 189 + temp 2368 ms ok 190 + domain 3593 ms ok 191 + rangefuncs 3536 ms ok 192 + prepare 830 ms ok 193 + conversion 1756 ms ok 194 + truncate 2553 ms ok 195 + alter_table 12682 ms ok 196 + sequence 2507 ms ok 197 + polymorphism 3467 ms ok 198 + rowtypes 3032 ms ok 199 + returning 1676 ms ok 200 + largeobject 2292 ms ok 201 + with 3114 ms ok 202 + xml 3084 ms # parallel group (13 tests): predicate explain hash_part reloptions partition_info memoize compression partition_aggregate tuplesort stats partition_join indexing partition_prune ok 203 + partition_join 5478 ms ok 204 + partition_prune 7558 ms ok 205 + reloptions 298 ms ok 206 + hash_part 205 ms ok 207 + indexing 5511 ms ok 208 + partition_aggregate 1866 ms ok 209 + partition_info 309 ms ok 210 + tuplesort 2461 ms ok 211 + explain 98 ms ok 212 + compression 887 ms ok 213 + memoize 381 ms ok 214 + stats 2647 ms ok 215 + predicate 61 ms # parallel group (2 tests): oidjoins event_trigger ok 216 + oidjoins 128 ms ok 217 + event_trigger 569 ms ok 218 - event_trigger_login 82 ms ok 219 - fast_default 916 ms ok 220 - tablespace 2319 ms 1..220 # 1 of 220 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/select_parallel.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out --- /Users/admin/pgsql/src/test/regress/expected/select_parallel.out 2024-03-29 02:07:20 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/select_parallel.out 2024-03-29 02:10:47 @@ -451,26 +451,36 @@ join tenk1 t3 on t3.stringu1 = tenk1.stringu1 where tenk1.four = t.four ); - QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Seq Scan on public.tenk1 t + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Hash Join Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 - Filter: (SubPlan 1) - SubPlan 1 - -> Hash Join - Output: t.two - Hash Cond: (tenk1.stringu1 = t3.stringu1) - -> Seq Scan on public.tenk1 - Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 - Filter: (tenk1.four = t.four) - -> Hash - Output: t3.stringu1 - -> Gather - Output: t3.stringu1 - Workers Planned: 4 - -> Parallel Seq Scan on public.tenk1 t3 - Output: t3.stringu1 -(17 rows) + Inner Unique: true + Hash Cond: (t.four = tenk1.four) + -> Gather + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Workers Planned: 4 + -> Parallel Seq Scan on public.tenk1 t + Output: t.unique1, t.unique2, t.two, t.four, t.ten, t.twenty, t.hundred, t.thousand, t.twothousand, t.fivethous, t.tenthous, t.odd, t.even, t.stringu1, t.stringu2, t.string4 + Filter: (t.two IS NOT NULL) + -> Hash + Output: tenk1.four + -> HashAggregate + Output: tenk1.four + Group Key: tenk1.four + -> Gather + Output: tenk1.four + Workers Planned: 4 + -> Parallel Hash Join + Output: tenk1.four + Hash Cond: (tenk1.stringu1 = t3.stringu1) + -> Parallel Seq Scan on public.tenk1 + Output: tenk1.unique1, tenk1.unique2, tenk1.two, tenk1.four, tenk1.ten, tenk1.twenty, tenk1.hundred, tenk1.thousand, tenk1.twothousand, tenk1.fivethous, tenk1.tenthous, tenk1.odd, tenk1.even, tenk1.stringu1, tenk1.stringu2, tenk1.string4 + -> Parallel Hash + Output: t3.stringu1 + -> Parallel Seq Scan on public.tenk1 t3 + Output: t3.stringu1 +(27 rows) -- this is not parallel-safe due to use of random() within SubLink's testexpr: explain (costs off) === EOF === [02:11:24.610](80.184s) not ok 2 - regression tests pass [02:11:24.611](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [02:11:24.611](0.000s) # got: '256' # expected: '0' 1 1 1 2 1 1 1 9 5 5 4001 3 4 3 4 4 1 32 41 1 1 1 6 104 2 1 5 1006 1 2 5 17 -2 33 34 46 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/140A4130 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 53205 --no-unlogged-table-data [02:11:31.148](6.538s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 53206 [02:11:44.967](13.819s) 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 [02:11:46.125](1.158s) ok 5 - compare primary and standby dumps [02:11:46.650](0.525s) 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" [02:11:47.193](0.543s) 1..6 [02:11:47.236](0.042s) # Looks like you failed 1 test of 6.