[12:40:43.128](0.033s) # testing using transfer mode --copy # Checking port 61940 # Found port 61940 Name: old_node Data directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/backup Archive directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/archives Connection string: port=61940 host=C:/Windows/TEMP/U5jQRSY6ZF Log file: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_old_node.log [12:40:43.161](0.034s) # initializing database system by running initdb # Running: initdb -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -A trust -N --wal-segsize 1 --allow-group-access --encoding UTF-8 --lc-collate C --lc-ctype C --locale-provider builtin --builtin-locale C The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. The database cluster will be initialized with this locale configuration: default collation provider: builtin default collation locale: C LC_COLLATE: C LC_CTYPE: C LC_MESSAGES: English_United States.1252 LC_MONETARY: English_United States.1252 LC_NUMERIC: English_United States.1252 LC_TIME: English_United States.1252 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D ^"C^:^\cirrus^\build^/testrun^/pg^_upgrade^/002^_pg^_upgrade^\data^/t^_002^_pg^_upgrade^_old^_node^_data^/pgdata^" -l logfile start # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata ### Starting node "old_node" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -l C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_old_node.log -o --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 6072 [12:40:48.820](5.658s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [12:40:49.269](0.449s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [12:40:49.680](0.412s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [12:40:50.139](0.459s) ok 4 - created database with ASCII characters from 91 to 127 [12:40:50.141](0.003s) # running regression tests in old instance # using postmaster on C:/Windows/TEMP/U5jQRSY6ZF, port 61940 ok 1 - test_setup 550 ms # parallel group (20 tests): name char varchar boolean text int2 uuid txid int4 float8 float4 pg_lsn regproc bit enum oid money int8 numeric rangetypes ok 2 + boolean 804 ms ok 3 + char 650 ms ok 4 + name 606 ms ok 5 + varchar 706 ms ok 6 + text 798 ms ok 7 + int2 797 ms ok 8 + int4 795 ms ok 9 + int8 954 ms ok 10 + oid 940 ms ok 11 + float4 818 ms ok 12 + float8 788 ms ok 13 + bit 867 ms ok 14 + numeric 1167 ms ok 15 + txid 783 ms ok 16 + uuid 782 ms ok 17 + enum 897 ms ok 18 + money 939 ms ok 19 + rangetypes 1483 ms ok 20 + pg_lsn 805 ms ok 21 + regproc 832 ms # parallel group (20 tests): numerology circle point line strings md5 lseg inet path timetz macaddr8 time interval box timestamptz date macaddr timestamp multirangetypes polygon ok 22 + strings 765 ms ok 23 + md5 763 ms ok 24 + numerology 662 ms ok 25 + point 696 ms ok 26 + lseg 759 ms ok 27 + line 757 ms ok 28 + box 948 ms ok 29 + path 754 ms ok 30 + polygon 1347 ms ok 31 + circle 687 ms ok 32 + date 942 ms ok 33 + time 923 ms ok 34 + timetz 822 ms ok 35 + timestamp 969 ms ok 36 + timestamptz 936 ms ok 37 + interval 917 ms ok 38 + inet 741 ms ok 39 + macaddr 931 ms ok 40 + macaddr8 813 ms ok 41 + multirangetypes 964 ms # parallel group (12 tests): xid unicode comments geometry type_sanity expressions misc_sanity regex tstypes mvcc horology opr_sanity ok 42 + geometry 717 ms ok 43 + horology 921 ms ok 44 + tstypes 775 ms ok 45 + regex 768 ms ok 46 + type_sanity 766 ms ok 47 + opr_sanity 1040 ms ok 48 + misc_sanity 763 ms ok 49 + comments 683 ms ok 50 + expressions 760 ms ok 51 + unicode 634 ms ok 52 + xid 633 ms ok 53 + mvcc 761 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 54 + copy 848 ms ok 55 + copyselect 442 ms ok 56 + copydml 473 ms ok 57 + insert 2048 ms ok 58 + insert_conflict 848 ms # parallel group (7 tests): create_operator create_function_c create_schema create_type create_misc create_procedure create_table ok 59 + create_function_c 280 ms ok 60 + create_misc 306 ms ok 61 + create_operator 277 ms ok 62 + create_procedure 643 ms ok 63 + create_table 1309 ms ok 64 + create_type 299 ms ok 65 + create_schema 297 ms # parallel group (5 tests): index_including create_view create_index_spgist index_including_gist create_index ok 66 + create_index 2295 ms ok 67 + create_index_spgist 1098 ms ok 68 + create_view 1068 ms ok 69 + index_including 1066 ms ok 70 + index_including_gist 1352 ms # parallel group (16 tests): select create_cast create_function_sql drop_if_exists typed_table create_aggregate hash_func create_am errors infinite_recurse roleattributes constraints updatable_views vacuum inherit triggers ok 71 + create_aggregate 1737 ms ok 72 + create_function_sql 889 ms ok 73 + create_cast 835 ms ok 74 + constraints 2764 ms ok 75 + triggers 3477 ms ok 76 + select 766 ms ok 77 + inherit 3289 ms ok 78 + typed_table 1191 ms ok 79 + vacuum 3208 ms ok 80 + drop_if_exists 875 ms ok 81 + updatable_views 2941 ms ok 82 + roleattributes 2281 ms ok 83 + create_am 1830 ms ok 84 + hash_func 1715 ms ok 85 + errors 1827 ms ok 86 + infinite_recurse 1825 ms ok 87 - sanity_check 775 ms # parallel group (20 tests): select_implicit select_having select_into delete select_distinct_on case random union portals transactions subselect prepared_xacts namespace arrays select_distinct update join hash_index aggregates btree_index ok 88 + select_into 1160 ms ok 89 + select_distinct 1807 ms ok 90 + select_distinct_on 1157 ms ok 91 + select_implicit 970 ms ok 92 + select_having 1044 ms ok 93 + subselect 1414 ms ok 94 + union 1210 ms ok 95 + case 1130 ms ok 96 + join 2201 ms ok 97 + aggregates 2788 ms ok 98 + transactions 1243 ms ok 99 + random 1182 ms ok 100 + portals 1181 ms ok 101 + arrays 1531 ms ok 102 + btree_index 5630 ms ok 103 + hash_index 2759 ms ok 104 + update 1964 ms ok 105 + delete 1114 ms ok 106 + namespace 1524 ms ok 107 + prepared_xacts 1421 ms # parallel group (20 tests): collate tablesample replica_identity lock security_label drop_operator object_address init_privs password groupingsets gin spgist matview identity gist generated rowsecurity brin join_hash privileges ok 108 + brin 10042 ms ok 109 + gin 3284 ms ok 110 + gist 3598 ms ok 111 + spgist 3281 ms ok 112 + privileges 11633 ms ok 113 + init_privs 2397 ms ok 114 + security_label 2054 ms ok 115 + collate 1466 ms ok 116 + matview 3273 ms ok 117 + lock 2049 ms ok 118 + replica_identity 1690 ms ok 119 + rowsecurity 4085 ms ok 120 + object_address 2386 ms ok 121 + tablesample 1685 ms ok 122 + groupingsets 3132 ms ok 123 + drop_operator 2040 ms ok 124 + password 2769 ms ok 125 + identity 3455 ms ok 126 + generated 3959 ms ok 127 + join_hash 10023 ms # parallel group (2 tests): brin_bloom brin_multi ok 128 + brin_bloom 323 ms ok 129 + brin_multi 2016 ms # parallel group (17 tests): create_role collate.icu.utf8 tsrf tidscan without_overlaps alter_generic incremental_sort tidrangescan sysviews async dbsize tid alter_operator misc_functions misc create_table_like merge ok 130 + create_table_like 1626 ms ok 131 + alter_generic 1304 ms ok 132 + alter_operator 1431 ms ok 133 + misc 1484 ms ok 134 + async 1375 ms ok 135 + dbsize 1374 ms not ok 136 + merge 1692 ms ok 137 + misc_functions 1425 ms ok 138 + sysviews 1369 ms ok 139 + tsrf 880 ms ok 140 + tid 1406 ms ok 141 + tidscan 1008 ms ok 142 + tidrangescan 1355 ms ok 143 + collate.icu.utf8 684 ms ok 144 + incremental_sort 1353 ms ok 145 + create_role 660 ms ok 146 + without_overlaps 1216 ms # parallel group (7 tests): collate.windows.win1252 psql_crosstab collate.linux.utf8 amutils rules psql stats_ext ok 147 + rules 1298 ms ok 148 + psql 1312 ms ok 149 + psql_crosstab 376 ms ok 150 + amutils 601 ms ok 151 + stats_ext 2995 ms ok 152 + collate.linux.utf8 440 ms ok 153 + collate.windows.win1252 359 ms ok 154 - select_parallel 6573 ms ok 155 - write_parallel 1184 ms ok 156 - vacuum_parallel 355 ms # parallel group (2 tests): subscription publication ok 157 + publication 1204 ms ok 158 + subscription 274 ms # parallel group (17 tests): combocid equivclass tsdicts advisory_lock select_views functional_deps xmlmap portals_p2 dependency cluster guc tsearch window foreign_data bitmapops indirect_toast foreign_key ok 159 + select_views 2061 ms ok 160 + portals_p2 2072 ms ok 161 + foreign_key 5021 ms ok 162 + cluster 2087 ms ok 163 + dependency 2050 ms ok 164 + guc 2105 ms ok 165 + bitmapops 2263 ms ok 166 + combocid 1217 ms ok 167 + tsearch 2098 ms ok 168 + tsdicts 1846 ms ok 169 + foreign_data 2165 ms ok 170 + window 2111 ms ok 171 + xmlmap 2019 ms ok 172 + functional_deps 1997 ms ok 173 + advisory_lock 1795 ms ok 174 + indirect_toast 2971 ms ok 175 + equivclass 1762 ms # parallel group (7 tests): jsonpath_encoding json sqljson jsonpath jsonb_jsonpath json_encoding jsonb ok 176 + json 617 ms ok 177 + jsonb 1180 ms ok 178 + json_encoding 824 ms ok 179 + jsonpath 637 ms ok 180 + jsonpath_encoding 557 ms ok 181 + jsonb_jsonpath 702 ms ok 182 + sqljson 631 ms # parallel group (18 tests): plancache returning limit copy2 sequence conversion rangefuncs prepare largeobject polymorphism with rowtypes temp domain xml truncate plpgsql alter_table ok 183 + plancache 895 ms ok 184 + limit 1086 ms ok 185 + plpgsql 2761 ms ok 186 + copy2 1393 ms ok 187 + temp 1722 ms ok 188 + domain 1732 ms ok 189 + rangefuncs 1433 ms ok 190 + prepare 1431 ms ok 191 + conversion 1429 ms ok 192 + truncate 2215 ms ok 193 + alter_table 5919 ms ok 194 + sequence 1380 ms ok 195 + polymorphism 1705 ms ok 196 + rowtypes 1703 ms ok 197 + returning 1065 ms ok 198 + largeobject 1512 ms ok 199 + with 1698 ms ok 200 + xml 1810 ms # parallel group (13 tests): partition_info reloptions predicate hash_part compression memoize tuplesort explain indexing partition_join stats partition_aggregate partition_prune ok 201 + partition_join 3789 ms ok 202 + partition_prune 5646 ms ok 203 + reloptions 1405 ms ok 204 + hash_part 1593 ms ok 205 + indexing 3388 ms ok 206 + partition_aggregate 4199 ms ok 207 + partition_info 1124 ms ok 208 + tuplesort 2890 ms not ok 209 + explain 3007 ms ok 210 + compression 1584 ms ok 211 + memoize 2027 ms ok 212 + stats 3846 ms ok 213 + predicate 1450 ms # parallel group (2 tests): oidjoins event_trigger ok 214 + oidjoins 632 ms ok 215 + event_trigger 713 ms ok 216 - event_trigger_login 298 ms ok 217 - fast_default 490 ms ok 218 - tablespace 1378 ms 1..218 # 2 of 218 tests failed. # The differences that caused some tests to fail can be viewed in the file "C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.diffs". # A copy of the test summary that you see above is saved in the file "C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/regression.out". === dumping C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/regression.diffs === diff -w -U3 C:/cirrus/src/test/regress/expected/merge.out C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/results/merge.out --- C:/cirrus/src/test/regress/expected/merge.out 2024-03-17 12:38:48.529906800 +0000 +++ C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/results/merge.out 2024-03-17 12:41:47.795942500 +0000 @@ -1489,8 +1489,10 @@ QUERY PLAN ------------------------------------------------------------------------------------- Merge on public.tgt t + JIT: true -> Hash Join Output: t.ctid, s.a, s.b, s.c, s.d, s.ctid + JIT: true Hash Cond: (t.a = s.a) Join Filter: (t.b < (SubPlan 1)) -> Seq Scan on public.tgt t @@ -1520,7 +1522,7 @@ -> Seq Scan on public.ref r_1 Output: r_1.ab, r_1.cd Filter: ((r_1.ab = (s.a + s.b)) AND (r_1.cd = (s.c - s.d))) -(32 rows) +(34 rows) DROP TABLE src, tgt, ref; -- Subqueries diff -w -U3 C:/cirrus/src/test/regress/expected/explain.out C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/results/explain.out --- C:/cirrus/src/test/regress/expected/explain.out 2024-03-17 12:38:48.477997000 +0000 +++ C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/results/explain.out 2024-03-17 12:42:29.627000700 +0000 @@ -333,15 +333,15 @@ -- 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) +----------------------------------------------------------------- + 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) +------------------------------------------------------------------------------------------------------- + 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, + @@ -401,8 +403,8 @@ 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) +----------------------------------------------------------------- + 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 === [12:42:38.962](108.821s) not ok 5 - regression tests pass [12:42:38.962](0.000s) # Failed test 'regression tests pass' # at C:/cirrus/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 260. [12:42:38.963](0.001s) # got: '256' # expected: '0' # Checking port 61941 # Found port 61941 Name: new_node Data directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/backup Archive directory: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/archives Connection string: port=61941 host=C:/Windows/TEMP/U5jQRSY6ZF Log file: C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_new_node.log [12:42:38.989](0.026s) # initializing database system by running initdb # Running: initdb -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -A trust -N --wal-segsize 1 --allow-group-access --encoding SQL_ASCII --locale-provider libc The files belonging to this database system will be owned by user "SYSTEM". This user must also own the server process. The database cluster will be initialized with locale "English_United States.1252". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D ^"C^:^\cirrus^\build^/testrun^/pg^_upgrade^/002^_pg^_upgrade^\data^/t^_002^_pg^_upgrade^_new^_node^_data^/pgdata^" -l logfile start # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=61940 host=C:/Windows/TEMP/U5jQRSY6ZF dbname='postgres' -f C:\cirrus\build\testrun\pg_upgrade\002_pg_upgrade\data\tmp_test_6Ops/dump1.sql [12:42:47.223](8.234s) ok 6 - dump before running pg_upgrade ### Stopping node "old_node" using mode fast # Running: pg_ctl -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin/does/not/exist/ -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/U5jQRSY6ZF -p 61940 -P 61941 --copy --check check for "C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [12:42:47.785](0.563s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [12:42:47.786](0.000s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/U5jQRSY6ZF -p 61940 -P 61941 --copy --check [12:42:51.834](4.048s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [12:42:51.834](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [12:42:51.835](0.000s) ok 11 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -l C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_old_node.log -o --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 6100 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/U5jQRSY6ZF -p 61940 -P 61941 --copy --check Performing Consistency Checks ----------------------------- Checking cluster versions ok Checking database user is the install user ok Checking database connection settings ok Checking for prepared transactions ok Checking for system-defined composite types in user tables ok Checking for reg* data types in user tables ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for presence of required libraries ok Checking database user is the install user ok Checking for prepared transactions ok Checking for new cluster tablespace directories ok *Clusters are compatible* [12:42:59.942](8.108s) ok 12 - run of pg_upgrade --check for new instance [12:42:59.943](0.000s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_old_node_data/pgdata -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -B C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin -s C:/Windows/TEMP/U5jQRSY6ZF -p 61940 -P 61941 --copy Performing Consistency Checks ----------------------------- Checking cluster versions ok Checking database user is the install user ok Checking database connection settings ok Checking for prepared transactions ok Checking for system-defined composite types in user tables ok Checking for reg* data types in user tables ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Creating dump of global objects ok Creating dump of database schemas ok Checking for presence of required libraries ok Checking database user is the install user ok Checking for prepared transactions ok Checking for new cluster tablespace directories ok If pg_upgrade fails after this point, you must re-initdb the new cluster before continuing. Performing Upgrade ------------------ Setting locale and encoding for new cluster ok Analyzing all rows in the new cluster ok Freezing all rows in the new cluster ok Deleting files from new pg_xact ok Copying old pg_xact to new server ok Setting oldest XID for new cluster ok Setting next transaction ID and epoch for new cluster ok Deleting files from new pg_multixact/offsets ok Copying old pg_multixact/offsets to new server ok Deleting files from new pg_multixact/members ok Copying old pg_multixact/members to new server ok Setting next multixact ID and offset for new cluster ok Resetting WAL archives ok Setting frozenxid and minmxid counters in new cluster ok Restoring global objects in the new cluster ok Restoring database schemas in the new cluster ok Copying user relation files ok Setting next OID for new cluster ok Creating script to delete old cluster ok Checking for extension updates ok Upgrade Complete ---------------- Optimizer statistics are not transferred by pg_upgrade. Once you start the new server, consider running: C:/cirrus/build/TMP_IN~1/usr/local/pgsql/bin/vacuumdb --all --analyze-in-stages Running this script will delete the old cluster's data files: delete_old_cluster.bat [12:43:34.375](34.432s) ok 14 - run of pg_upgrade for new instance [12:43:34.375](0.000s) ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success ### Starting node "new_node" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -l C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\log/002_pg_upgrade_new_node.log -o --cluster-name=new_node start waiting for server to start.... done server started # Postmaster PID for node "new_node" is 8048 [12:43:37.287](2.913s) ok 16 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync -d port=61941 host=C:/Windows/TEMP/U5jQRSY6ZF dbname='postgres' -f C:\cirrus\build\testrun\pg_upgrade\002_pg_upgrade\data\tmp_test_6Ops/dump2.sql [12:43:42.604](5.317s) ok 17 - dump after running pg_upgrade [12:43:42.901](0.297s) ok 18 - old and new dumps match after pg_upgrade [12:43:42.902](0.001s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D C:\cirrus\build/testrun/pg_upgrade/002_pg_upgrade\data/t_002_pg_upgrade_new_node_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "new_node" [12:43:43.094](0.191s) # Looks like you failed 1 test of 18.