[22:25:11.265](0.013s) # testing using transfer mode --copy # Checking port 58436 # Found port 58436 Name: old_node Data directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/archives Connection string: port=58436 host=/tmp/ZFFsjbAGNT Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [22:25:11.274](0.009s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/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.UTF-8 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: builtin default collation: C.UTF-8 LC_COLLATE: C LC_CTYPE: C LC_MESSAGES: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C.UTF-8 LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/cirrus-ci-build/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 ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC 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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/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 21709 [22:25:13.359](2.085s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [22:25:13.469](0.110s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [22:25:13.570](0.101s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [22:25:13.714](0.144s) ok 4 - created database with ASCII characters from 91 to 127 [22:25:13.714](0.001s) # running regression tests in old instance # using postmaster on /tmp/ZFFsjbAGNT, port 58436 ok 1 - test_setup 646 ms # parallel group (20 tests): char oid name pg_lsn int4 int2 varchar money regproc text txid uuid float4 float8 int8 enum bit boolean numeric rangetypes ok 2 + boolean 387 ms ok 3 + char 79 ms ok 4 + name 128 ms ok 5 + varchar 141 ms ok 6 + text 169 ms ok 7 + int2 141 ms ok 8 + int4 135 ms ok 9 + int8 206 ms ok 10 + oid 118 ms ok 11 + float4 187 ms ok 12 + float8 205 ms ok 13 + bit 322 ms ok 14 + numeric 983 ms ok 15 + txid 172 ms ok 16 + uuid 181 ms ok 17 + enum 253 ms ok 18 + money 158 ms ok 19 + rangetypes 1113 ms ok 20 + pg_lsn 127 ms ok 21 + regproc 163 ms # parallel group (20 tests): circle macaddr time md5 lseg path line timetz numerology macaddr8 inet date point interval timestamp timestamptz strings polygon box multirangetypes ok 22 + strings 581 ms ok 23 + md5 110 ms ok 24 + numerology 173 ms ok 25 + point 382 ms ok 26 + lseg 138 ms ok 27 + line 150 ms ok 28 + box 1113 ms ok 29 + path 145 ms ok 30 + polygon 996 ms ok 31 + circle 67 ms ok 32 + date 236 ms ok 33 + time 83 ms ok 34 + timetz 167 ms ok 35 + timestamp 470 ms ok 36 + timestamptz 540 ms ok 37 + interval 380 ms ok 38 + inet 193 ms ok 39 + macaddr 81 ms ok 40 + macaddr8 171 ms ok 41 + multirangetypes 1198 ms # parallel group (13 tests): comments unicode misc_sanity xid tstypes mvcc expressions stats_export_import type_sanity geometry horology regex opr_sanity ok 42 + geometry 535 ms ok 43 + horology 637 ms ok 44 + tstypes 198 ms ok 45 + regex 832 ms ok 46 + type_sanity 367 ms ok 47 + opr_sanity 895 ms ok 48 + misc_sanity 96 ms ok 49 + comments 60 ms ok 50 + expressions 239 ms ok 51 + unicode 66 ms ok 52 + xid 145 ms ok 53 + mvcc 212 ms ok 54 + stats_export_import 279 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 55 + copy 303 ms ok 56 + copyselect 134 ms ok 57 + copydml 87 ms ok 58 + insert 818 ms ok 59 + insert_conflict 459 ms # parallel group (7 tests): create_function_c create_schema create_operator create_misc create_type create_procedure create_table ok 60 + create_function_c 65 ms ok 61 + create_misc 143 ms ok 62 + create_operator 140 ms ok 63 + create_procedure 150 ms ok 64 + create_table 929 ms ok 65 + create_type 146 ms ok 66 + create_schema 110 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 2564 ms ok 68 + create_index_spgist 2244 ms ok 69 + create_view 1297 ms ok 70 + index_including 644 ms ok 71 + index_including_gist 1023 ms # parallel group (16 tests): create_cast roleattributes errors create_aggregate drop_if_exists hash_func create_function_sql select typed_table create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 72 + create_aggregate 154 ms ok 73 + create_function_sql 349 ms ok 74 + create_cast 62 ms ok 75 + constraints 1454 ms ok 76 + triggers 5171 ms ok 77 + select 352 ms ok 78 + inherit 2277 ms ok 79 + typed_table 358 ms ok 80 + vacuum 1220 ms ok 81 + drop_if_exists 193 ms ok 82 + updatable_views 2165 ms ok 83 + roleattributes 104 ms ok 84 + create_am 536 ms ok 85 + hash_func 203 ms ok 86 + errors 111 ms ok 87 + infinite_recurse 731 ms ok 88 - sanity_check 129 ms # parallel group (20 tests): select_distinct_on select_having delete case select_implicit namespace select_into prepared_xacts random transactions portals arrays select_distinct union subselect update hash_index aggregates join btree_index ok 89 + select_into 270 ms ok 90 + select_distinct 841 ms ok 91 + select_distinct_on 93 ms ok 92 + select_implicit 187 ms ok 93 + select_having 121 ms ok 94 + subselect 1482 ms ok 95 + union 940 ms ok 96 + case 187 ms ok 97 + join 4261 ms ok 98 + aggregates 4079 ms ok 99 + transactions 475 ms ok 100 + random 320 ms ok 101 + portals 534 ms ok 102 + arrays 612 ms ok 103 + btree_index 4937 ms ok 104 + hash_index 2515 ms ok 105 + update 2475 ms ok 106 + delete 126 ms ok 107 + namespace 243 ms ok 108 + prepared_xacts 313 ms # parallel group (20 tests): drop_operator init_privs security_label password lock tablesample object_address replica_identity collate matview identity generated spgist groupingsets rowsecurity gist gin join_hash brin privileges ok 109 + brin 7913 ms ok 110 + gin 3373 ms ok 111 + gist 3027 ms ok 112 + spgist 2567 ms ok 113 + privileges 8883 ms ok 114 + init_privs 126 ms ok 115 + security_label 219 ms ok 116 + collate 1082 ms ok 117 + matview 1435 ms ok 118 + lock 308 ms ok 119 + replica_identity 990 ms ok 120 + rowsecurity 2790 ms ok 121 + object_address 425 ms ok 122 + tablesample 350 ms ok 123 + groupingsets 2639 ms ok 124 + drop_operator 122 ms ok 125 + password 300 ms ok 126 + identity 1744 ms ok 127 + generated 2534 ms ok 128 + join_hash 7904 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 139 ms ok 130 + brin_multi 1429 ms # parallel group (18 tests): async collate.utf8 dbsize alter_operator tsrf tid tidscan create_role misc_functions tidrangescan sysviews alter_generic incremental_sort create_table_like misc merge collate.icu.utf8 without_overlaps ok 131 + create_table_like 1197 ms ok 132 + alter_generic 467 ms ok 133 + alter_operator 162 ms ok 134 + misc 1266 ms ok 135 + async 76 ms ok 136 + dbsize 123 ms ok 137 + merge 1765 ms ok 138 + misc_functions 412 ms ok 139 + sysviews 430 ms ok 140 + tsrf 193 ms ok 141 + tid 225 ms ok 142 + tidscan 244 ms ok 143 + tidrangescan 424 ms ok 144 + collate.utf8 114 ms ok 145 + collate.icu.utf8 1860 ms ok 146 + incremental_sort 876 ms ok 147 + create_role 283 ms ok 148 + without_overlaps 2222 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 psql_crosstab amutils psql rules stats_ext ok 149 + rules 1796 ms ok 150 + psql 1733 ms ok 151 + psql_crosstab 65 ms ok 152 + amutils 72 ms ok 153 + stats_ext 4230 ms ok 154 + collate.linux.utf8 38 ms ok 155 + collate.windows.win1252 37 ms ok 156 - select_parallel 10281 ms ok 157 - write_parallel 622 ms ok 158 - vacuum_parallel 680 ms # parallel group (2 tests): subscription publication ok 159 + publication 3554 ms ok 160 + subscription 218 ms # parallel group (17 tests): portals_p2 combocid advisory_lock functional_deps xmlmap tsdicts guc equivclass dependency select_views indirect_toast bitmapops window cluster foreign_data tsearch foreign_key ok 161 + select_views 926 ms ok 162 + portals_p2 211 ms ok 163 + foreign_key 6553 ms ok 164 + cluster 2203 ms ok 165 + dependency 507 ms ok 166 + guc 421 ms ok 167 + bitmapops 1820 ms ok 168 + combocid 240 ms ok 169 + tsearch 4934 ms ok 170 + tsdicts 390 ms ok 171 + foreign_data 4829 ms ok 172 + window 2183 ms ok 173 + xmlmap 372 ms ok 174 + functional_deps 359 ms ok 175 + advisory_lock 250 ms ok 176 + indirect_toast 1809 ms ok 177 + equivclass 452 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable sqljson_queryfuncs json jsonb_jsonpath jsonb ok 178 + json 323 ms ok 179 + jsonb 1283 ms ok 180 + json_encoding 83 ms ok 181 + jsonpath 149 ms ok 182 + jsonpath_encoding 45 ms ok 183 + jsonb_jsonpath 404 ms ok 184 + sqljson 222 ms ok 185 + sqljson_queryfuncs 279 ms ok 186 + sqljson_jsontable 227 ms # parallel group (18 tests): prepare returning limit plancache conversion temp copy2 sequence rowtypes polymorphism largeobject truncate with rangefuncs domain xml plpgsql alter_table ok 187 + plancache 573 ms ok 188 + limit 440 ms ok 189 + plpgsql 5357 ms ok 190 + copy2 1045 ms ok 191 + temp 793 ms ok 192 + domain 1691 ms ok 193 + rangefuncs 1632 ms ok 194 + prepare 362 ms ok 195 + conversion 729 ms ok 196 + truncate 1488 ms ok 197 + alter_table 5874 ms ok 198 + sequence 1135 ms ok 199 + polymorphism 1278 ms ok 200 + rowtypes 1137 ms ok 201 + returning 377 ms ok 202 + largeobject 1475 ms ok 203 + with 1559 ms ok 204 + xml 2602 ms # parallel group (15 tests): hash_part reloptions explain predicate partition_info compression partition_merge memoize partition_split stats partition_aggregate tuplesort partition_join indexing partition_prune ok 205 + partition_merge 1151 ms ok 206 + partition_split 1550 ms ok 207 + partition_join 3887 ms ok 208 + partition_prune 4638 ms ok 209 + reloptions 266 ms ok 210 + hash_part 150 ms ok 211 + indexing 4397 ms ok 212 + partition_aggregate 2581 ms ok 213 + partition_info 371 ms ok 214 + tuplesort 3720 ms ok 215 + explain 267 ms ok 216 + compression 1015 ms ok 217 + memoize 1319 ms ok 218 + stats 1855 ms ok 219 + predicate 302 ms # parallel group (2 tests): oidjoins event_trigger ok 220 + oidjoins 751 ms ok 221 + event_trigger 818 ms ok 222 - event_trigger_login 103 ms ok 223 - fast_default 366 ms ok 224 - tablespace 789 ms 1..224 # All 224 tests passed. [22:26:27.400](73.685s) ok 5 - regression tests pass # Checking port 58437 # Found port 58437 Name: new_node Data directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/archives Connection string: port=58437 host=/tmp/ZFFsjbAGNT Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [22:26:27.414](0.014s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/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 "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: libc LC_COLLATE: C.UTF-8 LC_CTYPE: C.UTF-8 LC_MESSAGES: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C.UTF-8 LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/cirrus-ci-build/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 ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC 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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=58436 host=/tmp/ZFFsjbAGNT dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_dFMS/dump1.sql ../src/bin/pg_dump/pg_dump_sort.c:205:23: runtime error: index 47 out of bounds for type 'int [47]' ==35208==Using libbacktrace symbolizer. #0 0x560da7cef902 in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:205 #1 0x560da7d2115c in pg_qsort_med3 ../src/include/lib/sort_template.h:267 #2 0x560da7d21663 in pg_qsort ../src/include/lib/sort_template.h:345 #3 0x560da7cf1ea8 in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #4 0x560da7ce64db in main ../src/bin/pg_dump/pg_dump.c:993 #5 0x7f2325911d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x560da7ca8d29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) pg_dumpall: error: pg_dump failed on database "regression", exiting [22:26:30.191](2.777s) not ok 6 - dump before running pg_upgrade [22:26:30.191](0.000s) # Failed test 'dump before running pg_upgrade' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 322. ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/does/not/exist/ -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/ZFFsjbAGNT -p 58436 -P 58437 --copy --check check for "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [22:26:30.397](0.206s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [22:26:30.398](0.000s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/ZFFsjbAGNT -p 58436 -P 58437 --copy --check [22:26:31.452](1.054s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [22:26:31.452](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [22:26:31.452](0.000s) ok 11 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/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 35526 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/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 /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/ZFFsjbAGNT -p 58436 -P 58437 --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 contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for data type usage 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* [22:26:34.861](3.409s) ok 12 - run of pg_upgrade --check for new instance [22:26:34.862](0.000s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/ZFFsjbAGNT -p 58436 -P 58437 --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 contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for data type usage ok Creating dump of global objects ok Creating dump of database schemas *failure* Consult the last few lines of "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. Failure, exiting [22:26:38.138](3.277s) not ok 14 - run of pg_upgrade for new instance [22:26:38.139](0.000s) # Failed test 'run of pg_upgrade for new instance' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 440. [22:26:38.139](0.000s) not ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success [22:26:38.139](0.000s) # Failed test 'pg_upgrade_output.d/ removed after pg_upgrade success' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 449. ### Starting node "new_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l /tmp/cirrus-ci-build/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 36680 [22:26:38.292](0.153s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16386.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZFFsjbAGNT --port 58436 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/dump/pg_upgrade_dump_16386.custom" 'dbname='"'"'regression[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'"'"'' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16386.log" 2>&1 === EOF === [22:26:38.292](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16385.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZFFsjbAGNT --port 58436 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/dump/pg_upgrade_dump_16385.custom" 'dbname='"'"'regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ'"'"'' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16385.log" 2>&1 === EOF === [22:26:38.292](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_internal.log === ----------------------------------------------------------------- pg_upgrade run on Mon Apr 29 22:26:34 2024 ----------------------------------------------------------------- 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 contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for data type usage ok Creating dump of global objects ok Creating dump of database schemas *failure* Consult the last few lines of "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. === EOF === [22:26:38.292](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16387.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZFFsjbAGNT --port 58436 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/dump/pg_upgrade_dump_16387.custom" 'dbname=regression' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16387.log" 2>&1 ../src/bin/pg_dump/pg_dump_sort.c:205:23: runtime error: index 47 out of bounds for type 'int [47]' ==36612==Using libbacktrace symbolizer. #0 0x5570235b9902 in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:205 #1 0x5570235eb15c in pg_qsort_med3 ../src/include/lib/sort_template.h:267 #2 0x5570235eb585 in pg_qsort ../src/include/lib/sort_template.h:343 #3 0x5570235bbea8 in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #4 0x5570235b04db in main ../src/bin/pg_dump/pg_dump.c:993 #5 0x7f834dd1ad09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x557023572d29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) === EOF === [22:26:38.293](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_utility.log === ----------------------------------------------------------------- pg_upgrade run on Mon Apr 29 22:26:34 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dumpall" --host /tmp/ZFFsjbAGNT --port 58436 --username postgres --globals-only --quote-all-identifiers --binary-upgrade -f "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/dump/pg_upgrade_dump_globals.sql" >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_utility.log" 2>&1 === EOF === [22:26:38.293](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_1.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZFFsjbAGNT --port 58436 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/dump/pg_upgrade_dump_1.custom" 'dbname=template1' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_1.log" 2>&1 === EOF === [22:26:38.293](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_5.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZFFsjbAGNT --port 58436 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/dump/pg_upgrade_dump_5.custom" 'dbname=postgres' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_5.log" 2>&1 === EOF === [22:26:38.293](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16384.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZFFsjbAGNT --port 58436 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/dump/pg_upgrade_dump_16384.custom" 'dbname='"'"'regression\\"\\  !"#$%&\'"'"'()*+,-\\\\"\\\\\\'"'"'' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_dump_16384.log" 2>&1 === EOF === [22:26:38.293](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_server.log === ----------------------------------------------------------------- pg_upgrade run on Mon Apr 29 22:26:34 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_ctl" -w -l "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_server.log" -D "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata" -o "-p 58436 -b -c max_slot_wal_keep_size=-1 -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/tmp/ZFFsjbAGNT'" start >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_server.log" 2>&1 waiting for server to start....2024-04-29 22:26:35.269 UTC [36194][postmaster] LOG: starting PostgreSQL 17devel on x86_64-linux, compiled by gcc-10.2.1, 64-bit 2024-04-29 22:26:35.270 UTC [36194][postmaster] LOG: listening on Unix socket "/tmp/ZFFsjbAGNT/.s.PGSQL.58436" 2024-04-29 22:26:35.307 UTC [36205][startup] LOG: database system was shut down at 2024-04-29 22:26:34 UTC 2024-04-29 22:26:35.311 UTC [36194][postmaster] LOG: database system is ready to accept connections done server started 2024-04-29 22:26:35.346 UTC [36222][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.347 UTC [36222][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.347 UTC [36222][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.365 UTC [36222][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.366 UTC [36226][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.367 UTC [36226][client backend] [[unknown]][1/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.367 UTC [36226][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.370 UTC [36226][client backend] [002_pg_upgrade.pl][1/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.371 UTC [36226][client backend] [002_pg_upgrade.pl][1/3:0] LOG: statement: SELECT encoding, datlocprovider, datcollate, datctype, datlocale FROM pg_catalog.pg_database WHERE datname='template0' 2024-04-29 22:26:35.373 UTC [36226][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.396 UTC [36232][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.396 UTC [36232][client backend] [[unknown]][2/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.396 UTC [36232][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.397 UTC [36232][client backend] [002_pg_upgrade.pl][2/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.403 UTC [36232][client backend] [002_pg_upgrade.pl][2/3:0] LOG: statement: SELECT d.oid, d.datname, d.encoding, d.datcollate, d.datctype, datlocprovider, datlocale, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM pg_catalog.pg_database d LEFT OUTER JOIN pg_catalog.pg_tablespace t ON d.dattablespace = t.oid WHERE d.datallowconn = true ORDER BY 1 2024-04-29 22:26:35.405 UTC [36232][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.413 UTC [36246][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.414 UTC [36246][client backend] [[unknown]][3/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.414 UTC [36246][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.415 UTC [36246][client backend] [002_pg_upgrade.pl][3/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.416 UTC [36246][client backend] [002_pg_upgrade.pl][3/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-29 22:26:35.424 UTC [36246][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.425 UTC [36250][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.425 UTC [36250][client backend] [[unknown]][4/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.425 UTC [36250][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.427 UTC [36250][client backend] [002_pg_upgrade.pl][4/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.428 UTC [36250][client backend] [002_pg_upgrade.pl][4/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-29 22:26:35.431 UTC [36250][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.439 UTC [36253][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.444 UTC [36253][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.444 UTC [36253][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.445 UTC [36253][client backend] [002_pg_upgrade.pl][5/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.445 UTC [36253][client backend] [002_pg_upgrade.pl][5/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 1 2024-04-29 22:26:35.447 UTC [36253][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.462 UTC [36257][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.462 UTC [36257][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.462 UTC [36257][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.472 UTC [36257][client backend] [002_pg_upgrade.pl][6/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.473 UTC [36257][client backend] [002_pg_upgrade.pl][6/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-29 22:26:35.482 UTC [36257][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.024 user=postgres database=postgres host=[local] 2024-04-29 22:26:35.489 UTC [36269][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.489 UTC [36269][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.489 UTC [36269][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.490 UTC [36269][client backend] [002_pg_upgrade.pl][7/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.490 UTC [36269][client backend] [002_pg_upgrade.pl][7/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-29 22:26:35.493 UTC [36269][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2024-04-29 22:26:35.507 UTC [36272][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.507 UTC [36272][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.507 UTC [36272][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.509 UTC [36272][client backend] [002_pg_upgrade.pl][8/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.510 UTC [36272][client backend] [002_pg_upgrade.pl][8/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 5 2024-04-29 22:26:35.513 UTC [36275][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.513 UTC [36275][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.513 UTC [36275][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.516 UTC [36272][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=postgres host=[local] 2024-04-29 22:26:35.519 UTC [36275][client backend] [002_pg_upgrade.pl][9/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.519 UTC [36275][client backend] [002_pg_upgrade.pl][9/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-29 22:26:35.525 UTC [36275][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-29 22:26:35.536 UTC [36283][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.536 UTC [36283][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.536 UTC [36283][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.537 UTC [36283][client backend] [002_pg_upgrade.pl][10/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.538 UTC [36283][client backend] [002_pg_upgrade.pl][10/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-29 22:26:35.541 UTC [36283][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-29 22:26:35.546 UTC [36289][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.552 UTC [36289][client backend] [[unknown]][11/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.552 UTC [36289][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.553 UTC [36289][client backend] [002_pg_upgrade.pl][11/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.554 UTC [36289][client backend] [002_pg_upgrade.pl][11/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16384 2024-04-29 22:26:35.561 UTC [36289][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-29 22:26:35.575 UTC [36298][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.575 UTC [36298][client backend] [[unknown]][12/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.575 UTC [36298][client backend] [[unknown]][12/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.585 UTC [36298][client backend] [002_pg_upgrade.pl][12/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.592 UTC [36298][client backend] [002_pg_upgrade.pl][12/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-29 22:26:35.600 UTC [36298][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-29 22:26:35.612 UTC [36312][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.612 UTC [36312][client backend] [[unknown]][13/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.612 UTC [36312][client backend] [[unknown]][13/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.616 UTC [36312][client backend] [002_pg_upgrade.pl][13/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.617 UTC [36312][client backend] [002_pg_upgrade.pl][13/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-29 22:26:35.623 UTC [36312][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-29 22:26:35.625 UTC [36320][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.626 UTC [36320][client backend] [[unknown]][14/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.626 UTC [36320][client backend] [[unknown]][14/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.627 UTC [36320][client backend] [002_pg_upgrade.pl][14/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.627 UTC [36320][client backend] [002_pg_upgrade.pl][14/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16385 2024-04-29 22:26:35.628 UTC [36320][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-29 22:26:35.631 UTC [36322][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.631 UTC [36322][client backend] [[unknown]][15/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.631 UTC [36322][client backend] [[unknown]][15/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.646 UTC [36322][client backend] [002_pg_upgrade.pl][15/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.649 UTC [36322][client backend] [002_pg_upgrade.pl][15/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-29 22:26:35.661 UTC [36322][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.030 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-29 22:26:35.663 UTC [36327][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.663 UTC [36327][client backend] [[unknown]][16/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.664 UTC [36327][client backend] [[unknown]][16/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.665 UTC [36327][client backend] [002_pg_upgrade.pl][16/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.665 UTC [36327][client backend] [002_pg_upgrade.pl][16/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-29 22:26:35.668 UTC [36327][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-29 22:26:35.670 UTC [36329][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.671 UTC [36329][client backend] [[unknown]][17/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.671 UTC [36329][client backend] [[unknown]][17/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.672 UTC [36329][client backend] [002_pg_upgrade.pl][17/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.672 UTC [36329][client backend] [002_pg_upgrade.pl][17/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16386 2024-04-29 22:26:35.675 UTC [36329][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-29 22:26:35.677 UTC [36330][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.678 UTC [36330][client backend] [[unknown]][18/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.678 UTC [36330][client backend] [[unknown]][18/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.723 UTC [36330][client backend] [002_pg_upgrade.pl][18/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.723 UTC [36330][client backend] [002_pg_upgrade.pl][18/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-29 22:26:35.767 UTC [36330][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.090 user=postgres database=regression host=[local] 2024-04-29 22:26:35.778 UTC [36348][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.779 UTC [36348][client backend] [[unknown]][19/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.779 UTC [36348][client backend] [[unknown]][19/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.780 UTC [36348][client backend] [002_pg_upgrade.pl][19/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.780 UTC [36348][client backend] [002_pg_upgrade.pl][19/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-29 22:26:35.788 UTC [36351][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.789 UTC [36351][client backend] [[unknown]][20/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.789 UTC [36351][client backend] [[unknown]][20/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.790 UTC [36348][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=regression host=[local] 2024-04-29 22:26:35.792 UTC [36351][client backend] [002_pg_upgrade.pl][20/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.795 UTC [36351][client backend] [002_pg_upgrade.pl][20/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16387 2024-04-29 22:26:35.804 UTC [36351][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=regression host=[local] 2024-04-29 22:26:35.806 UTC [36352][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.806 UTC [36352][client backend] [[unknown]][21/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.806 UTC [36352][client backend] [[unknown]][21/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.811 UTC [36352][client backend] [002_pg_upgrade.pl][21/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.812 UTC [36352][client backend] [002_pg_upgrade.pl][21/3:0] LOG: statement: SELECT pg_catalog.pg_tablespace_location(oid) AS spclocation FROM pg_catalog.pg_tablespace WHERE spcname != 'pg_default' AND spcname != 'pg_global' 2024-04-29 22:26:35.813 UTC [36352][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.819 UTC [36354][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.819 UTC [36354][client backend] [[unknown]][22/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.819 UTC [36354][client backend] [[unknown]][22/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.827 UTC [36354][client backend] [002_pg_upgrade.pl][22/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.827 UTC [36354][client backend] [002_pg_upgrade.pl][22/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-29 22:26:35.829 UTC [36354][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.847 UTC [36356][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.847 UTC [36356][client backend] [[unknown]][23/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.847 UTC [36356][client backend] [[unknown]][23/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.848 UTC [36356][client backend] [002_pg_upgrade.pl][23/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.849 UTC [36356][client backend] [002_pg_upgrade.pl][23/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-29 22:26:35.851 UTC [36356][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=postgres host=[local] 2024-04-29 22:26:35.857 UTC [36368][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.858 UTC [36368][client backend] [[unknown]][24/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.858 UTC [36368][client backend] [[unknown]][24/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.859 UTC [36368][client backend] [002_pg_upgrade.pl][24/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.861 UTC [36368][client backend] [002_pg_upgrade.pl][24/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-29 22:26:35.865 UTC [36368][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-29 22:26:35.872 UTC [36372][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.872 UTC [36372][client backend] [[unknown]][25/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.872 UTC [36372][client backend] [[unknown]][25/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.876 UTC [36372][client backend] [002_pg_upgrade.pl][25/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.877 UTC [36372][client backend] [002_pg_upgrade.pl][25/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-29 22:26:35.883 UTC [36372][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-29 22:26:35.890 UTC [36374][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.891 UTC [36374][client backend] [[unknown]][26/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.891 UTC [36374][client backend] [[unknown]][26/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.894 UTC [36374][client backend] [002_pg_upgrade.pl][26/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.895 UTC [36374][client backend] [002_pg_upgrade.pl][26/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-29 22:26:35.899 UTC [36374][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.009 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-29 22:26:35.908 UTC [36376][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.908 UTC [36376][client backend] [[unknown]][27/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.908 UTC [36376][client backend] [[unknown]][27/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.909 UTC [36376][client backend] [002_pg_upgrade.pl][27/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.910 UTC [36376][client backend] [002_pg_upgrade.pl][27/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-29 22:26:35.913 UTC [36376][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=regression host=[local] 2024-04-29 22:26:35.921 UTC [36378][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.922 UTC [36378][client backend] [[unknown]][28/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.922 UTC [36378][client backend] [[unknown]][28/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.927 UTC [36378][client backend] [002_pg_upgrade.pl][28/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.928 UTC [36378][client backend] [002_pg_upgrade.pl][28/3:0] LOG: statement: SELECT rolsuper, oid FROM pg_catalog.pg_roles WHERE rolname = current_user AND rolname !~ '^pg_' 2024-04-29 22:26:35.929 UTC [36378][client backend] [002_pg_upgrade.pl][28/4:0] LOG: statement: SELECT COUNT(*) FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_' 2024-04-29 22:26:35.930 UTC [36378][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.931 UTC [36384][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.939 UTC [36384][client backend] [[unknown]][29/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.939 UTC [36384][client backend] [[unknown]][29/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.940 UTC [36384][client backend] [002_pg_upgrade.pl][29/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.941 UTC [36384][client backend] [002_pg_upgrade.pl][29/3:0] LOG: statement: SELECT datname, datallowconn FROM pg_catalog.pg_database 2024-04-29 22:26:35.944 UTC [36384][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.949 UTC [36386][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.949 UTC [36386][client backend] [[unknown]][30/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.949 UTC [36386][client backend] [[unknown]][30/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.954 UTC [36386][client backend] [002_pg_upgrade.pl][30/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.956 UTC [36386][client backend] [002_pg_upgrade.pl][30/3:0] LOG: statement: SELECT * FROM pg_catalog.pg_prepared_xacts 2024-04-29 22:26:35.963 UTC [36386][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.963 UTC [36389][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.964 UTC [36389][client backend] [[unknown]][31/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.964 UTC [36389][client backend] [[unknown]][31/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.965 UTC [36389][client backend] [002_pg_upgrade.pl][31/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.966 UTC [36389][client backend] [002_pg_upgrade.pl][31/3:0] LOG: statement: SELECT d.datname, s.subname FROM pg_catalog.pg_subscription s LEFT OUTER JOIN pg_catalog.pg_replication_origin o ON o.roname = 'pg_' || s.oid INNER JOIN pg_catalog.pg_database d ON d.oid = s.subdbid WHERE o.roname iS NULL; 2024-04-29 22:26:35.971 UTC [36389][client backend] [002_pg_upgrade.pl][31/4:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-29 22:26:35.980 UTC [36389][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.017 user=postgres database=template1 host=[local] 2024-04-29 22:26:35.983 UTC [36391][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.985 UTC [36391][client backend] [[unknown]][32/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.985 UTC [36391][client backend] [[unknown]][32/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.988 UTC [36391][client backend] [002_pg_upgrade.pl][32/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.988 UTC [36391][client backend] [002_pg_upgrade.pl][32/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-29 22:26:35.991 UTC [36391][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2024-04-29 22:26:35.993 UTC [36395][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:35.993 UTC [36395][client backend] [[unknown]][33/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:35.993 UTC [36395][client backend] [[unknown]][33/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-29 22:26:35.995 UTC [36395][client backend] [002_pg_upgrade.pl][33/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:35.995 UTC [36395][client backend] [002_pg_upgrade.pl][33/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-29 22:26:35.999 UTC [36395][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-29 22:26:36.002 UTC [36399][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.003 UTC [36399][client backend] [[unknown]][34/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.003 UTC [36399][client backend] [[unknown]][34/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.010 UTC [36399][client backend] [002_pg_upgrade.pl][34/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.011 UTC [36399][client backend] [002_pg_upgrade.pl][34/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-29 22:26:36.013 UTC [36399][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-29 22:26:36.022 UTC [36402][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.023 UTC [36402][client backend] [[unknown]][35/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.023 UTC [36402][client backend] [[unknown]][35/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.024 UTC [36402][client backend] [002_pg_upgrade.pl][35/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.024 UTC [36402][client backend] [002_pg_upgrade.pl][35/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-29 22:26:36.027 UTC [36402][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-29 22:26:36.037 UTC [36405][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.038 UTC [36405][client backend] [[unknown]][36/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.038 UTC [36405][client backend] [[unknown]][36/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.042 UTC [36405][client backend] [002_pg_upgrade.pl][36/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.044 UTC [36405][client backend] [002_pg_upgrade.pl][36/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-29 22:26:36.049 UTC [36405][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=regression host=[local] 2024-04-29 22:26:36.053 UTC [36407][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.054 UTC [36407][client backend] [[unknown]][37/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.054 UTC [36407][client backend] [[unknown]][37/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.057 UTC [36407][client backend] [002_pg_upgrade.pl][37/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.058 UTC [36407][client backend] [002_pg_upgrade.pl][37/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.090 UTC [36407][client backend] [002_pg_upgrade.pl][37/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.112 UTC [36407][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.059 user=postgres database=template1 host=[local] 2024-04-29 22:26:36.117 UTC [36419][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.117 UTC [36419][client backend] [[unknown]][38/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.117 UTC [36419][client backend] [[unknown]][38/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.120 UTC [36419][client backend] [002_pg_upgrade.pl][38/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.121 UTC [36419][client backend] [002_pg_upgrade.pl][38/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.169 UTC [36419][client backend] [002_pg_upgrade.pl][38/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.189 UTC [36419][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.072 user=postgres database=postgres host=[local] 2024-04-29 22:26:36.191 UTC [36435][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.191 UTC [36435][client backend] [[unknown]][39/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.192 UTC [36435][client backend] [[unknown]][39/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.192 UTC [36435][client backend] [002_pg_upgrade.pl][39/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.193 UTC [36435][client backend] [002_pg_upgrade.pl][39/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.219 UTC [36435][client backend] [002_pg_upgrade.pl][39/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.230 UTC [36435][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.039 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-29 22:26:36.232 UTC [36439][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.233 UTC [36439][client backend] [[unknown]][40/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.233 UTC [36439][client backend] [[unknown]][40/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.234 UTC [36439][client backend] [002_pg_upgrade.pl][40/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.234 UTC [36439][client backend] [002_pg_upgrade.pl][40/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.254 UTC [36439][client backend] [002_pg_upgrade.pl][40/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.266 UTC [36439][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.034 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-29 22:26:36.268 UTC [36441][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.269 UTC [36441][client backend] [[unknown]][41/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.269 UTC [36441][client backend] [[unknown]][41/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.270 UTC [36441][client backend] [002_pg_upgrade.pl][41/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.270 UTC [36441][client backend] [002_pg_upgrade.pl][41/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.298 UTC [36441][client backend] [002_pg_upgrade.pl][41/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.309 UTC [36441][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.043 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-29 22:26:36.323 UTC [36446][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.324 UTC [36446][client backend] [[unknown]][42/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.324 UTC [36446][client backend] [[unknown]][42/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.327 UTC [36446][client backend] [002_pg_upgrade.pl][42/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.329 UTC [36446][client backend] [002_pg_upgrade.pl][42/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.590 UTC [36446][client backend] [002_pg_upgrade.pl][42/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-29 22:26:36.643 UTC [36446][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.324 user=postgres database=regression host=[local] 2024-04-29 22:26:36.682 UTC [36519][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.683 UTC [36519][client backend] [[unknown]][43/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.683 UTC [36519][client backend] [[unknown]][43/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.684 UTC [36519][client backend] [002_pg_upgrade.pl][43/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.685 UTC [36519][client backend] [002_pg_upgrade.pl][43/3:0] LOG: statement: SET quote_all_identifiers = true 2024-04-29 22:26:36.685 UTC [36519][client backend] [002_pg_upgrade.pl][43/4:0] LOG: statement: SELECT oid, rolname, rolsuper, rolinherit, rolcreaterole, rolcreatedb, rolcanlogin, rolconnlimit, rolpassword, rolvaliduntil, rolreplication, rolbypassrls, pg_catalog.shobj_description(oid, 'pg_authid') as rolcomment, rolname = current_user AS is_current_user FROM pg_authid WHERE rolname !~ '^pg_' ORDER BY 2 2024-04-29 22:26:36.687 UTC [36519][client backend] [002_pg_upgrade.pl][43/5:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_authid'::pg_catalog.regclass AND objoid = '10' 2024-04-29 22:26:36.688 UTC [36519][client backend] [002_pg_upgrade.pl][43/6:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setdatabase = 0 AND setrole = (SELECT oid FROM pg_authid WHERE rolname = 'postgres') 2024-04-29 22:26:36.688 UTC [36519][client backend] [002_pg_upgrade.pl][43/7:0] LOG: statement: SELECT ur.rolname AS role, um.rolname AS member, ug.oid AS grantorid, ug.rolname AS grantor, a.admin_option, a.inherit_option, a.set_option FROM pg_auth_members a LEFT JOIN pg_authid ur on ur.oid = a.roleid LEFT JOIN pg_authid um on um.oid = a.member LEFT JOIN pg_authid ug on ug.oid = a.grantor WHERE NOT (ur.rolname ~ '^pg_' AND um.rolname ~ '^pg_')ORDER BY 1,2,4 2024-04-29 22:26:36.690 UTC [36519][client backend] [002_pg_upgrade.pl][43/8:0] LOG: statement: SELECT parname, pg_catalog.pg_get_userbyid(10) AS parowner, paracl, pg_catalog.acldefault('p', 10) AS acldefault FROM pg_catalog.pg_parameter_acl ORDER BY 1 2024-04-29 22:26:36.691 UTC [36519][client backend] [002_pg_upgrade.pl][43/9:0] LOG: statement: SELECT oid, spcname, pg_catalog.pg_get_userbyid(spcowner) AS spcowner, pg_catalog.pg_tablespace_location(oid), spcacl, acldefault('t', spcowner) AS acldefault, array_to_string(spcoptions, ', '),pg_catalog.shobj_description(oid, 'pg_tablespace') FROM pg_catalog.pg_tablespace WHERE spcname !~ '^pg_' ORDER BY 1 2024-04-29 22:26:36.691 UTC [36519][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.009 user=postgres database=postgres host=[local] 2024-04-29 22:26:36.738 UTC [36528][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.739 UTC [36528][client backend] [[unknown]][44/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.739 UTC [36528][client backend] [[unknown]][44/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.740 UTC [36528][client backend] [002_pg_upgrade.pl][44/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.740 UTC [36528][client backend] [002_pg_upgrade.pl][44/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/9:0] LOG: statement: SET statement_timeout = 0 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/10:0] LOG: statement: SET lock_timeout = 0 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-29 22:26:36.741 UTC [36528][client backend] [002_pg_upgrade.pl][44/14:0] LOG: statement: SET row_security = off 2024-04-29 22:26:36.742 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: BEGIN 2024-04-29 22:26:36.742 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-29 22:26:36.742 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-29 22:26:36.743 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-29 22:26:36.744 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-29 22:26:36.746 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-29 22:26:36.746 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-29 22:26:36.752 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-29 22:26:36.763 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-29 22:26:36.768 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-29 22:26:36.769 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-29 22:26:36.770 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-29 22:26:36.772 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-29 22:26:36.773 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-29 22:26:36.773 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-29 22:26:36.774 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-29 22:26:36.774 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-29 22:26:36.774 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-29 22:26:36.775 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-29 22:26:36.775 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-29 22:26:36.776 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-29 22:26:36.776 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-29 22:26:36.776 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-29 22:26:36.779 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-29 22:26:36.779 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-29 22:26:36.780 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-29 22:26:36.780 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-29 22:26:36.781 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-29 22:26:36.781 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-29 22:26:36.782 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-29 22:26:36.785 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-29 22:26:36.789 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-29 22:26:36.789 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-29 22:26:36.790 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-29 22:26:36.790 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-29 22:26:36.791 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-29 22:26:36.792 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-29 22:26:36.792 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-29 22:26:36.793 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-29 22:26:36.793 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-29 22:26:36.794 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-29 22:26:36.794 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-29 22:26:36.794 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-29 22:26:36.799 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-29 22:26:36.800 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-29 22:26:36.800 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:36.814 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:36.817 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-29 22:26:36.817 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-29 22:26:36.818 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '1' 2024-04-29 22:26:36.819 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '1'::oid 2024-04-29 22:26:36.819 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '1'::oid 2024-04-29 22:26:36.820 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-29 22:26:36.820 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:36.820 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-29 22:26:36.820 UTC [36528][client backend] [002_pg_upgrade.pl][44/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:36.843 UTC [36528][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.105 user=postgres database=template1 host=[local] 2024-04-29 22:26:36.873 UTC [36532][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:36.874 UTC [36532][client backend] [[unknown]][45/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:36.874 UTC [36532][client backend] [[unknown]][45/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-29 22:26:36.875 UTC [36532][client backend] [002_pg_upgrade.pl][45/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.875 UTC [36532][client backend] [002_pg_upgrade.pl][45/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-29 22:26:36.875 UTC [36532][client backend] [002_pg_upgrade.pl][45/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:36.875 UTC [36532][client backend] [002_pg_upgrade.pl][45/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/9:0] LOG: statement: SET statement_timeout = 0 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/10:0] LOG: statement: SET lock_timeout = 0 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/14:0] LOG: statement: SET row_security = off 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: BEGIN 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-29 22:26:36.876 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-29 22:26:36.878 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-29 22:26:36.879 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-29 22:26:36.880 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-29 22:26:36.880 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-29 22:26:36.886 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-29 22:26:36.895 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-29 22:26:36.900 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-29 22:26:36.901 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-29 22:26:36.903 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-29 22:26:36.906 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-29 22:26:36.908 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-29 22:26:36.909 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-29 22:26:36.911 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-29 22:26:36.911 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-29 22:26:36.915 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-29 22:26:36.915 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-29 22:26:36.916 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-29 22:26:36.916 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-29 22:26:36.917 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-29 22:26:36.917 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-29 22:26:36.922 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-29 22:26:36.924 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-29 22:26:36.932 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-29 22:26:36.933 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-29 22:26:36.933 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-29 22:26:36.934 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-29 22:26:36.935 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-29 22:26:36.938 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-29 22:26:36.944 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-29 22:26:36.945 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-29 22:26:36.948 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-29 22:26:36.949 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-29 22:26:36.950 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-29 22:26:36.952 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-29 22:26:36.956 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-29 22:26:36.957 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-29 22:26:36.958 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-29 22:26:36.959 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-29 22:26:36.959 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-29 22:26:36.959 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-29 22:26:36.965 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-29 22:26:36.966 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-29 22:26:36.967 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:36.988 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:36.992 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-29 22:26:36.993 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-29 22:26:36.994 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '5' 2024-04-29 22:26:36.995 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '5'::oid 2024-04-29 22:26:36.996 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '5'::oid 2024-04-29 22:26:36.996 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-29 22:26:36.997 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:36.997 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-29 22:26:36.997 UTC [36532][client backend] [002_pg_upgrade.pl][45/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:37.013 UTC [36532][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.140 user=postgres database=postgres host=[local] 2024-04-29 22:26:37.062 UTC [36550][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:37.063 UTC [36550][client backend] [[unknown]][46/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:37.063 UTC [36550][client backend] [[unknown]][46/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-29 22:26:37.064 UTC [36550][client backend] [002_pg_upgrade.pl][46/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.064 UTC [36550][client backend] [002_pg_upgrade.pl][46/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-29 22:26:37.064 UTC [36550][client backend] [002_pg_upgrade.pl][46/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/9:0] LOG: statement: SET statement_timeout = 0 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/10:0] LOG: statement: SET lock_timeout = 0 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/14:0] LOG: statement: SET row_security = off 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: BEGIN 2024-04-29 22:26:37.065 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-29 22:26:37.066 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-29 22:26:37.075 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-29 22:26:37.076 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-29 22:26:37.077 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-29 22:26:37.078 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-29 22:26:37.083 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-29 22:26:37.092 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-29 22:26:37.097 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-29 22:26:37.107 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-29 22:26:37.109 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-29 22:26:37.111 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-29 22:26:37.111 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-29 22:26:37.112 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-29 22:26:37.112 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-29 22:26:37.113 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-29 22:26:37.113 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-29 22:26:37.113 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-29 22:26:37.114 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-29 22:26:37.114 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-29 22:26:37.115 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-29 22:26:37.115 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-29 22:26:37.117 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-29 22:26:37.123 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-29 22:26:37.124 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-29 22:26:37.124 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-29 22:26:37.125 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-29 22:26:37.125 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-29 22:26:37.126 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-29 22:26:37.136 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-29 22:26:37.140 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-29 22:26:37.141 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-29 22:26:37.141 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-29 22:26:37.142 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-29 22:26:37.144 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-29 22:26:37.145 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-29 22:26:37.146 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-29 22:26:37.146 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-29 22:26:37.147 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-29 22:26:37.147 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-29 22:26:37.148 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-29 22:26:37.148 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-29 22:26:37.155 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-29 22:26:37.156 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-29 22:26:37.157 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:37.169 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:37.172 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-29 22:26:37.173 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-29 22:26:37.174 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '16384' 2024-04-29 22:26:37.175 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '16384'::oid 2024-04-29 22:26:37.175 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '16384'::oid 2024-04-29 22:26:37.176 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-29 22:26:37.179 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:37.179 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-29 22:26:37.179 UTC [36550][client backend] [002_pg_upgrade.pl][46/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:37.189 UTC [36550][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.133 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-29 22:26:37.223 UTC [36571][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:37.224 UTC [36571][client backend] [[unknown]][47/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:37.224 UTC [36571][client backend] [[unknown]][47/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-29 22:26:37.227 UTC [36571][client backend] [002_pg_upgrade.pl][47/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.227 UTC [36571][client backend] [002_pg_upgrade.pl][47/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/9:0] LOG: statement: SET statement_timeout = 0 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/10:0] LOG: statement: SET lock_timeout = 0 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/14:0] LOG: statement: SET row_security = off 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: BEGIN 2024-04-29 22:26:37.228 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-29 22:26:37.229 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-29 22:26:37.230 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-29 22:26:37.231 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-29 22:26:37.232 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-29 22:26:37.233 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-29 22:26:37.238 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-29 22:26:37.246 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-29 22:26:37.250 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-29 22:26:37.250 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-29 22:26:37.258 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-29 22:26:37.259 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-29 22:26:37.260 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-29 22:26:37.260 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-29 22:26:37.261 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-29 22:26:37.261 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-29 22:26:37.261 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-29 22:26:37.262 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-29 22:26:37.262 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-29 22:26:37.263 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-29 22:26:37.263 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-29 22:26:37.263 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-29 22:26:37.266 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-29 22:26:37.266 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-29 22:26:37.267 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-29 22:26:37.267 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-29 22:26:37.268 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-29 22:26:37.268 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-29 22:26:37.269 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-29 22:26:37.271 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-29 22:26:37.274 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-29 22:26:37.291 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-29 22:26:37.291 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-29 22:26:37.292 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-29 22:26:37.293 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-29 22:26:37.294 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-29 22:26:37.294 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-29 22:26:37.295 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-29 22:26:37.295 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-29 22:26:37.296 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-29 22:26:37.296 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-29 22:26:37.296 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-29 22:26:37.301 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-29 22:26:37.314 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-29 22:26:37.315 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:37.329 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:37.333 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-29 22:26:37.336 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-29 22:26:37.337 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '16385' 2024-04-29 22:26:37.338 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '16385'::oid 2024-04-29 22:26:37.338 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '16385'::oid 2024-04-29 22:26:37.339 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-29 22:26:37.339 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:37.340 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-29 22:26:37.340 UTC [36571][client backend] [002_pg_upgrade.pl][47/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:37.346 UTC [36571][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.123 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-29 22:26:37.395 UTC [36599][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:37.396 UTC [36599][client backend] [[unknown]][48/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:37.396 UTC [36599][client backend] [[unknown]][48/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-29 22:26:37.397 UTC [36599][client backend] [002_pg_upgrade.pl][48/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.397 UTC [36599][client backend] [002_pg_upgrade.pl][48/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/9:0] LOG: statement: SET statement_timeout = 0 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/10:0] LOG: statement: SET lock_timeout = 0 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/14:0] LOG: statement: SET row_security = off 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: BEGIN 2024-04-29 22:26:37.398 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-29 22:26:37.399 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-29 22:26:37.400 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-29 22:26:37.401 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-29 22:26:37.402 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-29 22:26:37.402 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-29 22:26:37.408 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-29 22:26:37.416 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-29 22:26:37.421 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-29 22:26:37.421 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-29 22:26:37.423 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-29 22:26:37.430 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-29 22:26:37.430 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-29 22:26:37.431 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-29 22:26:37.432 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-29 22:26:37.432 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-29 22:26:37.432 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-29 22:26:37.432 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-29 22:26:37.433 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-29 22:26:37.434 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-29 22:26:37.434 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-29 22:26:37.435 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-29 22:26:37.437 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-29 22:26:37.438 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-29 22:26:37.439 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-29 22:26:37.439 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-29 22:26:37.439 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-29 22:26:37.440 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-29 22:26:37.440 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-29 22:26:37.443 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-29 22:26:37.446 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-29 22:26:37.447 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-29 22:26:37.447 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-29 22:26:37.448 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-29 22:26:37.449 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-29 22:26:37.449 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-29 22:26:37.450 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-29 22:26:37.450 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-29 22:26:37.451 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-29 22:26:37.451 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-29 22:26:37.452 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-29 22:26:37.453 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-29 22:26:37.457 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-29 22:26:37.458 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-29 22:26:37.458 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:37.485 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:37.488 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-29 22:26:37.489 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-29 22:26:37.490 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '16386' 2024-04-29 22:26:37.491 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '16386'::oid 2024-04-29 22:26:37.492 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '16386'::oid 2024-04-29 22:26:37.493 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-29 22:26:37.493 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:37.493 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-29 22:26:37.493 UTC [36599][client backend] [002_pg_upgrade.pl][48/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-29 22:26:37.499 UTC [36599][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.103 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-29 22:26:37.535 UTC [36613][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-29 22:26:37.536 UTC [36613][client backend] [[unknown]][49/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-29 22:26:37.536 UTC [36613][client backend] [[unknown]][49/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-29 22:26:37.540 UTC [36613][client backend] [002_pg_upgrade.pl][49/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.551 UTC [36613][client backend] [002_pg_upgrade.pl][49/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-29 22:26:37.551 UTC [36613][client backend] [002_pg_upgrade.pl][49/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-29 22:26:37.551 UTC [36613][client backend] [002_pg_upgrade.pl][49/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-29 22:26:37.551 UTC [36613][client backend] [002_pg_upgrade.pl][49/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-29 22:26:37.551 UTC [36613][client backend] [002_pg_upgrade.pl][49/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-29 22:26:37.551 UTC [36613][client backend] [002_pg_upgrade.pl][49/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-29 22:26:37.551 UTC [36613][client backend] [002_pg_upgrade.pl][49/9:0] LOG: statement: SET statement_timeout = 0 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/10:0] LOG: statement: SET lock_timeout = 0 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/14:0] LOG: statement: SET row_security = off 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: BEGIN 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-29 22:26:37.552 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-29 22:26:37.553 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-29 22:26:37.555 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-29 22:26:37.556 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-29 22:26:37.556 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-29 22:26:37.612 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: LOCK TABLE "public"."char_tbl", "public"."float8_tbl", "public"."int2_tbl", "public"."int4_tbl", "public"."int8_tbl", "public"."point_tbl", "public"."text_tbl", "public"."varchar_tbl", "public"."onek", "public"."onek2", "public"."tenk1", "public"."tenk2", "public"."person", "public"."emp", "public"."student", "public"."stud_emp", "public"."road", "public"."ihighway", "public"."shighway", "public"."money_data", "public"."num_data", "public"."num_exp_add", "public"."num_exp_sub", "public"."num_exp_div", "public"."num_exp_mul", "public"."float4_tbl", "public"."num_exp_sqrt", "public"."num_exp_ln", "public"."num_exp_log10", "public"."num_exp_power_10_ln", "public"."num_result", "public"."numrange_test", "public"."textrange_test", "public"."test_range_gist", "public"."bit_defaults", "public"."num_input_test", "public"."num_typemod_test", "public"."test_range_spgist", "public"."test_range_excl", "public"."timestamptz_tbl", "public"."circle_tbl", "public"."inet_tbl", "public"."time_tbl", "public"."timestamp_tbl", "public"."box_tbl", "public"."timetz_tbl", "public"."polygon_tbl", "public"."date_tbl", "public"."interval_tbl", "public"."path_tbl", "public"."line_tbl", "public"."lseg_tbl", "public"."quad_poly_tbl", "public"."nummultirange_test", "public"."quad_box_tbl", "public"."infinite_interval_tbl", "public"."quad_box_tbl_ord_seq1", "public"."quad_box_tbl_ord_seq2", "public"."reservations", "stats_export_import"."test", "stats_export_import"."test_clone", "public"."tab_core_types", "public"."mlparted", "public"."mlparted1", "public"."mlparted11", "public"."mlparted12", "public"."mlparted2", "public"."mlparted3", "public"."mlparted4", "public"."mlparted_def", "public"."mlparted_def1", "public"."mlparted_def2", "public"."mlparted_defd", "public"."a_star", "public"."b_star", "public"."c_star", "public"."d_star", "public"."e_star", "public"."f_star", "public"."city", "public"."extra_wide_table", "public"."tbl_include_reg", "public"."quad_point_tbl", "public"."real_city", "public"."ramp", "public"."tbl_include_unique1", "public"."tbl_include_unique2", "public"."tbl_include_pk", "public"."tbl_include_box", "public"."view_base_table", "public"."tbl_include_box_pk", "public"."kd_point_tbl", "public"."radix_text_tbl", "public"."slow_emp4000", "public"."fast_emp4000", "public"."array_index_op_test", "public"."func_index_heap", "public"."dupindexcols", "public"."default_tbl", "public"."defaultexpr_tbl", "public"."check_tbl", "public"."a", "public"."b", "public"."c", "public"."check2_tbl", "public"."d", "public"."insert_tbl", "public"."tableam_tbl_heap2", "public"."tableam_tblas_heap2", "public"."tableam_parted_heap2", "public"."tableam_parted_a_heap2", "public"."persons", "public"."tableam_parted_b_heap2", "public"."tableam_parted_c_heap2", "public"."persons2", "public"."tableam_parted_d_heap2", "public"."log_table", "public"."main_table", "public"."persons3", "public"."copy_tbl", "public"."notnull_tbl2", "public"."notnull_tbl3", "public"."cnn_parent", "public"."cnn_child", "public"."cnn_grandchild", "public"."cnn_child2", "public"."cnn_grandchild2", "public"."notnull_tbl4", "public"."notnull_tbl4_lk", "public"."notnull_tbl4_lk2", "public"."notnull_tbl4_lk3", "public"."notnull_tbl4_cld", "public"."notnull_tbl4_cld2", "public"."notnull_tbl4_cld3", "public"."invalid_check_con", "public"."invalid_check_con_child", "public"."pp1", "public"."cc1", "public"."cc2", "public"."trigger_parted", "public"."trigger_parted_p1", "public"."trigger_parted_p1_1", "public"."trigger_parted_p2", "public"."trigger_parted_p2_2", "public"."xacttest", "public"."hash_i4_heap", "public"."hash_name_heap", "public"."hash_txt_heap", "public"."hash_f8_heap", "public"."arrtest", "public"."aggtest", "public"."subselect_tbl", "public"."bt_i4_heap", "public"."bt_name_heap", "public"."bt_txt_heap", "public"."array_op_test", "public"."bt_f8_heap", "public"."dedup_unique_test_table", "public"."agg_data_2k", "public"."agg_data_20k", "public"."sj", "public"."sk", "public"."emp1", "public"."sl", "public"."sj_t1", "public"."sj_t2", "public"."sj_t3", "public"."sj_t4", "public"."btree_tall_tbl", "public"."delete_test_table", "public"."test_tablesample", "public"."gist_point_tbl", "public"."mvtest_t", "public"."gin_test_tbl", "public"."itest1", "public"."spgist_point_tbl", "public"."brintest", "public"."itest2", "public"."gtest0", "public"."itest3", "public"."gtest1", "public"."brinopers", "public"."itest4", "public"."itest9", "public"."itest10", "public"."itest11", "public"."itest13", "public"."itest5", "public"."gtest1_1", "public"."gtestx", "public"."itest17", "public"."gtestxx_1", "public"."gtestxx_3", "public"."gtestxx_4", "public"."gtesty", "public"."gtest1_y", "public"."itest18", "public"."gtest3", "public"."gtest3a", "public"."gtest2", "public"."gtest_tableoid", "public"."gtest10", "public"."itest6", "public"."gtest10a", "public"."itest7", "public"."itest7a", "public"."itest7b", "public"."itest7c", "public"."gtest20", "public"."itest7d", "public"."itest7e", "public"."bug_16784", "public"."gtest20a", "public"."gtest20b", "public"."gtest21a", "public"."gtest21b", "public"."gtest22a", "public"."gtest22b", "public"."gtest22c", "public"."pitest1", "public"."pitest1_p1", "public"."pitest1_p2", "public"."gtest23p", "public"."gtest23q", "public"."pitest2", "public"."gtest24", "public"."pitest2_p2", "public"."gtest_parent", "public"."spgist_box_tbl", "public"."gtest_child", "public"."gtest_child2", "public"."gtest_child3", "public"."gs_data_1", "public"."spgist_text_tbl", "public"."itest14", "public"."brin_summarize", "public"."gtest25", "public"."brin_test", "public"."gtest27", "public"."gtest29", "public"."gtest30", "public"."gtest30_1", "public"."gtest26", "public"."gtest28a", "public"."gtest28b", "public"."spgist_domain_tbl", "public"."spgist_unlogged_tbl", "regress_rls_schema"."rls_tbl", "regress_rls_schema"."rls_tbl_force", "public"."datdba_only", "public"."brintest_bloom", "public"."brintest_multi", "public"."brinopers_bloom", "public"."brin_summarize_bloom", "public"."brin_test_bloom", "public"."brinopers_multi", "public"."brin_summarize_multi", "public"."brin_test_multi", "public"."inhx", "public"."inhf", "public"."temporal_mltrng", "public"."temporal_mltrng2", "public"."hobbies_r", "public"."equipment_r", "public"."temporal_rng", "public"."point_table", "public"."temporal_rng2", "public"."temporal_fk_rng2rng", "public"."temporal_fk2_rng2rng", "public"."temporal_fk_mltrng2mltrng", "public"."temporal_fk2_mltrng2mltrng", "public"."temporal_box", "public"."rtest_t1", "public"."rtest_t2", "public"."rtest_t3", "public"."rtest_system", "public"."rtest_interface", "public"."rtest_person", "public"."rtest_admin", "public"."rtest_emp", "public"."rtest_emplog", "public"."rtest_empmass", "public"."rtest_t4", "public"."rtest_t5", "public"."rtest_t6", "public"."rtest_t7", "public"."rtest_t8", "public"."rtest_t9", "public"."rtest_order1", "public"."rtest_order2", "public"."rtest_nothn1", "public"."rtest_nothn2", "public"."rtest_nothn3", "public"."rtest_nothn4", "public"."rtest_view1", "public"."rtest_view2", "public"."rtest_view3", "public"."rtest_view4", "public"."rtest_comp", "public"."rtest_unitfact", "public"."shoe_data", "public"."shoelace_data", "public"."unit", "public"."shoelace_log", "public"."shoelace_arrive", "public"."shoelace_ok", "public"."ndistinct", "public"."ruletest_tbl", "public"."ruletest_tbl2", "public"."rule_and_refint_t1", "public"."rule_and_refint_t2", "public"."rule_and_refint_t3", "public"."rules_src", "public"."rules_log", "public"."functional_dependencies", "public"."rule_merge1", "public"."rule_merge2", "public"."mcv_lists", "public"."mcv_lists_arrays", "public"."mcv_lists_bool", "public"."parallel_vacuum_table", "public"."clstr_tst_s", "testxmlschema"."test1", "public"."clstr_tst", "public"."test_tsvector", "testxmlschema"."test2", "public"."ec0", "public"."clstr_tst_inh", "public"."ec1", "public"."ec2", "testxmlschema"."test3", "public"."customer", "public"."credit_card", "public"."credit_usage", "public"."fk_notpartitioned_pk", "public"."fk_partitioned_fk", "public"."fk_partitioned_fk_1", "public"."fk_partitioned_fk_3", "public"."test_tsquery", "public"."fk_partitioned_fk_4", "public"."fk_partitioned_fk_4_1", "public"."fk_partitioned_fk_4_2", "public"."fk_partitioned_fk_5", "public"."fk_partitioned_fk_5_1", "public"."fk_partitioned_fk_2", "public"."fk_partitioned_fk_2_1", "public"."fk_partitioned_fk_2_2", "public"."parted_self_fk", "public"."part1_self_fk", "public"."part2_self_fk", "public"."part3_self_fk", "public"."part32_self_fk", "public"."part33_self_fk", "fkpart3"."pk", "fkpart3"."pk1", "fkpart3"."pk2", "fkpart3"."fk", "fkpart3"."fk1", "fkpart3"."fk2", "fkpart3"."pk3", "fkpart3"."pk4", "fkpart3"."pk5", "fkpart3"."pk51", "fkpart3"."pk52", "fkpart3"."fk3", "fkpart4"."droppk", "fkpart4"."droppk1", "fkpart4"."droppk_d", "fkpart4"."droppk2", "fkpart4"."droppk21", "fkpart4"."droppk2_d", "fkpart4"."dropfk", "fkpart5"."pk", "fkpart5"."pk1", "fkpart5"."pk11", "fkpart5"."fk", "fkpart5"."fk1", "fkpart5"."fk11", "fkpart5"."pk2", "fkpart5"."pk3", "fkpart5"."pk31", "fkpart5"."pk32", "fkpart5"."fk2", "fkpart5"."fk3", "fkpart5"."fk4", "fkpart6"."pk", "fkpart6"."pk1", "fkpart6"."pk11", "fkpart6"."pk12", "public"."testjsonb", "public"."test_is_json", "public"."room", "public"."xmltest", "public"."wslot", "public"."pfield", "public"."pslot", "public"."pline", "public"."hub", "public"."hslot", "public"."system", "public"."utf8_verification_inputs", "public"."iface", "public"."phone", "public"."utf8_inputs", "public"."query", "public"."euc_jis_2004_inputs", "public"."shiftjis2004_inputs", "public"."xmldata", "public"."gb18030_inputs", "public"."iso8859_5_inputs", "public"."check_con_tbl", "public"."big5_inputs", "public"."mic_inputs", "public"."alter_idx_rename_test_parted_2", "public"."truncate_b", "public"."domnotnull", "public"."domcontest", "public"."thethings", "public"."domtab", "public"."domain_test", "public"."found_test_tbl", "public"."nv_parent", "public"."nv_child_2010", "public"."nv_child_2011", "public"."nv_child_2009", "public"."rc_test", "public"."xmltest2", "public"."dropcolumn", "public"."dropcolumnchild", "public"."dropcolumnanother", "public"."renamecolumn", "public"."renamecolumnchild", "public"."renamecolumnanother", "public"."dropcolumnexists", "public"."depth0", "public"."depth1", "public"."depth2", "public"."skip_wal_skip_rewrite_index", "public"."test_storage", "public"."test_inh_check", "public"."test_inh_check_child", "public"."test_type_diff", "public"."test_type_diff_c", "public"."test_type_diff2", "public"."test_type_diff2_c1", "public"."test_type_diff2_c2", "public"."test_type_diff2_c3", "public"."test_tbl3", "public"."tt0", "public"."tt1", "public"."tt2", "public"."tt3", "public"."tt4", "public"."tt5", "public"."tt6", "public"."tt7", "public"."comment_test", "public"."comment_test_child", "public"."transition_table_base", "public"."transition_table_level1", "public"."transition_table_level2", "public"."transition_table_status", "public"."alter_table_under_transition_tables", "public"."partitioned_table", "public"."pt_part1", "public"."pt_part2", "public"."atnotnull1", "public"."partr_def2", "public"."part_7", "public"."part_7_a_null", "public"."part_rp", "public"."part_rp100", "public"."inh_test", "public"."defpart_attach_test_2", "public"."perm_part_child", "public"."bar1", "public"."bar2", "public"."target_parted", "public"."attach_parted", "public"."attach_parted_part1", "public"."pagg_tab", "public"."cmdata", "public"."pagg_tab_p1", "public"."prt1", "public"."pagg_tab_p2", "public"."pagg_tab_p3", "public"."prt1_p1", "public"."prt1_p3", "public"."prt1_p2", "public"."prt2", "public"."prt2_p1", "public"."prt2_p2", "public"."prt2_p3", "public"."cmdata1", "public"."reloptions_test", "public"."cmmove1", "public"."pagg_tab1", "public"."pagg_tab1_p1", "public"."pagg_tab1_p2", "public"."pagg_tab1_p3", "public"."pagg_tab2", "public"."pagg_tab2_p1", "public"."pagg_tab2_p2", "public"."pagg_tab2_p3", "public"."cmmove3", "public"."pagg_tab_m", "public"."pagg_tab_m_p1", "public"."pagg_tab_m_p2", "public"."pagg_tab_m_p3", "public"."prt1_e", "public"."prt1_e_p1", "public"."prt1_e_p2", "public"."prt1_e_p3", "public"."cmmove2", "public"."prt2_e", "public"."prt2_e_p1", "public"."prt2_e_p2", "public"."prt2_e_p3", "public"."pagg_tab_ml", "public"."pagg_tab_ml_p1", "public"."pagg_tab_ml_p2", "public"."pagg_tab_ml_p2_s1", "public"."pagg_tab_ml_p2_s2", "public"."pagg_tab_ml_p3", "public"."pagg_tab_ml_p3_s1", "public"."pagg_tab_ml_p3_s2", "public"."prt1_m", "public"."prt1_m_p1", "public"."prt1_m_p2", "public"."prt1_m_p3", "public"."prt2_m", "public"."prt2_m_p1", "public"."prt2_m_p2", "public"."prt2_m_p3", "public"."plt1", "public"."plt1_p1", "public"."plt1_p2", "public"."plt1_p3", "public"."plt2", "public"."plt2_p1", "public"."plt2_p2", "public"."cmpart", "public"."cmpart1", "public"."plt2_p3", "public"."cmpart2", "public"."plt1_e", "public"."plt1_e_p1", "public"."plt1_e_p2", "public"."plt1_e_p3", "public"."pht1", "public"."pht1_p1", "public"."pht1_p2", "public"."pht1_p3", "public"."pht2", "public"."pht2_p1", "public"."part", "public"."pht2_p2", "public"."part_p1", "public"."pht2_p3", "public"."part_p2", "public"."part_p2_p1", "public"."pht1_e", "public"."pht1_e_p1", "public"."cmdata2", "public"."pht1_e_p2", "public"."part_rev", "public"."pht1_e_p3", "public"."stats_test_tab1", "public"."prt1_l", "public"."prt1_l_p1", "public"."prt1_l_p2", "public"."prt1_l_p2_p1", "public"."prt1_l_p2_p2", "public"."prt1_l_p3", "public"."prt1_l_p3_p1", "public"."prt1_l_p3_p2", "public"."prt2_l", "public"."prt2_l_p1", "public"."prt2_l_p2", "public"."prt2_l_p2_p1", "public"."prt2_l_p2_p2", "public"."prt2_l_p3", "public"."prt2_l_p3_p1", "public"."prt2_l_p3_p2", "public"."prt1_n", "public"."prt1_n_p1", "public"."prt1_n_p2", "public"."prt2_n", "public"."prt2_n_p1", "public"."prt2_n_p2", "public"."prt3_n", "public"."prt3_n_p1", "public"."prt3_n_p2", "public"."prt3_n_p3", "public"."prt4_n", "public"."prt4_n_p1", "public"."prt4_n_p2", "public"."prt4_n_p3", "public"."test_io_vac_strategy", "public"."test_io_bulkwrite_strategy", "public"."pagg_tab_para", "public"."pagg_tab_para_p1", "public"."pagg_tab_para_p2", "public"."pagg_tab_para_p3", "public"."xy_1", "public"."alpha", "public"."alpha_neg", "public"."alpha_pos", "public"."alpha_neg_p1", "public"."alpha_neg_p2", "public"."alpha_neg_p3", "public"."alpha_pos_p1", "public"."alpha_pos_p2", "public"."alpha_pos_p3", "public"."beta", "public"."beta_neg", "public"."beta_pos", "public"."beta_neg_p1", "public"."beta_neg_p2", "public"."beta_neg_p3", "public"."beta_pos_p1", "public"."beta_pos_p2", "public"."beta_pos_p3", "public"."idxpart", "public"."idxpart1", "public"."boolvalues", "public"."idxpart2", "public"."idxpart21", "public"."idxpart22", "public"."idxpart_another", "public"."idxpart_another_1", "public"."idxpart3", "public"."idxpart31", "public"."idxpart32", "regress_indexing"."pk", "regress_indexing"."pk1", "regress_indexing"."pk2", "regress_indexing"."pk3", "regress_indexing"."pk4", "regress_indexing"."pk5", "regress_indexing"."pk51", "regress_indexing"."pk52", "public"."covidxpart", "public"."covidxpart1", "public"."covidxpart2", "public"."covidxpart3", "public"."covidxpart4", "public"."undroppable_objs", "public"."dropped_objects", "public"."rewritemetoo1", "public"."rewritemetoo2", "public"."rewritemetoo3", "public"."event_trigger_test", "public"."has_fast_default" IN ACCESS SHARE MODE 2024-04-29 22:26:37.627 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-29 22:26:37.641 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-29 22:26:37.656 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.657 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('27637') 2024-04-29 22:26:37.657 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.658 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('28197') 2024-04-29 22:26:37.658 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.659 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32277') 2024-04-29 22:26:37.659 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.660 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32447') 2024-04-29 22:26:37.660 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.660 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32456') 2024-04-29 22:26:37.660 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.660 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35372') 2024-04-29 22:26:37.660 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.661 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35388') 2024-04-29 22:26:37.661 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.661 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38966') 2024-04-29 22:26:37.661 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.662 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('39068') 2024-04-29 22:26:37.662 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.662 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('39083') 2024-04-29 22:26:37.662 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.662 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37252') 2024-04-29 22:26:37.662 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.663 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37293') 2024-04-29 22:26:37.663 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.663 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37317') 2024-04-29 22:26:37.663 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.663 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37373') 2024-04-29 22:26:37.663 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37398') 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37424') 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37639') 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37642') 2024-04-29 22:26:37.664 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.665 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37661') 2024-04-29 22:26:37.665 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-29 22:26:37.665 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-29 22:26:37.666 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-29 22:26:37.668 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-29 22:26:37.672 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-29 22:26:37.672 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-29 22:26:37.673 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-29 22:26:37.674 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-29 22:26:37.674 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-29 22:26:37.674 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-29 22:26:37.675 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-29 22:26:37.675 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-29 22:26:37.676 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-29 22:26:37.676 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-29 22:26:37.678 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-29 22:26:37.683 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-29 22:26:37.684 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-29 22:26:37.687 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-29 22:26:37.688 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT lanname FROM pg_language WHERE oid = 14 2024-04-29 22:26:37.695 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-29 22:26:37.696 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-29 22:26:37.697 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-29 22:26:37.698 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{16389,16392,16395,16398,16401,16404,16407,16412,16415,16418,16421,16424,16427,16432,16437,16442,16447,16453,16458,16510,16546,16549,16552,16555,16558,16573,16609,16642,16646,16649,16664,16670,16767,16794,16806,16842,16847,16856,16868,16981,16984,16987,16992,16995,17003,17012,17013,17014,17022,17030,17035,17038,17045,17050,17072,17105,17136,17156,17178,17318,17380,17387,17998,18001,18006,18024,18029,18034,18037,18074,18077,18082,18087,18326,18352,18374,18381,18387,18390,18482,18533,19176,19185,19188,19195,19201,19208,19216,19222,19225,19230,19235,19241,19246,19256,19260,19330,19496,19502,19505,19645,19923,20044,20325,20346,20357,20362,20406,20423,20469,20481,20514,20695,20713,20737,20771,20788,20803,20808,20821,20832,20844,20874,20878,20915,21441,21944,21980,22128,22132,22135,22140,22144,22234,22240,22244,22250,22258,22262,22274,22457,22461,22703,22712,22719,24076,24083,24089,24095,24101,24187,24192,24195,24198,24204,24224,24228,24232,24238,24241,24245,24254,24266,25036,25647,25650,25753,25774,25779,25791,25796,25802,25808,25814,25921,25927,25938,25943,25947,25950,25969,25994,26001,26013,26017,26051,26060,26085,26101,26116,26131,26138,26165,26172,26305,26321,26332,26377,26386,26392,26503,26521,26533,26570,26614,26644,26693,26705,26760,26765,26770,26804,26808,26824,26877,26881,26924,26993,27031,27057,27096,27135,27175,27181,27185,27202,27209,27213,27230,27260,27278,27304,27312,27337,27355,27368,27488,27565,27572,27589,27599,27622,27645,27674,27704,27708,27718,27723,27754,27786,27807,27814,27969,27994,28010,28033,28081,28133,28137,28154,28175,28179,28198,28206,28274,28281,28411,28532,28538,28546,28556,28560,28564,28583,28587,28634,28725,28974,29024,29260,29278,29453,29613,29617,29660,29680,30198,30210,30480,30636,30639,30642,30645,30658,30673,30682,30692,30711,30716,30721,30729,30734,30742,30747,30753,30758,30773,30776,30786,30791,30799,30817,30851,30856,30859,30864,30869,30873,30877,30881,30886,30899,30904,30907,30912,30921,30925,30931,30936,30945,30967,30978,30981,30985,30990,30994,31071,31074,31078,31084,31089,31203,31209,31243,31364,31373,31449,31497,31506,31630,32164,32190,32212,32263,32278,32323,32372,32379,32384,32460,32670,32678,32693,32702,32706,32710,32715,32729,32746,33877,33882,33887,33908,34030,34035,34044,34050,34067,34080,34110,34113,34116,34167,34178,34187,34196,34202,34214,34391,34396,34401,34407,34410,34427,34433,34441,34450,34454,34458,34477,34484,34489,34494,34499,34504,34509,34514,34538,34543,34548,34553,34556,34559,34579,34587,34591,34595,34614,34620,34626,34799,34804,34809,34814,35339,35504,35639,35644,35653,35664,35696,35703,35746,35770,35781,35788,35806,35892,35899,35952,36015,36021,36025,36029,36033,36037,36041,36065,36077,36088,36139,36162,36262,36390,36425,36428,36455,36476,36523,36531,36543,36593,36602,36710,36725,36764,36813,36964,37222,37255,37297,37313,37318,37375,37632,37748,37758,37761,37767,37963,38218,38226,38229,38232,38236,38239,38242,38291,38294,38297,38303,38447,38570,38583,38587,38632,38635,38644,38647,38650,38653,38911,38922,38926,38929,38932,38935,38938,38941,38945,39000,39042,39091,39149,39159,39167,39254,39272,39275,39280,39325,39463,39489,39493,39578,39585,39628,39665,39674,39703,39708,39805,39808,39811,39829,39845,39849,39860,39878,39898,39902,39938,39963,40081,40096,40116,40149,40161,40227,40288,40336,40342,40351,40357,40364,40373,40379,40395,40435,40501,40507,40523,40531,40544,40557,40560,40566,40586,40599,40602,40612,40615,40624,40637,40642,40645,40669,40690,40697,40702,40876,40880,40896,40904,40934,40943,40946,40958,41017,41026,41048,41068,41087,41111,41114,41126,41131,41134,41151,41171,41196,41200,41209,41222,41325,41333,41339,41349,41359,41378,41414,41418,41427,41433,41448,41454,41457,41462,41469,41486,41496,41509,41602,41655,41671,41676,41682,41687,41697,41705,41710,41716,41719,41724,41727,41732,41749,41755,41760,41946,41954,41962,41982,41987,42005,42016,42019,42024,42029,42053,42062,42068,42085,42149,42211,42336,42339,42342,42345,42531,43052,43055,43058,43061,43066,43071,43076,43081,43086,43102,43107,43110,43113,43118,43126,43136,43143,43148,43269,43272,43275,43279,43291,43294,43317,43322,43327,43330,43333,43353,43358,43371,43389,43400,43409,43413,43417,43427,43431,43438,43446,43457,43823,43828,43942,43945,43962,44002,44283}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-29 22:26:37.768 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT a.tableoid, a.oid, adrelid, adnum, pg_catalog.pg_get_expr(adbin, adrelid) AS adsrc FROM unnest('{16806,20325,20346,20514,20874,20915,25779,25796,25802,25808,25814,26101,26165,26392,26614,26644,26693,26765,26770,26804,26808,26877,26881,26924,26993,27202,27260,27278,27304,27312,27337,27355,27368,27589,27645,27704,27708,27718,27723,27754,27994,28033,28133,28137,28154,28175,28179,28206,28634,28725,31203,31209,32164,32212,32372,33882,33887,38570,39149,39159,39703,39708,44283}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attrdef a ON (src.tbloid = a.adrelid) ORDER BY a.adrelid, a.adnum 2024-04-29 22:26:37.783 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, pg_catalog.pg_get_constraintdef(c.oid) AS consrc, conislocal, convalidated FROM unnest('{20357,20469,20514,21441,21980,22457,22461,26332,27202,27278,28546,28564,28634,36710,37748,37758,37761,37767,38583,38587,39000,39463,39493,39578,39585}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'c' ORDER BY c.conrelid, c.conname 2024-04-29 22:26:37.787 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{16415,16418,16421,16424,16447,16453,16458,16549,16552,16555,16558,16609,16642,16646,16649,16670,16767,16794,16856,16868,16984,17013,17045,17050,17072,17318,17380,19176,19185,19201,19216,19222,19241,19330,19496,19505,19645,19923,20044,20832,20915,21944,22128,22234,22244,22250,22262,22274,22703,24076,24083,24089,24095,24101,24192,24195,24198,24204,24238,24241,24245,24266,25036,25753,25774,25779,25791,25802,25808,25921,25927,25943,25947,25950,26013,26051,26060,26101,26165,26172,26386,26924,26993,27031,27096,27202,27260,27278,27304,27312,27337,27355,27368,27589,27599,27645,27708,27807,27969,27994,28010,28154,28198,28206,28532,28538,28556,28560,28583,28587,28634,28974,29024,29453,29613,29617,29660,29680,30198,30210,30480,31078,31084,31089,31243,31630,32164,32212,32263,32323,32379,32384,32670,33877,34030,34167,34178,34187,34196,34202,34214,34391,34396,34401,34433,34441,34450,34454,34458,34484,34489,34494,34499,34504,34509,34538,34543,34548,34579,34587,34591,34595,34799,34804,34809,34814,35339,35639,35653,35664,35696,35703,35770,35781,35788,35806,35892,35899,36813,38447,38570,39000,39042,39091,39149,39159,39167,39254,39325,39845,39902,39938,39963,40096,40116,40149,40227,40557,40560,40566,41469,41602,43269,43272,43279,43294,43317,43322,43327,43330,43333,43353,43358,43371,43389,43400,43409,43413,43417,43427,43431,43438,43446,43457}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-29 22:26:37.861 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-29 22:26:37.862 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{17998,18001,18074,20771,20878,22234,22244,22250,22262,22274,24076,24083,24089,24095,24101,27488,27589,27599,27622,27704,28154,28974,29024,29453,29617,29660,29680,30198,30210,31078,31084,31089,32164,32212,32263,32670,32678,32693,33877,33882,33887,33908,34035,34044,34050,34067,34080,34110,34113,34116,34167,34178,34187,34196,34202,34214,34391,34396,34401,34407,34410,34427,34433,34441,34450,34454,34458,34477,34484,34489,34494,34499,34504,34509,34514,34538,34543,34548,34553,34556,34559,34579,34587,34591,34595,34614,34620,34799,34804,34809,34814,35639,35653,35664,35696,35703,35770,35781,35788,35892,35899,36813,39000,39042,39091,39149,39159,39254,39272,39489,39703,39805,39808,39829,39860,40081,40336,40364,40501,40544,40599,40624,40642,40690,40876,40934,41017,41111,41131,41196,41325,41359,41414,41448,41457,41655,41676,41697,41716,41724,41749,41946,41982,42016,42053,42336,43052,43055,43058,43102,43107,43110,43269,43279,43317,43327,43353,43409,43427}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-29 22:26:37.875 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{20878,22234,22244,22250,22262,22274,24076,24083,24089,24095,24101,27589,27599,28154,28974,29024,29453,29617,29660,29680,30198,30210,31078,31084,31089,32164,32212,32263,32670,32678,32693,33877,33882,33887,33908,34035,34044,34050,34067,34080,34110,34113,34116,34167,34178,34187,34196,34202,34214,34391,34396,34401,34407,34410,34427,34433,34441,34450,34454,34458,34477,34484,34489,34494,34499,34504,34509,34514,34538,34543,34548,34553,34556,34559,34579,34587,34591,34595,34614,34620,34799,34804,34809,34814,35639,35653,35664,35696,35703,35770,35781,35788,35892,35899,39000,39042,39091,39149,39159,39254,39703}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-29 22:26:37.878 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-29 22:26:37.880 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{16389,16392,16395,16398,16401,16404,16407,16412,16415,16418,16421,16424,16427,16432,16437,16442,16447,16453,16458,16510,16546,16549,16552,16555,16558,16573,16609,16642,16646,16649,16664,16670,16767,16794,16806,16842,16847,16856,16868,16981,16984,16987,16992,16995,17003,17012,17013,17014,17022,17030,17035,17038,17045,17050,17072,17105,17136,17156,17178,17318,17380,17387,17998,18001,18006,18024,18029,18034,18037,18074,18077,18082,18087,18326,18352,18374,18381,18387,18390,18482,18533,19176,19185,19188,19195,19201,19208,19216,19222,19241,19246,19330,19496,19502,19505,19645,19923,20044,20325,20346,20357,20362,20406,20423,20469,20481,20514,20695,20713,20771,20788,20803,20808,20821,20832,20844,20874,20878,20915,21441,21944,21980,22128,22132,22135,22140,22144,22234,22240,22244,22250,22258,22262,22274,22457,22461,22703,22712,22719,24076,24083,24089,24095,24101,24187,24192,24195,24198,24204,24224,24228,24232,24238,24241,24245,24254,24266,25036,25647,25650,25753,25774,25779,25791,25796,25802,25808,25814,25921,25927,25938,25943,25947,25950,25969,26013,26060,26085,26101,26116,26165,26332,26392,26503,26521,26533,26570,26614,26644,26693,26705,26760,26765,26770,26804,26808,26824,26877,26881,26924,26993,27031,27057,27096,27135,27175,27181,27185,27202,27209,27213,27230,27260,27278,27304,27312,27337,27355,27368,27488,27565,27572,27589,27599,27622,27645,27674,27704,27708,27718,27723,27754,27786,27807,27814,27969,27994,28010,28033,28081,28133,28137,28154,28175,28179,28198,28206,28274,28281,28411,28532,28538,28546,28556,28560,28564,28583,28587,28634,28725,28974,29024,29260,29278,29453,29613,29617,29660,29680,30198,30210,30480,30636,30639,30642,30658,30673,30682,30692,30711,30716,30721,30729,30734,30742,30747,30753,30758,30773,30776,30786,30791,30799,30817,30851,30856,30859,30864,30899,30904,30912,30921,30925,30967,30978,30981,30985,31071,31074,31078,31084,31089,31203,31209,31243,31364,31373,31449,31497,31506,31630,32164,32190,32212,32263,32278,32323,32372,32379,32384,32460,32670,32678,32693,33877,33882,33887,33908,34030,34035,34044,34050,34067,34080,34110,34113,34116,34167,34178,34187,34196,34202,34214,34391,34396,34401,34407,34410,34427,34433,34441,34450,34454,34458,34477,34484,34489,34494,34499,34504,34509,34514,34538,34543,34548,34553,34556,34559,34579,34587,34591,34595,34614,34620,34626,34799,34804,34809,34814,35339,35504,35639,35644,35653,35664,35696,35703,35770,35781,35788,35806,35892,35899,36065,36425,36428,36476,36523,36531,36593,36710,36725,36764,36813,36964,37222,37255,37297,37313,37375,37632,37748,37758,37761,37767,37963,38218,38226,38229,38232,38236,38239,38242,38291,38294,38297,38303,38447,38570,38583,38587,38632,38635,38644,38647,38650,38653,38911,38922,38926,38929,38932,38935,38938,38941,38945,39000,39042,39091,39149,39159,39167,39254,39272,39275,39280,39325,39463,39489,39493,39578,39585,39628,39665,39674,39703,39708,39805,39808,39811,39829,39845,39849,39860,39878,39898,39902,39938,39963,40081,40096,40116,40149,40161,40227,40288,40336,40342,40351,40357,40364,40373,40379,40395,40435,40501,40507,40523,40531,40544,40557,40560,40566,40586,40599,40602,40612,40615,40624,40637,40642,40645,40669,40690,40697,40702,40876,40880,40896,40904,40934,40943,40946,40958,41017,41026,41068,41087,41111,41114,41126,41131,41134,41151,41171,41196,41200,41209,41222,41325,41333,41339,41349,41359,41378,41414,41418,41427,41433,41448,41454,41457,41462,41469,41486,41496,41509,41602,41655,41671,41676,41682,41687,41697,41705,41710,41716,41719,41724,41727,41732,41749,41755,41760,41946,41954,41962,41982,41987,42005,42016,42019,42024,42029,42053,42062,42068,42085,42149,42211,42336,42339,42342,42345,42531,43052,43055,43058,43061,43066,43071,43076,43081,43086,43102,43107,43110,43113,43118,43126,43136,43143,43148,43269,43272,43275,43279,43291,43294,43317,43322,43327,43330,43333,43353,43358,43371,43389,43400,43409,43413,43417,43427,43431,43438,43446,43457,43823,43828,43942,43945,43962,44002,44283}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-29 22:26:37.882 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-29 22:26:37.883 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-29 22:26:37.884 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-29 22:26:37.885 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-29 22:26:37.887 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-29 22:26:37.891 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-29 22:26:37.891 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-29 22:26:37.931 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-29 22:26:37.941 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-29 22:26:37.942 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:37.964 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-29 22:26:38.003 UTC [36613][client backend] [002_pg_upgrade.pl][49/15:0] LOG: unexpected EOF on client connection with an open transaction 2024-04-29 22:26:38.004 UTC [36613][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.469 user=postgres database=regression host=[local] command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_ctl" -w -D "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata" -o "" -m fast stop >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240429T222634.892/log/pg_upgrade_server.log" 2>&1 waiting for server to shut down....2024-04-29 22:26:38.037 UTC [36194][postmaster] LOG: received fast shutdown request 2024-04-29 22:26:38.037 UTC [36194][postmaster] LOG: aborting any active transactions 2024-04-29 22:26:38.039 UTC [36203][checkpointer] LOG: shutting down 2024-04-29 22:26:38.039 UTC [36203][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-04-29 22:26:38.040 UTC [36203][checkpointer] LOG: checkpoint complete: wrote 2 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.001 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=0 kB; lsn=0/12838E58, redo lsn=0/12838E58 2024-04-29 22:26:38.047 UTC [36194][postmaster] LOG: database system is shut down done server stopped === EOF === [22:26:38.374](0.081s) not ok 16 - check that locales in new cluster match original cluster [22:26:38.374](0.000s) # Failed test 'check that locales in new cluster match original cluster' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 479. [22:26:38.374](0.000s) # got: '0|c|C.UTF-8|C.UTF-8|' # expected: '6|b|C|C|C.UTF-8' # Running: pg_dumpall --no-sync -d port=58437 host=/tmp/ZFFsjbAGNT dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_dFMS/dump2.sql [22:26:39.310](0.935s) ok 17 - dump after running pg_upgrade [22:26:39.311](0.001s) not ok 18 - old and new dumps match after pg_upgrade [22:26:39.311](0.000s) # Failed test 'old and new dumps match after pg_upgrade' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 498. [22:26:39.311](0.000s) # got: '1' # expected: '0' === diff of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_dFMS/dump1.sql_filtered and /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_dFMS/dump2.sql_filtered === stdout === --- /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_dFMS/dump1.sql_filtered 2024-04-29 22:26:39.303975974 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_dFMS/dump2.sql_filtered 2024-04-29 22:26:39.303975974 +0000 @@ -2,7 +2,7 @@ -- PostgreSQL database cluster dump -- SET default_transaction_read_only = off; -SET client_encoding = 'UTF8'; +SET client_encoding = 'SQL_ASCII'; SET standard_conforming_strings = on; -- -- Roles @@ -27,7 +27,7 @@ SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET transaction_timeout = 0; -SET client_encoding = 'UTF8'; +SET client_encoding = 'SQL_ASCII'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; @@ -49,7 +49,7 @@ SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET transaction_timeout = 0; -SET client_encoding = 'UTF8'; +SET client_encoding = 'SQL_ASCII'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; @@ -60,5 +60,5 @@ -- PostgreSQL database dump complete -- -- --- Database "regression" dump +-- PostgreSQL database cluster dump complete --=== stderr === === EOF === [22:26:39.326](0.015s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/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" [22:26:39.339](0.013s) # Looks like you failed 5 tests of 18.