# Checking port 59245 # Found port 59245 Name: primary Data directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata Backup directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/backup Archive directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/archives Connection string: port=59245 host=C:/Windows/TEMP/ckEKZFNFQs Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [20:12:14.274](0.120s) # initializing database system by copying initdb template # Running: robocopy /E /NJS /NJH /NFL /NDL /NP C:/cirrus/build/tmp_install/initdb-template C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/pgdata -l C:\cirrus\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 5380 (standby_1,) [20:12:16.954](2.680s) ok 1 - physical slot created on primary # Taking pg_basebackup my_backup from node "primary" # Running: pg_basebackup -D C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_primary_data/backup/my_backup -h C:/Windows/TEMP/ckEKZFNFQs -p 59245 --checkpoint fast --no-sync # Backup finished # Checking port 59246 # Found port 59246 Name: standby_1 Data directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/pgdata Backup directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/backup Archive directory: C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/archives Connection string: port=59246 host=C:/Windows/TEMP/ckEKZFNFQs Log file: C:\cirrus\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 C:\cirrus\build/testrun/recovery/027_stream_regress\data/t_027_stream_regress_standby_1_data/pgdata -l C:\cirrus\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 6324 # using postmaster on C:/Windows/TEMP/ckEKZFNFQs, port 59245 ok 1 - test_setup 809 ms # parallel group (20 tests): int4 char boolean pg_lsn text int2 regproc oid int8 float8 float4 txid bit varchar enum money uuid name rangetypes numeric ok 2 + boolean 1128 ms ok 3 + char 942 ms ok 4 + name 1618 ms ok 5 + varchar 1559 ms ok 6 + text 1118 ms ok 7 + int2 1115 ms ok 8 + int4 925 ms ok 9 + int8 1276 ms ok 10 + oid 1107 ms ok 11 + float4 1349 ms ok 12 + float8 1346 ms ok 13 + bit 1532 ms ok 14 + numeric 1774 ms ok 15 + txid 1440 ms ok 16 + uuid 1573 ms ok 17 + enum 1551 ms ok 18 + money 1564 ms ok 19 + rangetypes 1647 ms ok 20 + pg_lsn 1079 ms ok 21 + regproc 1077 ms # parallel group (20 tests): numerology lseg macaddr8 inet timetz line interval macaddr time point timestamptz timestamp strings multirangetypes date circle box md5 path polygon ok 22 + strings 1780 ms ok 23 + md5 1812 ms ok 24 + numerology 918 ms ok 25 + point 1730 ms ok 26 + lseg 1284 ms ok 27 + line 1571 ms ok 28 + box 1799 ms ok 29 + path 1796 ms ok 30 + polygon 1803 ms ok 31 + circle 1781 ms ok 32 + date 1778 ms ok 33 + time 1659 ms ok 34 + timetz 1495 ms ok 35 + timestamp 1719 ms ok 36 + timestamptz 1695 ms ok 37 + interval 1617 ms ok 38 + inet 1219 ms ok 39 + macaddr 1613 ms ok 40 + macaddr8 1216 ms ok 41 + multirangetypes 1701 ms # parallel group (12 tests): geometry misc_sanity tstypes type_sanity regex unicode comments expressions horology mvcc xid opr_sanity ok 42 + geometry 943 ms ok 43 + horology 1162 ms ok 44 + tstypes 1118 ms ok 45 + regex 1130 ms ok 46 + type_sanity 1115 ms ok 47 + opr_sanity 1290 ms ok 48 + misc_sanity 1040 ms ok 49 + comments 1132 ms ok 50 + expressions 1130 ms ok 51 + unicode 1129 ms ok 52 + xid 1154 ms ok 53 + mvcc 1153 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 54 + copy 646 ms ok 55 + copyselect 503 ms ok 56 + copydml 468 ms ok 57 + insert 1751 ms ok 58 + insert_conflict 1186 ms # parallel group (7 tests): create_function_c create_type create_schema create_procedure create_operator create_misc create_table ok 59 + create_function_c 438 ms ok 60 + create_misc 755 ms ok 61 + create_operator 563 ms ok 62 + create_procedure 537 ms ok 63 + create_table 1956 ms ok 64 + create_type 531 ms ok 65 + create_schema 530 ms # parallel group (5 tests): create_view create_index_spgist index_including_gist index_including create_index not ok 66 + create_index 3413 ms ok 67 + create_index_spgist 1707 ms ok 68 + create_view 1623 ms ok 69 + index_including 1793 ms ok 70 + index_including_gist 1791 ms # parallel group (16 tests): infinite_recurse errors drop_if_exists roleattributes create_aggregate create_cast hash_func create_am select typed_table create_function_sql constraints vacuum updatable_views inherit triggers ok 71 + create_aggregate 1508 ms ok 72 + create_function_sql 2388 ms ok 73 + create_cast 1515 ms ok 74 + constraints 3394 ms ok 75 + triggers 6518 ms ok 76 + select 1945 ms ok 77 + inherit 4972 ms ok 78 + typed_table 1958 ms ok 79 + vacuum 4074 ms ok 80 + drop_if_exists 1452 ms ok 81 + updatable_views 4173 ms ok 82 + roleattributes 1489 ms ok 83 + create_am 1932 ms ok 84 + hash_func 1912 ms ok 85 + errors 1420 ms ok 86 + infinite_recurse 1257 ms ok 87 - sanity_check 1793 ms # parallel group (20 tests): namespace random delete select_into select_implicit portals select_having update select_distinct_on case subselect prepared_xacts arrays select_distinct union join transactions hash_index aggregates btree_index ok 88 + select_into 3152 ms ok 89 + select_distinct 3997 ms ok 90 + select_distinct_on 3165 ms ok 91 + select_implicit 3160 ms ok 92 + select_having 3160 ms ok 93 + subselect 3978 ms ok 94 + union 3991 ms ok 95 + case 3158 ms ok 96 + join 4003 ms ok 97 + aggregates 5684 ms ok 98 + transactions 4028 ms ok 99 + random 1693 ms ok 100 + portals 3142 ms ok 101 + arrays 3961 ms ok 102 + btree_index 7015 ms ok 103 + hash_index 4895 ms ok 104 + update 3133 ms ok 105 + delete 2594 ms ok 106 + namespace 1386 ms ok 107 + prepared_xacts 3944 ms # parallel group (20 tests): collate tablesample spgist lock password object_address gin matview drop_operator groupingsets init_privs identity security_label replica_identity rowsecurity gist generated join_hash brin privileges ok 108 + brin 13179 ms ok 109 + gin 3276 ms ok 110 + gist 5281 ms ok 111 + spgist 3170 ms ok 112 + privileges 14699 ms ok 113 + init_privs 3664 ms ok 114 + security_label 3881 ms ok 115 + collate 2665 ms ok 116 + matview 3262 ms ok 117 + lock 3159 ms ok 118 + replica_identity 4084 ms ok 119 + rowsecurity 5125 ms ok 120 + object_address 3152 ms ok 121 + tablesample 2750 ms ok 122 + groupingsets 3646 ms ok 123 + drop_operator 3350 ms ok 124 + password 3145 ms ok 125 + identity 3683 ms ok 126 + generated 5351 ms ok 127 + join_hash 13060 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 490 ms ok 129 + brin_multi 1936 ms # parallel group (18 tests): alter_operator tsrf async create_role collate.icu.utf8 collate.utf8 tidrangescan dbsize tidscan sysviews misc misc_functions tid alter_generic create_table_like incremental_sort merge without_overlaps ok 130 + create_table_like 1662 ms ok 131 + alter_generic 1526 ms ok 132 + alter_operator 602 ms ok 133 + misc 1062 ms ok 134 + async 985 ms ok 135 + dbsize 1054 ms ok 136 + merge 2165 ms ok 137 + misc_functions 1463 ms ok 138 + sysviews 1051 ms ok 139 + tsrf 977 ms ok 140 + tid 1458 ms ok 141 + tidscan 1044 ms ok 142 + tidrangescan 979 ms ok 143 + collate.utf8 977 ms ok 144 + collate.icu.utf8 975 ms ok 145 + incremental_sort 1775 ms ok 146 + create_role 972 ms ok 147 + without_overlaps 2271 ms # parallel group (7 tests): amutils psql_crosstab collate.linux.utf8 collate.windows.win1252 rules psql stats_ext ok 148 + rules 2854 ms ok 149 + psql 3307 ms ok 150 + psql_crosstab 507 ms ok 151 + amutils 319 ms ok 152 + stats_ext 6158 ms ok 153 + collate.linux.utf8 585 ms ok 154 + collate.windows.win1252 967 ms ok 155 - select_parallel 9205 ms ok 156 - write_parallel 1325 ms ok 157 - vacuum_parallel 1141 ms # parallel group (2 tests): subscription publication ok 158 + publication 1716 ms ok 159 + subscription 717 ms # parallel group (17 tests): tsdicts select_views portals_p2 equivclass advisory_lock window combocid indirect_toast xmlmap functional_deps dependency guc bitmapops tsearch foreign_data cluster foreign_key ok 160 + select_views 1602 ms ok 161 + portals_p2 1718 ms ok 162 + foreign_key 5493 ms ok 163 + cluster 3883 ms ok 164 + dependency 3601 ms ok 165 + guc 3599 ms ok 166 + bitmapops 3705 ms ok 167 + combocid 3303 ms ok 168 + tsearch 3724 ms ok 169 + tsdicts 1320 ms ok 170 + foreign_data 3773 ms ok 171 + window 2521 ms ok 172 + xmlmap 3585 ms ok 173 + functional_deps 3584 ms ok 174 + advisory_lock 2394 ms ok 175 + indirect_toast 3536 ms ok 176 + equivclass 1798 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonb_jsonpath sqljson_jsontable sqljson jsonpath sqljson_queryfuncs json jsonb ok 177 + json 1151 ms ok 178 + jsonb 1724 ms ok 179 + json_encoding 678 ms ok 180 + jsonpath 1002 ms ok 181 + jsonpath_encoding 674 ms ok 182 + jsonb_jsonpath 813 ms ok 183 + sqljson 880 ms ok 184 + sqljson_queryfuncs 1060 ms ok 185 + sqljson_jsontable 873 ms # parallel group (18 tests): limit xml plancache returning conversion prepare largeobject rowtypes with copy2 polymorphism rangefuncs temp sequence truncate domain plpgsql alter_table ok 186 + plancache 1167 ms ok 187 + limit 972 ms ok 188 + plpgsql 5423 ms ok 189 + copy2 3222 ms ok 190 + temp 3645 ms ok 191 + domain 3759 ms ok 192 + rangefuncs 3317 ms ok 193 + prepare 1641 ms ok 194 + conversion 1232 ms ok 195 + truncate 3725 ms ok 196 + alter_table 7757 ms ok 197 + sequence 3685 ms ok 198 + polymorphism 3306 ms ok 199 + rowtypes 1892 ms ok 200 + returning 1221 ms ok 201 + largeobject 1876 ms ok 202 + with 2271 ms ok 203 + xml 1135 ms # parallel group (15 tests): partition_info predicate reloptions compression hash_part explain memoize partition_split partition_merge partition_join indexing tuplesort stats partition_aggregate partition_prune ok 204 + partition_merge 4395 ms ok 205 + partition_split 4391 ms ok 206 + partition_join 6540 ms ok 207 + partition_prune 10790 ms ok 208 + reloptions 2804 ms ok 209 + hash_part 3195 ms ok 210 + indexing 6673 ms ok 211 + partition_aggregate 7216 ms ok 212 + partition_info 2340 ms ok 213 + tuplesort 7159 ms ok 214 + explain 3725 ms ok 215 + compression 2937 ms ok 216 + memoize 3722 ms ok 217 + stats 7153 ms ok 218 + predicate 2452 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 961 ms ok 220 + event_trigger 1195 ms ok 221 - event_trigger_login 1343 ms ok 222 - fast_default 616 ms ok 223 - tablespace 1247 ms 1..223 # 1 of 223 tests failed. # The differences that caused some tests to fail can be viewed in the file "C:/cirrus/build/testrun/recovery/027_stream_regress/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "C:/cirrus/build/testrun/recovery/027_stream_regress/data/regression.out". === dumping C:\cirrus\build/testrun/recovery/027_stream_regress\data/regression.diffs === diff -w -U3 C:/cirrus/src/test/regress/expected/create_index.out C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/create_index.out --- C:/cirrus/src/test/regress/expected/create_index.out 2024-04-15 20:07:21.746324100 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/create_index.out 2024-04-15 20:12:52.135216400 +0000 @@ -2136,10 +2136,18 @@ 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) +------------------------------------------------------------------- + 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 @@ -2150,10 +2158,16 @@ 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) +------------------------------------------------------------------------ + 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 === [20:14:50.301](153.348s) not ok 2 - regression tests pass [20:14:50.301](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [20:14:50.301](0.000s) # got: '256' # expected: '0' 1 1 1 1 1 2 1 9 4001 41 5 5 5 3 4 3 4 4 1 32 1 1 1 6 104 2 1 1006 1 2 5 17 33 34 -2 1 1 1 1 -1 1 1 -1 -32768 32767 9 1 46 1 1 Waiting for replication conn standby_1's replay_lsn to pass 0/1545C938 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 59245 --no-unlogged-table-data [20:14:56.390](6.088s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 59246 [20:15:02.324](5.934s) ok 4 - dump standby server # Running: diff C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump [20:15:02.651](0.328s) ok 5 - compare primary and standby dumps [20:15:03.685](1.034s) ok 6 - check contents of pg_stat_statements on regression database ### Stopping node "standby_1" using mode fast # Running: pg_ctl -D C:\cirrus\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 C:\cirrus\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" [20:15:04.264](0.578s) 1..6 [20:15:04.338](0.075s) # Looks like you failed 1 test of 6.