# Checking port 65462 # Found port 65462 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=65462 host=/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/UO6TgeVjyV Log file: /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/log/027_stream_regress_primary.log [13:04:03.927](0.010s) # 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 16506 (standby_1,) [13:04:04.972](1.045s) 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/xc/tpssff9959345bnqq4c6tlww0000gn/T/UO6TgeVjyV -p 65462 --checkpoint fast --no-sync # Backup finished # Checking port 65463 # Found port 65463 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=65463 host=/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/UO6TgeVjyV 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 16625 # using postmaster on /var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/UO6TgeVjyV, port 65462 ok 1 - test_setup 4651 ms # parallel group (20 tests): oid varchar txid pg_lsn char name uuid int2 text float4 regproc money int4 boolean bit float8 int8 enum rangetypes numeric ok 2 + boolean 973 ms ok 3 + char 899 ms ok 4 + name 908 ms ok 5 + varchar 576 ms ok 6 + text 950 ms ok 7 + int2 936 ms ok 8 + int4 956 ms ok 9 + int8 1266 ms ok 10 + oid 434 ms ok 11 + float4 928 ms ok 12 + float8 1177 ms ok 13 + bit 1143 ms ok 14 + numeric 1607 ms ok 15 + txid 840 ms ok 16 + uuid 875 ms ok 17 + enum 1264 ms ok 18 + money 906 ms ok 19 + rangetypes 1440 ms ok 20 + pg_lsn 828 ms ok 21 + regproc 894 ms # parallel group (20 tests): md5 lseg line path circle timetz macaddr time macaddr8 numerology point date polygon timestamp inet box interval timestamptz multirangetypes strings ok 22 + strings 2101 ms ok 23 + md5 329 ms ok 24 + numerology 1476 ms ok 25 + point 1477 ms ok 26 + lseg 333 ms ok 27 + line 632 ms ok 28 + box 1746 ms ok 29 + path 1335 ms ok 30 + polygon 1657 ms ok 31 + circle 1380 ms ok 32 + date 1567 ms ok 33 + time 1402 ms ok 34 + timetz 1389 ms ok 35 + timestamp 1642 ms ok 36 + timestamptz 1845 ms ok 37 + interval 1736 ms ok 38 + inet 1636 ms ok 39 + macaddr 1380 ms ok 40 + macaddr8 1423 ms ok 41 + multirangetypes 1933 ms # parallel group (12 tests): comments misc_sanity mvcc unicode regex xid tstypes expressions type_sanity geometry horology opr_sanity ok 42 + geometry 751 ms ok 43 + horology 752 ms ok 44 + tstypes 562 ms ok 45 + regex 412 ms ok 46 + type_sanity 578 ms ok 47 + opr_sanity 1296 ms ok 48 + misc_sanity 64 ms ok 49 + comments 42 ms ok 50 + expressions 563 ms ok 51 + unicode 348 ms ok 52 + xid 503 ms ok 53 + mvcc 320 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 738 ms ok 55 + copyselect 156 ms ok 56 + copydml 200 ms ok 57 + insert 2370 ms ok 58 + insert_conflict 1216 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 167 ms ok 60 + create_misc 2173 ms ok 61 + create_operator 1274 ms ok 62 + create_procedure 1620 ms ok 63 + create_table 5037 ms ok 64 + create_type 1567 ms ok 65 + create_schema 972 ms # parallel group (5 tests): index_including_gist index_including create_index_spgist create_view create_index not ok 66 + create_index 11894 ms ok 67 + create_index_spgist 4906 ms ok 68 + create_view 6851 ms ok 69 + index_including 4635 ms ok 70 + index_including_gist 2631 ms # parallel group (16 tests): infinite_recurse errors create_cast typed_table hash_func create_aggregate roleattributes select create_am drop_if_exists create_function_sql constraints vacuum inherit updatable_views triggers ok 71 + create_aggregate 2584 ms ok 72 + create_function_sql 3390 ms ok 73 + create_cast 2062 ms ok 74 + constraints 3510 ms ok 75 + triggers 9968 ms ok 76 + select 3127 ms ok 77 + inherit 8341 ms ok 78 + typed_table 2081 ms ok 79 + vacuum 3519 ms ok 80 + drop_if_exists 3250 ms ok 81 + updatable_views 8516 ms ok 82 + roleattributes 2595 ms ok 83 + create_am 3152 ms ok 84 + hash_func 2101 ms ok 85 + errors 1051 ms ok 86 + infinite_recurse 902 ms ok 87 - sanity_check 1912 ms # parallel group (20 tests): select_distinct_on delete select_having select_implicit namespace prepared_xacts random case select_into select_distinct union transactions portals hash_index btree_index subselect arrays update aggregates join ok 88 + select_into 1237 ms ok 89 + select_distinct 1322 ms ok 90 + select_distinct_on 107 ms ok 91 + select_implicit 727 ms ok 92 + select_having 176 ms ok 93 + subselect 3043 ms ok 94 + union 1473 ms ok 95 + case 1199 ms ok 96 + join 6514 ms ok 97 + aggregates 5399 ms ok 98 + transactions 1500 ms ok 99 + random 1159 ms ok 100 + portals 1545 ms ok 101 + arrays 3528 ms ok 102 + btree_index 2982 ms ok 103 + hash_index 2129 ms ok 104 + update 3761 ms ok 105 + delete 103 ms ok 106 + namespace 689 ms ok 107 + prepared_xacts 883 ms # parallel group (20 tests): init_privs drop_operator object_address security_label tablesample gin password spgist replica_identity lock collate gist groupingsets matview identity generated join_hash brin rowsecurity privileges ok 108 + brin 7465 ms ok 109 + gin 1609 ms ok 110 + gist 2819 ms ok 111 + spgist 1618 ms ok 112 + privileges 10214 ms ok 113 + init_privs 134 ms ok 114 + security_label 1270 ms ok 115 + collate 1971 ms ok 116 + matview 4016 ms ok 117 + lock 1764 ms ok 118 + replica_identity 1665 ms ok 119 + rowsecurity 8653 ms ok 120 + object_address 1018 ms ok 121 + tablesample 1558 ms ok 122 + groupingsets 3496 ms ok 123 + drop_operator 740 ms ok 124 + password 1583 ms ok 125 + identity 4061 ms ok 126 + generated 5546 ms ok 127 + join_hash 7400 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 2146 ms ok 129 + brin_multi 4366 ms # parallel group (17 tests): async dbsize collate.utf8 tid sysviews tidrangescan tidscan alter_operator tsrf incremental_sort misc create_role misc_functions create_table_like alter_generic merge collate.icu.utf8 ok 130 + create_table_like 2307 ms ok 131 + alter_generic 2699 ms ok 132 + alter_operator 1092 ms ok 133 + misc 1282 ms ok 134 + async 251 ms ok 135 + dbsize 270 ms ok 136 + merge 3253 ms ok 137 + misc_functions 1327 ms ok 138 + sysviews 1046 ms ok 139 + tsrf 1259 ms ok 140 + tid 1023 ms ok 141 + tidscan 1050 ms ok 142 + tidrangescan 1048 ms ok 143 + collate.utf8 383 ms ok 144 + collate.icu.utf8 3302 ms ok 145 + incremental_sort 1240 ms ok 146 + create_role 1289 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab psql rules stats_ext ok 147 + rules 3401 ms ok 148 + psql 2069 ms ok 149 + psql_crosstab 368 ms ok 150 + amutils 68 ms ok 151 + stats_ext 3824 ms ok 152 + collate.linux.utf8 46 ms ok 153 + collate.windows.win1252 39 ms ok 154 - select_parallel 4097 ms ok 155 - write_parallel 80 ms ok 156 - vacuum_parallel 106 ms # parallel group (2 tests): subscription publication ok 157 + publication 3218 ms ok 158 + subscription 234 ms # parallel group (17 tests): bitmapops combocid advisory_lock portals_p2 xmlmap indirect_toast functional_deps tsdicts dependency select_views equivclass guc tsearch cluster window foreign_data foreign_key ok 159 + select_views 1893 ms ok 160 + portals_p2 825 ms ok 161 + foreign_key 7549 ms ok 162 + cluster 2846 ms ok 163 + dependency 1861 ms ok 164 + guc 2498 ms ok 165 + bitmapops 768 ms ok 166 + combocid 785 ms ok 167 + tsearch 2827 ms ok 168 + tsdicts 1827 ms ok 169 + foreign_data 5366 ms ok 170 + window 4661 ms ok 171 + xmlmap 829 ms ok 172 + functional_deps 907 ms ok 173 + advisory_lock 765 ms ok 174 + indirect_toast 842 ms ok 175 + equivclass 2167 ms # parallel group (9 tests): jsonpath jsonpath_encoding json_encoding jsonb_jsonpath sqljson_jsontable sqljson sqljson_queryfuncs json jsonb ok 176 + json 1079 ms ok 177 + jsonb 5451 ms ok 178 + json_encoding 76 ms ok 179 + jsonpath 55 ms ok 180 + jsonpath_encoding 59 ms ok 181 + jsonb_jsonpath 362 ms ok 182 + sqljson 799 ms ok 183 + sqljson_queryfuncs 1059 ms ok 184 + sqljson_jsontable 365 ms # parallel group (18 tests): prepare returning conversion plancache limit largeobject temp sequence truncate copy2 rowtypes with rangefuncs polymorphism xml domain plpgsql alter_table ok 185 + plancache 1661 ms ok 186 + limit 1681 ms ok 187 + plpgsql 6786 ms ok 188 + copy2 3227 ms ok 189 + temp 2638 ms ok 190 + domain 4539 ms ok 191 + rangefuncs 3504 ms ok 192 + prepare 804 ms ok 193 + conversion 1632 ms ok 194 + truncate 3184 ms ok 195 + alter_table 10393 ms ok 196 + sequence 2903 ms ok 197 + polymorphism 3721 ms ok 198 + rowtypes 3209 ms ok 199 + returning 1489 ms ok 200 + largeobject 2510 ms ok 201 + with 3280 ms ok 202 + xml 4024 ms # parallel group (15 tests): hash_part predicate reloptions explain partition_info memoize compression tuplesort partition_aggregate partition_merge stats partition_split indexing partition_join partition_prune ok 203 + partition_merge 13539 ms ok 204 + partition_split 17734 ms ok 205 + partition_join 27879 ms ok 206 + partition_prune 27984 ms ok 207 + reloptions 849 ms ok 208 + hash_part 222 ms ok 209 + indexing 27312 ms ok 210 + partition_aggregate 7357 ms ok 211 + partition_info 2034 ms ok 212 + tuplesort 6295 ms ok 213 + explain 837 ms ok 214 + compression 5048 ms ok 215 + memoize 2049 ms ok 216 + stats 16251 ms ok 217 + predicate 230 ms # parallel group (2 tests): oidjoins event_trigger ok 218 + oidjoins 931 ms ok 219 + event_trigger 1399 ms ok 220 - event_trigger_login 94 ms ok 221 - fast_default 354 ms ok 222 - tablespace 1620 ms 1..222 # 1 of 222 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/create_index.out /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/create_index.out --- /Users/admin/pgsql/src/test/regress/expected/create_index.out 2024-05-17 13:02:01 +++ /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/results/create_index.out 2024-05-17 13:04:37 @@ -2135,11 +2135,19 @@ -- explain (costs off) SELECT unique1 FROM tenk1 WHERE unique1 IN (1, 42, 7) and unique1 = ANY('{7, 8, 9}'); - QUERY PLAN ----------------------------------------------------------------------------------------------------- - Index Only Scan using tenk1_unique1 on tenk1 - Index Cond: ((unique1 = ANY ('{1,42,7}'::integer[])) AND (unique1 = ANY ('{7,8,9}'::integer[]))) -(2 rows) + QUERY PLAN +------------------------------------------------------------------- + Bitmap Heap Scan on tenk1 + Recheck Cond: ((unique1 = 7) OR (unique1 = 8) OR (unique1 = 9)) + Filter: (unique1 = ANY ('{1,42,7}'::integer[])) + -> BitmapOr + -> Bitmap Index Scan on tenk1_unique1 + Index Cond: (unique1 = 7) + -> Bitmap Index Scan on tenk1_unique1 + Index Cond: (unique1 = 8) + -> Bitmap Index Scan on tenk1_unique1 + Index Cond: (unique1 = 9) +(10 rows) SELECT unique1 FROM tenk1 WHERE unique1 IN (1, 42, 7) and unique1 = ANY('{7, 8, 9}'); unique1 @@ -2149,11 +2157,17 @@ explain (costs off) SELECT unique1 FROM tenk1 WHERE unique1 = ANY('{7, 14, 22}') and unique1 = ANY('{33, 44}'::bigint[]); - QUERY PLAN ----------------------------------------------------------------------------------------------------- - Index Only Scan using tenk1_unique1 on tenk1 - Index Cond: ((unique1 = ANY ('{7,14,22}'::integer[])) AND (unique1 = ANY ('{33,44}'::bigint[]))) -(2 rows) + QUERY PLAN +------------------------------------------------------------------------ + Bitmap Heap Scan on tenk1 + Recheck Cond: ((unique1 = '33'::bigint) OR (unique1 = '44'::bigint)) + Filter: (unique1 = ANY ('{7,14,22}'::integer[])) + -> BitmapOr + -> Bitmap Index Scan on tenk1_unique1 + Index Cond: (unique1 = '33'::bigint) + -> Bitmap Index Scan on tenk1_unique1 + Index Cond: (unique1 = '44'::bigint) +(8 rows) SELECT unique1 FROM tenk1 WHERE unique1 = ANY('{7, 14, 22}') and unique1 = ANY('{33, 44}'::bigint[]); unique1 === EOF === [13:06:25.842](140.870s) not ok 2 - regression tests pass [13:06:25.843](0.000s) # Failed test 'regression tests pass' # at /Users/admin/pgsql/src/test/recovery/t/027_stream_regress.pl line 95. [13:06:25.843](0.000s) # got: '256' # expected: '0' 5 2 1 9 5 4001 2 5 41 3 4 3 4 4 1 32 1 1 1 6 104 2 1 1006 1 2 5 17 -2 33 34 9 1 1 1 1 1 -1 1 1 -1 -32768 32767 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/14533480 on primary done # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/primary.dump --no-sync -p 65462 --no-unlogged-table-data [13:07:19.551](53.708s) ok 3 - dump primary server # Running: pg_dumpall -f /Users/admin/pgsql/build/testrun/recovery/027_stream_regress/data/standby.dump --no-sync -p 65463 [13:07:35.300](15.750s) 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 [13:07:35.420](0.120s) ok 5 - compare primary and standby dumps [13:07:35.806](0.386s) 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" [13:07:36.588](0.782s) 1..6 [13:07:36.590](0.002s) # Looks like you failed 1 test of 6.