# Checking port 54877 # Found port 54877 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=54877 host=C:/Windows/TEMP/Ok2HBLOvVi Log file: C:\cirrus\build/testrun/recovery/027_stream_regress\log/027_stream_regress_primary.log [07:18:07.826](0.059s) # 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 5536 (standby_1,) [07:18:09.346](1.520s) 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/Ok2HBLOvVi -p 54877 --checkpoint fast --no-sync # Backup finished # Checking port 54878 # Found port 54878 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=54878 host=C:/Windows/TEMP/Ok2HBLOvVi 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 6492 # using postmaster on C:/Windows/TEMP/Ok2HBLOvVi, port 54877 ok 1 - test_setup 682 ms # parallel group (20 tests): txid boolean text oid name pg_lsn char regproc int2 varchar bit money uuid int8 float4 int4 float8 enum rangetypes numeric ok 2 + boolean 966 ms ok 3 + char 1075 ms ok 4 + name 1065 ms ok 5 + varchar 1074 ms ok 6 + text 1012 ms ok 7 + int2 1069 ms ok 8 + int4 1206 ms ok 9 + int8 1070 ms ok 10 + oid 1056 ms ok 11 + float4 1067 ms ok 12 + float8 1201 ms ok 13 + bit 1062 ms ok 14 + numeric 1863 ms ok 15 + txid 869 ms ok 16 + uuid 1060 ms ok 17 + enum 1280 ms ok 18 + money 1056 ms ok 19 + rangetypes 1805 ms ok 20 + pg_lsn 1051 ms ok 21 + regproc 1050 ms # parallel group (20 tests): md5 circle path point time lseg line interval strings inet date box numerology polygon timestamptz timetz macaddr timestamp macaddr8 multirangetypes ok 22 + strings 1062 ms ok 23 + md5 907 ms ok 24 + numerology 1181 ms ok 25 + point 960 ms ok 26 + lseg 1026 ms ok 27 + line 1024 ms ok 28 + box 1175 ms ok 29 + path 954 ms ok 30 + polygon 1172 ms ok 31 + circle 899 ms ok 32 + date 1048 ms ok 33 + time 1015 ms ok 34 + timetz 1183 ms ok 35 + timestamp 1509 ms ok 36 + timestamptz 1177 ms ok 37 + interval 1007 ms ok 38 + inet 1037 ms ok 39 + macaddr 1501 ms ok 40 + macaddr8 1502 ms ok 41 + multirangetypes 1993 ms # parallel group (12 tests): type_sanity comments horology xid regex opr_sanity unicode geometry expressions misc_sanity mvcc tstypes ok 42 + geometry 1008 ms ok 43 + horology 856 ms ok 44 + tstypes 1100 ms ok 45 + regex 904 ms ok 46 + type_sanity 827 ms ok 47 + opr_sanity 990 ms ok 48 + misc_sanity 1018 ms ok 49 + comments 847 ms ok 50 + expressions 1015 ms ok 51 + unicode 984 ms ok 52 + xid 865 ms ok 53 + mvcc 1077 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 744 ms ok 55 + copyselect 319 ms ok 56 + copydml 461 ms ok 57 + insert 1577 ms ok 58 + insert_conflict 920 ms # parallel group (7 tests): create_function_c create_misc create_schema create_operator create_procedure create_type create_table ok 59 + create_function_c 416 ms ok 60 + create_misc 456 ms ok 61 + create_operator 726 ms ok 62 + create_procedure 746 ms ok 63 + create_table 1474 ms ok 64 + create_type 851 ms ok 65 + create_schema 557 ms # parallel group (5 tests): index_including create_view index_including_gist create_index_spgist create_index not ok 66 + create_index 2334 ms ok 67 + create_index_spgist 1474 ms ok 68 + create_view 1173 ms ok 69 + index_including 1171 ms ok 70 + index_including_gist 1352 ms # parallel group (16 tests): create_function_sql infinite_recurse create_cast create_aggregate errors roleattributes hash_func select drop_if_exists typed_table create_am constraints updatable_views vacuum inherit triggers ok 71 + create_aggregate 1516 ms ok 72 + create_function_sql 853 ms ok 73 + create_cast 1004 ms ok 74 + constraints 2352 ms ok 75 + triggers 5428 ms ok 76 + select 1509 ms ok 77 + inherit 4429 ms ok 78 + typed_table 1744 ms ok 79 + vacuum 3236 ms ok 80 + drop_if_exists 1605 ms ok 81 + updatable_views 3129 ms ok 82 + roleattributes 1501 ms ok 83 + create_am 1821 ms ok 84 + hash_func 1498 ms ok 85 + errors 1497 ms ok 86 + infinite_recurse 833 ms ok 87 - sanity_check 741 ms # parallel group (20 tests): delete select_into namespace select_distinct_on select_having subselect portals select_implicit union case prepared_xacts random select_distinct hash_index join transactions arrays update aggregates btree_index ok 88 + select_into 1909 ms ok 89 + select_distinct 3026 ms ok 90 + select_distinct_on 1909 ms ok 91 + select_implicit 2183 ms ok 92 + select_having 1906 ms ok 93 + subselect 1905 ms ok 94 + union 2183 ms ok 95 + case 2808 ms ok 96 + join 3061 ms ok 97 + aggregates 4069 ms ok 98 + transactions 3189 ms ok 99 + random 3011 ms ok 100 + portals 1895 ms ok 101 + arrays 3256 ms ok 102 + btree_index 6715 ms ok 103 + hash_index 3004 ms ok 104 + update 3513 ms ok 105 + delete 1883 ms ok 106 + namespace 1885 ms ok 107 + prepared_xacts 2847 ms # parallel group (20 tests): object_address drop_operator init_privs security_label password tablesample lock spgist groupingsets collate identity replica_identity gin matview rowsecurity generated gist join_hash brin privileges ok 108 + brin 11271 ms ok 109 + gin 3623 ms ok 110 + gist 4245 ms ok 111 + spgist 3260 ms ok 112 + privileges 13099 ms ok 113 + init_privs 2317 ms ok 114 + security_label 2313 ms ok 115 + collate 3284 ms ok 116 + matview 3638 ms ok 117 + lock 3248 ms ok 118 + replica_identity 3579 ms ok 119 + rowsecurity 3679 ms ok 120 + object_address 1601 ms ok 121 + tablesample 2826 ms ok 122 + groupingsets 3241 ms ok 123 + drop_operator 2042 ms ok 124 + password 2821 ms ok 125 + identity 3269 ms ok 126 + generated 4063 ms ok 127 + join_hash 11213 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 328 ms ok 129 + brin_multi 2234 ms # parallel group (18 tests): alter_operator collate.icu.utf8 tsrf misc dbsize collate.utf8 tidrangescan async create_role tidscan tid misc_functions incremental_sort sysviews alter_generic create_table_like merge without_overlaps ok 130 + create_table_like 1660 ms ok 131 + alter_generic 1480 ms ok 132 + alter_operator 935 ms ok 133 + misc 1025 ms ok 134 + async 1262 ms ok 135 + dbsize 1099 ms ok 136 + merge 2370 ms ok 137 + misc_functions 1405 ms ok 138 + sysviews 1469 ms ok 139 + tsrf 1002 ms ok 140 + tid 1334 ms ok 141 + tidscan 1332 ms ok 142 + tidrangescan 1087 ms ok 143 + collate.utf8 1085 ms ok 144 + collate.icu.utf8 994 ms ok 145 + incremental_sort 1454 ms ok 146 + create_role 1242 ms ok 147 + without_overlaps 3122 ms # parallel group (7 tests): collate.linux.utf8 amutils psql_crosstab collate.windows.win1252 rules psql stats_ext ok 148 + rules 1634 ms ok 149 + psql 1632 ms ok 150 + psql_crosstab 562 ms ok 151 + amutils 423 ms ok 152 + stats_ext 5065 ms ok 153 + collate.linux.utf8 384 ms ok 154 + collate.windows.win1252 640 ms ok 155 - select_parallel 7872 ms ok 156 - write_parallel 936 ms ok 157 - vacuum_parallel 489 ms # parallel group (2 tests): subscription publication ok 158 + publication 1368 ms ok 159 + subscription 362 ms # parallel group (17 tests): portals_p2 dependency select_views guc advisory_lock tsearch tsdicts functional_deps equivclass combocid xmlmap bitmapops window indirect_toast cluster foreign_data foreign_key ok 160 + select_views 1253 ms ok 161 + portals_p2 1236 ms ok 162 + foreign_key 4373 ms ok 163 + cluster 2302 ms ok 164 + dependency 1247 ms ok 165 + guc 1316 ms ok 166 + bitmapops 2072 ms ok 167 + combocid 1491 ms ok 168 + tsearch 1480 ms ok 169 + tsdicts 1479 ms ok 170 + foreign_data 2303 ms ok 171 + window 2140 ms ok 172 + xmlmap 1484 ms ok 173 + functional_deps 1482 ms ok 174 + advisory_lock 1472 ms ok 175 + indirect_toast 2187 ms ok 176 + equivclass 1478 ms # parallel group (9 tests): jsonpath_encoding json_encoding sqljson sqljson_jsontable jsonpath jsonb_jsonpath sqljson_queryfuncs json jsonb ok 177 + json 860 ms ok 178 + jsonb 1149 ms ok 179 + json_encoding 420 ms ok 180 + jsonpath 637 ms ok 181 + jsonpath_encoding 388 ms ok 182 + jsonb_jsonpath 675 ms ok 183 + sqljson 600 ms ok 184 + sqljson_queryfuncs 834 ms ok 185 + sqljson_jsontable 597 ms # parallel group (18 tests): prepare xml returning limit conversion plancache rowtypes truncate polymorphism sequence largeobject with temp rangefuncs copy2 domain plpgsql alter_table ok 186 + plancache 1506 ms ok 187 + limit 1359 ms ok 188 + plpgsql 4175 ms ok 189 + copy2 2527 ms ok 190 + temp 1886 ms ok 191 + domain 2547 ms ok 192 + rangefuncs 2417 ms ok 193 + prepare 924 ms ok 194 + conversion 1348 ms ok 195 + truncate 1545 ms ok 196 + alter_table 5383 ms ok 197 + sequence 1765 ms ok 198 + polymorphism 1758 ms ok 199 + rowtypes 1484 ms ok 200 + returning 1338 ms ok 201 + largeobject 1828 ms ok 202 + with 1826 ms ok 203 + xml 1327 ms # parallel group (15 tests): predicate reloptions partition_info partition_merge compression hash_part memoize explain partition_split indexing partition_join stats partition_aggregate tuplesort partition_prune ok 204 + partition_merge 2147 ms ok 205 + partition_split 2700 ms ok 206 + partition_join 3352 ms ok 207 + partition_prune 7220 ms ok 208 + reloptions 1369 ms ok 209 + hash_part 2143 ms ok 210 + indexing 3231 ms ok 211 + partition_aggregate 5553 ms ok 212 + partition_info 1866 ms ok 213 + tuplesort 5962 ms ok 214 + explain 2582 ms ok 215 + compression 2134 ms ok 216 + memoize 2134 ms ok 217 + stats 5001 ms ok 218 + predicate 996 ms # parallel group (2 tests): oidjoins event_trigger ok 219 + oidjoins 743 ms ok 220 + event_trigger 880 ms ok 221 - event_trigger_login 360 ms ok 222 - fast_default 892 ms ok 223 - tablespace 948 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-05-04 07:14:13.703027100 +0000 +++ C:/cirrus/build/testrun/recovery/027_stream_regress/data/results/create_index.out 2024-05-04 07:18:31.753321000 +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 === [07:20:02.386](113.040s) not ok 2 - regression tests pass [07:20:02.386](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/test/recovery/t/027_stream_regress.pl line 95. [07:20:02.386](0.000s) # got: '256' # expected: '0' 5 1 1 1 1 2 1 9 1 5 5 1 3 4 3 4 4 1 1006 32 1 1 1 6 104 4001 2 1 1 2 41 5 17 1 33 34 -2 1 1 1 46 1 1 -1 1 1 -1 -32768 32767 9 1 Waiting for replication conn standby_1's replay_lsn to pass 0/146AB5E8 on primary done # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/primary.dump --no-sync -p 54877 --no-unlogged-table-data [07:20:07.331](4.946s) ok 3 - dump primary server # Running: pg_dumpall -f C:\cirrus\build/testrun/recovery/027_stream_regress\data/standby.dump --no-sync -p 54878 [07:20:11.822](4.490s) 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 [07:20:11.951](0.130s) ok 5 - compare primary and standby dumps [07:20:12.543](0.592s) 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" [07:20:12.823](0.280s) 1..6 [07:20:12.833](0.010s) # Looks like you failed 1 test of 6.