[17:37:11.144](0.019s) # testing using transfer mode --copy # Checking port 59920 # Found port 59920 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=59920 host=/tmp/tB628ZlDf9 Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [17:37:11.158](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_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 21573 [17:37:12.843](1.685s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [17:37:13.031](0.187s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [17:37:13.567](0.536s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [17:37:13.744](0.178s) ok 4 - created database with ASCII characters from 91 to 127 [17:37:13.745](0.001s) # running regression tests in old instance # using postmaster on /tmp/tB628ZlDf9, port 59920 ok 1 - test_setup 361 ms # parallel group (20 tests): txid pg_lsn varchar char oid int4 int2 regproc text name money float4 uuid int8 float8 enum boolean bit rangetypes numeric ok 2 + boolean 291 ms ok 3 + char 126 ms ok 4 + name 156 ms ok 5 + varchar 122 ms ok 6 + text 153 ms ok 7 + int2 140 ms ok 8 + int4 136 ms ok 9 + int8 197 ms ok 10 + oid 127 ms ok 11 + float4 177 ms ok 12 + float8 224 ms ok 13 + bit 391 ms ok 14 + numeric 1111 ms ok 15 + txid 97 ms ok 16 + uuid 179 ms ok 17 + enum 246 ms ok 18 + money 163 ms ok 19 + rangetypes 897 ms ok 20 + pg_lsn 118 ms ok 21 + regproc 143 ms # parallel group (20 tests): lseg time path line circle macaddr md5 timetz macaddr8 numerology inet date point timestamp interval timestamptz strings polygon multirangetypes box ok 22 + strings 562 ms ok 23 + md5 136 ms ok 24 + numerology 222 ms ok 25 + point 400 ms ok 26 + lseg 84 ms ok 27 + line 100 ms ok 28 + box 1293 ms ok 29 + path 98 ms ok 30 + polygon 832 ms ok 31 + circle 100 ms ok 32 + date 234 ms ok 33 + time 95 ms ok 34 + timetz 138 ms ok 35 + timestamp 455 ms ok 36 + timestamptz 555 ms ok 37 + interval 504 ms ok 38 + inet 221 ms ok 39 + macaddr 111 ms ok 40 + macaddr8 167 ms ok 41 + multirangetypes 1232 ms # parallel group (13 tests): unicode comments misc_sanity xid tstypes expressions mvcc stats_export_import type_sanity geometry horology regex opr_sanity ok 42 + geometry 369 ms ok 43 + horology 480 ms ok 44 + tstypes 188 ms ok 45 + regex 563 ms ok 46 + type_sanity 338 ms ok 47 + opr_sanity 882 ms ok 48 + misc_sanity 76 ms ok 49 + comments 69 ms ok 50 + expressions 204 ms ok 51 + unicode 58 ms ok 52 + xid 141 ms ok 53 + mvcc 217 ms ok 54 + stats_export_import 261 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 55 + copy 541 ms ok 56 + copyselect 113 ms ok 57 + copydml 134 ms ok 58 + insert 1180 ms ok 59 + insert_conflict 685 ms # parallel group (7 tests): create_function_c create_operator create_type create_schema create_misc create_procedure create_table ok 60 + create_function_c 62 ms ok 61 + create_misc 160 ms ok 62 + create_operator 92 ms ok 63 + create_procedure 175 ms ok 64 + create_table 721 ms ok 65 + create_type 130 ms ok 66 + create_schema 136 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 2345 ms ok 68 + create_index_spgist 1548 ms ok 69 + create_view 714 ms ok 70 + index_including 500 ms ok 71 + index_including_gist 692 ms # parallel group (16 tests): create_cast errors roleattributes hash_func create_aggregate drop_if_exists create_function_sql typed_table create_am select infinite_recurse vacuum updatable_views constraints inherit triggers ok 72 + create_aggregate 202 ms ok 73 + create_function_sql 437 ms ok 74 + create_cast 66 ms ok 75 + constraints 1707 ms ok 76 + triggers 3588 ms ok 77 + select 601 ms ok 78 + inherit 2403 ms ok 79 + typed_table 489 ms ok 80 + vacuum 1141 ms ok 81 + drop_if_exists 257 ms ok 82 + updatable_views 1633 ms ok 83 + roleattributes 168 ms ok 84 + create_am 557 ms ok 85 + hash_func 182 ms ok 86 + errors 68 ms ok 87 + infinite_recurse 885 ms ok 88 - sanity_check 381 ms # parallel group (20 tests): select_distinct_on delete select_having select_implicit case select_into namespace prepared_xacts random transactions portals union select_distinct arrays subselect hash_index update aggregates join btree_index ok 89 + select_into 274 ms ok 90 + select_distinct 883 ms ok 91 + select_distinct_on 115 ms ok 92 + select_implicit 231 ms ok 93 + select_having 163 ms ok 94 + subselect 1100 ms ok 95 + union 877 ms ok 96 + case 233 ms ok 97 + join 2711 ms ok 98 + aggregates 2646 ms ok 99 + transactions 528 ms ok 100 + random 359 ms ok 101 + portals 626 ms ok 102 + arrays 981 ms ok 103 + btree_index 3563 ms ok 104 + hash_index 1468 ms ok 105 + update 1847 ms ok 106 + delete 151 ms ok 107 + namespace 280 ms ok 108 + prepared_xacts 329 ms # parallel group (20 tests): init_privs drop_operator security_label password lock object_address tablesample replica_identity collate matview identity groupingsets generated spgist rowsecurity gist gin brin join_hash privileges ok 109 + brin 6858 ms ok 110 + gin 3128 ms ok 111 + gist 2681 ms ok 112 + spgist 2409 ms ok 113 + privileges 7545 ms ok 114 + init_privs 77 ms ok 115 + security_label 166 ms ok 116 + collate 1166 ms ok 117 + matview 1525 ms ok 118 + lock 325 ms ok 119 + replica_identity 718 ms ok 120 + rowsecurity 2502 ms ok 121 + object_address 430 ms ok 122 + tablesample 452 ms ok 123 + groupingsets 1971 ms ok 124 + drop_operator 149 ms ok 125 + password 229 ms ok 126 + identity 1646 ms ok 127 + generated 2289 ms ok 128 + join_hash 6857 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 152 ms ok 130 + brin_multi 738 ms # parallel group (18 tests): dbsize collate.utf8 async tid tsrf tidscan create_role alter_operator sysviews alter_generic misc_functions tidrangescan incremental_sort misc create_table_like merge collate.icu.utf8 without_overlaps ok 131 + create_table_like 1375 ms ok 132 + alter_generic 402 ms ok 133 + alter_operator 241 ms ok 134 + misc 1277 ms ok 135 + async 106 ms ok 136 + dbsize 75 ms ok 137 + merge 1386 ms ok 138 + misc_functions 411 ms ok 139 + sysviews 376 ms ok 140 + tsrf 191 ms ok 141 + tid 189 ms ok 142 + tidscan 205 ms ok 143 + tidrangescan 411 ms ok 144 + collate.utf8 84 ms ok 145 + collate.icu.utf8 1561 ms ok 146 + incremental_sort 1062 ms ok 147 + create_role 237 ms ok 148 + without_overlaps 1617 ms # parallel group (7 tests): collate.linux.utf8 amutils collate.windows.win1252 psql_crosstab rules psql stats_ext ok 149 + rules 1551 ms ok 150 + psql 2008 ms ok 151 + psql_crosstab 112 ms ok 152 + amutils 45 ms ok 153 + stats_ext 3738 ms ok 154 + collate.linux.utf8 26 ms ok 155 + collate.windows.win1252 65 ms ok 156 - select_parallel 8948 ms ok 157 - write_parallel 438 ms ok 158 - vacuum_parallel 386 ms # parallel group (2 tests): subscription publication ok 159 + publication 3124 ms ok 160 + subscription 140 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps equivclass guc dependency select_views bitmapops window cluster indirect_toast foreign_data tsearch foreign_key ok 161 + select_views 648 ms ok 162 + portals_p2 175 ms ok 163 + foreign_key 5116 ms ok 164 + cluster 1756 ms ok 165 + dependency 465 ms ok 166 + guc 455 ms ok 167 + bitmapops 1601 ms ok 168 + combocid 264 ms ok 169 + tsearch 3836 ms ok 170 + tsdicts 359 ms ok 171 + foreign_data 3491 ms ok 172 + window 1668 ms ok 173 + xmlmap 316 ms ok 174 + functional_deps 399 ms ok 175 + advisory_lock 239 ms ok 176 + indirect_toast 2027 ms ok 177 + equivclass 436 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson_jsontable sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 178 + json 654 ms ok 179 + jsonb 1929 ms ok 180 + json_encoding 106 ms ok 181 + jsonpath 214 ms ok 182 + jsonpath_encoding 101 ms ok 183 + jsonb_jsonpath 655 ms ok 184 + sqljson 408 ms ok 185 + sqljson_queryfuncs 531 ms ok 186 + sqljson_jsontable 401 ms # parallel group (18 tests): prepare returning plancache limit temp conversion sequence copy2 polymorphism truncate rowtypes largeobject domain with rangefuncs xml plpgsql alter_table ok 187 + plancache 637 ms ok 188 + limit 686 ms ok 189 + plpgsql 4827 ms ok 190 + copy2 1165 ms ok 191 + temp 832 ms ok 192 + domain 1895 ms ok 193 + rangefuncs 2365 ms ok 194 + prepare 266 ms ok 195 + conversion 868 ms ok 196 + truncate 1588 ms ok 197 + alter_table 6087 ms ok 198 + sequence 1159 ms ok 199 + polymorphism 1439 ms ok 200 + rowtypes 1592 ms ok 201 + returning 431 ms ok 202 + largeobject 1611 ms ok 203 + with 2150 ms ok 204 + xml 3411 ms # parallel group (15 tests): hash_part predicate explain reloptions partition_info memoize compression partition_merge stats partition_split partition_aggregate tuplesort partition_join indexing partition_prune ok 205 + partition_merge 1874 ms ok 206 + partition_split 2369 ms ok 207 + partition_join 3268 ms ok 208 + partition_prune 3686 ms ok 209 + reloptions 425 ms ok 210 + hash_part 133 ms ok 211 + indexing 3560 ms ok 212 + partition_aggregate 2411 ms ok 213 + partition_info 589 ms ok 214 + tuplesort 2676 ms ok 215 + explain 376 ms ok 216 + compression 1192 ms ok 217 + memoize 1169 ms ok 218 + stats 2085 ms ok 219 + predicate 369 ms # parallel group (2 tests): oidjoins event_trigger ok 220 + oidjoins 431 ms ok 221 + event_trigger 475 ms ok 222 - event_trigger_login 65 ms ok 223 - fast_default 268 ms ok 224 - tablespace 1048 ms 1..224 # All 224 tests passed. [17:38:17.418](63.674s) ok 5 - regression tests pass # Checking port 59921 # Found port 59921 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=59921 host=/tmp/tB628ZlDf9 Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [17:38:17.445](0.026s) # 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=59920 host=/tmp/tB628ZlDf9 dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_29oT/dump1.sql ../src/bin/pg_dump/pg_dump_sort.c:204:31: runtime error: index 47 out of bounds for type 'int [47]' ==34581==Using libbacktrace symbolizer. #0 0x557aea5918ec in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:204 #1 0x557aea5c3a83 in pg_qsort ../src/include/lib/sort_template.h:354 #2 0x557aea593eda in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #3 0x557aea5884db in main ../src/bin/pg_dump/pg_dump.c:993 #4 0x7f47d6fded09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x557aea54ad29 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 [17:38:20.291](2.846s) not ok 6 - dump before running pg_upgrade [17:38:20.291](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/tB628ZlDf9 -p 59920 -P 59921 --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 [17:38:20.526](0.235s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [17:38:20.526](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/tB628ZlDf9 -p 59920 -P 59921 --copy --check [17:38:21.435](0.908s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [17:38:21.435](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [17:38:21.435](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 35016 ### 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/tB628ZlDf9 -p 59920 -P 59921 --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* [17:38:24.154](2.719s) ok 12 - run of pg_upgrade --check for new instance [17:38:24.154](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/tB628ZlDf9 -p 59920 -P 59921 --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/20240505T173824.184/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. Failure, exiting [17:38:27.378](3.224s) not ok 14 - run of pg_upgrade for new instance [17:38:27.379](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 452. [17:38:27.379](0.000s) not ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success [17:38:27.379](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 461. ### 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 36135 [17:38:27.516](0.137s) # === 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/20240505T173824.184/log/pg_upgrade_dump_16386.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/tB628ZlDf9 --port 59920 --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/20240505T173824.184/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/20240505T173824.184/log/pg_upgrade_dump_16386.log" 2>&1 === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_dump_16385.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/tB628ZlDf9 --port 59920 --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/20240505T173824.184/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/20240505T173824.184/log/pg_upgrade_dump_16385.log" 2>&1 === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_internal.log === ----------------------------------------------------------------- pg_upgrade run on Sun May 5 17:38:24 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/20240505T173824.184/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_dump_16387.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/tB628ZlDf9 --port 59920 --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/20240505T173824.184/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/20240505T173824.184/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]' ==36049==Using libbacktrace symbolizer. #0 0x55a707021934 in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:205 #1 0x55a70705318e in pg_qsort_med3 ../src/include/lib/sort_template.h:267 #2 0x55a7070535b7 in pg_qsort ../src/include/lib/sort_template.h:343 #3 0x55a707023eda in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #4 0x55a7070184db in main ../src/bin/pg_dump/pg_dump.c:993 #5 0x7feb930e6d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x55a706fdad29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_utility.log === ----------------------------------------------------------------- pg_upgrade run on Sun May 5 17:38:24 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dumpall" --host /tmp/tB628ZlDf9 --port 59920 --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/20240505T173824.184/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/20240505T173824.184/log/pg_upgrade_utility.log" 2>&1 === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_dump_1.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/tB628ZlDf9 --port 59920 --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/20240505T173824.184/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/20240505T173824.184/log/pg_upgrade_dump_1.log" 2>&1 === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_dump_5.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/tB628ZlDf9 --port 59920 --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/20240505T173824.184/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/20240505T173824.184/log/pg_upgrade_dump_5.log" 2>&1 === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_dump_16384.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/tB628ZlDf9 --port 59920 --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/20240505T173824.184/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/20240505T173824.184/log/pg_upgrade_dump_16384.log" 2>&1 === EOF === [17:38:27.517](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/20240505T173824.184/log/pg_upgrade_server.log === ----------------------------------------------------------------- pg_upgrade run on Sun May 5 17:38:24 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/20240505T173824.184/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 59920 -b -c max_slot_wal_keep_size=-1 -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/tmp/tB628ZlDf9'" 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/20240505T173824.184/log/pg_upgrade_server.log" 2>&1 waiting for server to start....2024-05-05 17:38:24.316 UTC [35624][postmaster] LOG: starting PostgreSQL 17devel on x86_64-linux, compiled by gcc-10.2.1, 64-bit 2024-05-05 17:38:24.316 UTC [35624][postmaster] LOG: listening on Unix socket "/tmp/tB628ZlDf9/.s.PGSQL.59920" 2024-05-05 17:38:24.322 UTC [35627][startup] LOG: database system was shut down at 2024-05-05 17:38:23 UTC 2024-05-05 17:38:24.326 UTC [35624][postmaster] LOG: database system is ready to accept connections done server started 2024-05-05 17:38:24.418 UTC [35645][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.418 UTC [35645][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-05-05 17:38:24.418 UTC [35645][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.432 UTC [35645][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.018 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.444 UTC [35648][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.444 UTC [35648][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-05-05 17:38:24.444 UTC [35648][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.445 UTC [35648][client backend] [002_pg_upgrade.pl][1/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.446 UTC [35648][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-05-05 17:38:24.447 UTC [35648][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.456 UTC [35650][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.456 UTC [35650][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-05-05 17:38:24.456 UTC [35650][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.457 UTC [35650][client backend] [002_pg_upgrade.pl][2/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.458 UTC [35650][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-05-05 17:38:24.460 UTC [35650][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.469 UTC [35651][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.469 UTC [35651][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-05-05 17:38:24.469 UTC [35651][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.472 UTC [35651][client backend] [002_pg_upgrade.pl][3/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.474 UTC [35651][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-05-05 17:38:24.481 UTC [35651][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.014 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.489 UTC [35654][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.494 UTC [35654][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-05-05 17:38:24.494 UTC [35654][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.500 UTC [35654][client backend] [002_pg_upgrade.pl][4/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.501 UTC [35654][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-05-05 17:38:24.517 UTC [35654][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.029 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.518 UTC [35665][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.518 UTC [35665][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-05-05 17:38:24.518 UTC [35665][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.520 UTC [35665][client backend] [002_pg_upgrade.pl][5/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.520 UTC [35665][client backend] [002_pg_upgrade.pl][5/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 1 2024-05-05 17:38:24.526 UTC [35665][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.528 UTC [35668][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.529 UTC [35668][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-05-05 17:38:24.529 UTC [35668][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.535 UTC [35668][client backend] [002_pg_upgrade.pl][6/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.535 UTC [35668][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-05-05 17:38:24.540 UTC [35668][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=postgres host=[local] 2024-05-05 17:38:24.553 UTC [35671][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.555 UTC [35671][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-05-05 17:38:24.555 UTC [35671][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.556 UTC [35671][client backend] [002_pg_upgrade.pl][7/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.557 UTC [35671][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-05-05 17:38:24.562 UTC [35671][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2024-05-05 17:38:24.590 UTC [35673][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.590 UTC [35673][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-05-05 17:38:24.590 UTC [35673][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.601 UTC [35673][client backend] [002_pg_upgrade.pl][8/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.601 UTC [35673][client backend] [002_pg_upgrade.pl][8/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 5 2024-05-05 17:38:24.603 UTC [35673][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.018 user=postgres database=postgres host=[local] 2024-05-05 17:38:24.605 UTC [35681][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.606 UTC [35681][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-05-05 17:38:24.606 UTC [35681][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.614 UTC [35681][client backend] [002_pg_upgrade.pl][9/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.614 UTC [35681][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-05-05 17:38:24.640 UTC [35681][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.035 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-05 17:38:24.643 UTC [35691][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.643 UTC [35691][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-05-05 17:38:24.643 UTC [35691][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.644 UTC [35691][client backend] [002_pg_upgrade.pl][10/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.655 UTC [35691][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-05-05 17:38:24.657 UTC [35691][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.014 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-05 17:38:24.678 UTC [35693][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.678 UTC [35693][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-05-05 17:38:24.678 UTC [35693][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.683 UTC [35693][client backend] [002_pg_upgrade.pl][11/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.683 UTC [35693][client backend] [002_pg_upgrade.pl][11/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16384 2024-05-05 17:38:24.691 UTC [35693][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.022 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-05 17:38:24.693 UTC [35694][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.696 UTC [35694][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-05-05 17:38:24.696 UTC [35694][client backend] [[unknown]][12/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.710 UTC [35694][client backend] [002_pg_upgrade.pl][12/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.712 UTC [35694][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-05-05 17:38:24.724 UTC [35694][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.031 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-05 17:38:24.725 UTC [35696][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.726 UTC [35696][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-05-05 17:38:24.726 UTC [35696][client backend] [[unknown]][13/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.727 UTC [35696][client backend] [002_pg_upgrade.pl][13/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.727 UTC [35696][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-05-05 17:38:24.729 UTC [35696][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-05 17:38:24.730 UTC [35697][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.738 UTC [35697][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-05-05 17:38:24.738 UTC [35697][client backend] [[unknown]][14/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.739 UTC [35697][client backend] [002_pg_upgrade.pl][14/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.739 UTC [35697][client backend] [002_pg_upgrade.pl][14/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16385 2024-05-05 17:38:24.741 UTC [35697][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-05 17:38:24.742 UTC [35699][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.742 UTC [35699][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-05-05 17:38:24.742 UTC [35699][client backend] [[unknown]][15/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.746 UTC [35699][client backend] [002_pg_upgrade.pl][15/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.747 UTC [35699][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-05-05 17:38:24.752 UTC [35699][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-05 17:38:24.754 UTC [35701][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.754 UTC [35701][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-05-05 17:38:24.754 UTC [35701][client backend] [[unknown]][16/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.755 UTC [35701][client backend] [002_pg_upgrade.pl][16/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.755 UTC [35701][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-05-05 17:38:24.757 UTC [35701][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-05 17:38:24.765 UTC [35702][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.767 UTC [35702][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-05-05 17:38:24.767 UTC [35702][client backend] [[unknown]][17/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.768 UTC [35702][client backend] [002_pg_upgrade.pl][17/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.770 UTC [35702][client backend] [002_pg_upgrade.pl][17/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16386 2024-05-05 17:38:24.772 UTC [35702][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-05 17:38:24.790 UTC [35709][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.790 UTC [35709][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-05-05 17:38:24.790 UTC [35709][client backend] [[unknown]][18/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.798 UTC [35709][client backend] [002_pg_upgrade.pl][18/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.798 UTC [35709][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-05-05 17:38:24.853 UTC [35709][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.067 user=postgres database=regression host=[local] 2024-05-05 17:38:24.862 UTC [35717][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.862 UTC [35717][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-05-05 17:38:24.862 UTC [35717][client backend] [[unknown]][19/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.870 UTC [35717][client backend] [002_pg_upgrade.pl][19/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.871 UTC [35717][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-05-05 17:38:24.873 UTC [35717][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=regression host=[local] 2024-05-05 17:38:24.878 UTC [35723][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.879 UTC [35723][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-05-05 17:38:24.879 UTC [35723][client backend] [[unknown]][20/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.885 UTC [35723][client backend] [002_pg_upgrade.pl][20/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.886 UTC [35723][client backend] [002_pg_upgrade.pl][20/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16387 2024-05-05 17:38:24.890 UTC [35723][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=regression host=[local] 2024-05-05 17:38:24.904 UTC [35724][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.905 UTC [35724][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-05-05 17:38:24.905 UTC [35724][client backend] [[unknown]][21/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.905 UTC [35724][client backend] [002_pg_upgrade.pl][21/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.906 UTC [35724][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-05-05 17:38:24.908 UTC [35724][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.919 UTC [35726][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.922 UTC [35726][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-05-05 17:38:24.922 UTC [35726][client backend] [[unknown]][22/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.927 UTC [35726][client backend] [002_pg_upgrade.pl][22/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.933 UTC [35726][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-05-05 17:38:24.938 UTC [35726][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=template1 host=[local] 2024-05-05 17:38:24.953 UTC [35733][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.953 UTC [35733][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-05-05 17:38:24.953 UTC [35733][client backend] [[unknown]][23/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.956 UTC [35733][client backend] [002_pg_upgrade.pl][23/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.957 UTC [35733][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-05-05 17:38:24.963 UTC [35734][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:24.964 UTC [35734][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-05-05 17:38:24.964 UTC [35734][client backend] [[unknown]][24/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-05 17:38:24.966 UTC [35733][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.014 user=postgres database=postgres host=[local] 2024-05-05 17:38:24.966 UTC [35734][client backend] [002_pg_upgrade.pl][24/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:24.967 UTC [35734][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-05-05 17:38:24.975 UTC [35734][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-05 17:38:24.999 UTC [35740][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.000 UTC [35740][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-05-05 17:38:25.000 UTC [35740][client backend] [[unknown]][25/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.001 UTC [35740][client backend] [002_pg_upgrade.pl][25/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.003 UTC [35740][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-05-05 17:38:25.013 UTC [35740][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.014 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-05 17:38:25.033 UTC [35747][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.034 UTC [35747][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-05-05 17:38:25.034 UTC [35747][client backend] [[unknown]][26/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.035 UTC [35747][client backend] [002_pg_upgrade.pl][26/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.038 UTC [35747][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-05-05 17:38:25.042 UTC [35747][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-05 17:38:25.043 UTC [35749][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.046 UTC [35749][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-05-05 17:38:25.047 UTC [35749][client backend] [[unknown]][27/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.048 UTC [35749][client backend] [002_pg_upgrade.pl][27/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.048 UTC [35749][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-05-05 17:38:25.053 UTC [35749][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=regression host=[local] 2024-05-05 17:38:25.064 UTC [35751][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.068 UTC [35751][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-05-05 17:38:25.068 UTC [35751][client backend] [[unknown]][28/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.072 UTC [35751][client backend] [002_pg_upgrade.pl][28/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.076 UTC [35751][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-05-05 17:38:25.082 UTC [35751][client backend] [002_pg_upgrade.pl][28/4:0] LOG: statement: SELECT COUNT(*) FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_' 2024-05-05 17:38:25.087 UTC [35751][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.024 user=postgres database=template1 host=[local] 2024-05-05 17:38:25.089 UTC [35767][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.089 UTC [35767][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-05-05 17:38:25.089 UTC [35767][client backend] [[unknown]][29/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.091 UTC [35767][client backend] [002_pg_upgrade.pl][29/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.091 UTC [35767][client backend] [002_pg_upgrade.pl][29/3:0] LOG: statement: SELECT datname, datallowconn FROM pg_catalog.pg_database 2024-05-05 17:38:25.092 UTC [35767][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=template1 host=[local] 2024-05-05 17:38:25.093 UTC [35768][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.094 UTC [35768][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-05-05 17:38:25.094 UTC [35768][client backend] [[unknown]][30/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.095 UTC [35768][client backend] [002_pg_upgrade.pl][30/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.095 UTC [35768][client backend] [002_pg_upgrade.pl][30/3:0] LOG: statement: SELECT * FROM pg_catalog.pg_prepared_xacts 2024-05-05 17:38:25.097 UTC [35768][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=template1 host=[local] 2024-05-05 17:38:25.099 UTC [35769][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.099 UTC [35769][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-05-05 17:38:25.099 UTC [35769][client backend] [[unknown]][31/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.106 UTC [35769][client backend] [002_pg_upgrade.pl][31/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.106 UTC [35769][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-05-05 17:38:25.108 UTC [35769][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-05-05 17:38:25.110 UTC [35769][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=template1 host=[local] 2024-05-05 17:38:25.120 UTC [35771][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.120 UTC [35771][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-05-05 17:38:25.120 UTC [35771][client backend] [[unknown]][32/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.130 UTC [35771][client backend] [002_pg_upgrade.pl][32/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.130 UTC [35771][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-05-05 17:38:25.132 UTC [35771][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.014 user=postgres database=postgres host=[local] 2024-05-05 17:38:25.143 UTC [35775][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.143 UTC [35775][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-05-05 17:38:25.143 UTC [35775][client backend] [[unknown]][33/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.146 UTC [35775][client backend] [002_pg_upgrade.pl][33/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.146 UTC [35775][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-05-05 17:38:25.149 UTC [35775][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-05 17:38:25.157 UTC [35779][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.157 UTC [35779][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-05-05 17:38:25.157 UTC [35779][client backend] [[unknown]][34/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.159 UTC [35779][client backend] [002_pg_upgrade.pl][34/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.159 UTC [35779][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-05-05 17:38:25.162 UTC [35779][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-05 17:38:25.175 UTC [35782][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.176 UTC [35782][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-05-05 17:38:25.176 UTC [35782][client backend] [[unknown]][35/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.184 UTC [35782][client backend] [002_pg_upgrade.pl][35/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.185 UTC [35782][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-05-05 17:38:25.194 UTC [35782][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.021 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-05 17:38:25.196 UTC [35790][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.197 UTC [35790][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-05-05 17:38:25.197 UTC [35790][client backend] [[unknown]][36/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.202 UTC [35790][client backend] [002_pg_upgrade.pl][36/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.202 UTC [35790][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-05-05 17:38:25.214 UTC [35790][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.018 user=postgres database=regression host=[local] 2024-05-05 17:38:25.226 UTC [35795][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.226 UTC [35795][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-05-05 17:38:25.226 UTC [35795][client backend] [[unknown]][37/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.234 UTC [35795][client backend] [002_pg_upgrade.pl][37/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.234 UTC [35795][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-05-05 17:38:25.266 UTC [35795][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-05-05 17:38:25.279 UTC [35795][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.062 user=postgres database=template1 host=[local] 2024-05-05 17:38:25.286 UTC [35811][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.289 UTC [35811][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-05-05 17:38:25.289 UTC [35811][client backend] [[unknown]][38/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.293 UTC [35811][client backend] [002_pg_upgrade.pl][38/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.294 UTC [35811][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-05-05 17:38:25.330 UTC [35811][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-05-05 17:38:25.351 UTC [35811][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.066 user=postgres database=postgres host=[local] 2024-05-05 17:38:25.357 UTC [35820][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.358 UTC [35820][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-05-05 17:38:25.358 UTC [35820][client backend] [[unknown]][39/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.359 UTC [35820][client backend] [002_pg_upgrade.pl][39/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.360 UTC [35820][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-05-05 17:38:25.415 UTC [35820][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-05-05 17:38:25.454 UTC [35820][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.097 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-05 17:38:25.462 UTC [35830][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.463 UTC [35830][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-05-05 17:38:25.463 UTC [35830][client backend] [[unknown]][40/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.463 UTC [35830][client backend] [002_pg_upgrade.pl][40/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.464 UTC [35830][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-05-05 17:38:25.491 UTC [35830][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-05-05 17:38:25.507 UTC [35838][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.508 UTC [35838][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-05-05 17:38:25.508 UTC [35838][client backend] [[unknown]][41/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.513 UTC [35838][client backend] [002_pg_upgrade.pl][41/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.513 UTC [35838][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-05-05 17:38:25.522 UTC [35830][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.063 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-05 17:38:25.537 UTC [35838][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-05-05 17:38:25.556 UTC [35838][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.049 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-05 17:38:25.561 UTC [35844][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.564 UTC [35844][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-05-05 17:38:25.564 UTC [35844][client backend] [[unknown]][42/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.566 UTC [35844][client backend] [002_pg_upgrade.pl][42/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.568 UTC [35844][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-05-05 17:38:25.821 UTC [35844][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-05-05 17:38:25.898 UTC [35844][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.337 user=postgres database=regression host=[local] 2024-05-05 17:38:25.943 UTC [35909][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:25.944 UTC [35909][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-05-05 17:38:25.944 UTC [35909][client backend] [[unknown]][43/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:25.950 UTC [35909][client backend] [002_pg_upgrade.pl][43/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:25.950 UTC [35909][client backend] [002_pg_upgrade.pl][43/3:0] LOG: statement: SET quote_all_identifiers = true 2024-05-05 17:38:25.950 UTC [35909][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-05-05 17:38:25.952 UTC [35909][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-05-05 17:38:25.959 UTC [35909][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-05-05 17:38:25.959 UTC [35909][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-05-05 17:38:25.961 UTC [35909][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-05-05 17:38:25.969 UTC [35909][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-05-05 17:38:25.970 UTC [35909][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2024-05-05 17:38:26.023 UTC [35921][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:26.024 UTC [35921][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-05-05 17:38:26.024 UTC [35921][client backend] [[unknown]][44/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-05 17:38:26.025 UTC [35921][client backend] [002_pg_upgrade.pl][44/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.025 UTC [35921][client backend] [002_pg_upgrade.pl][44/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/9:0] LOG: statement: SET statement_timeout = 0 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/10:0] LOG: statement: SET lock_timeout = 0 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/14:0] LOG: statement: SET row_security = off 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: BEGIN 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-05 17:38:26.026 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-05 17:38:26.029 UTC [35921][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-05-05 17:38:26.030 UTC [35921][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-05-05 17:38:26.034 UTC [35921][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-05-05 17:38:26.034 UTC [35921][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-05-05 17:38:26.056 UTC [35921][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-05-05 17:38:26.086 UTC [35921][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-05-05 17:38:26.099 UTC [35921][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-05-05 17:38:26.100 UTC [35921][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-05-05 17:38:26.105 UTC [35921][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-05-05 17:38:26.115 UTC [35921][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-05-05 17:38:26.116 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-05 17:38:26.117 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-05 17:38:26.117 UTC [35921][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-05-05 17:38:26.118 UTC [35921][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-05-05 17:38:26.118 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-05-05 17:38:26.119 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-05 17:38:26.120 UTC [35921][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-05-05 17:38:26.135 UTC [35921][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-05-05 17:38:26.135 UTC [35921][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-05-05 17:38:26.136 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-05 17:38:26.138 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-05 17:38:26.138 UTC [35921][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-05-05 17:38:26.139 UTC [35921][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-05-05 17:38:26.139 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-05 17:38:26.140 UTC [35921][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-05-05 17:38:26.140 UTC [35921][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-05-05 17:38:26.141 UTC [35921][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-05-05 17:38:26.146 UTC [35921][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-05-05 17:38:26.158 UTC [35921][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-05-05 17:38:26.158 UTC [35921][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-05-05 17:38:26.159 UTC [35921][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-05-05 17:38:26.159 UTC [35921][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-05-05 17:38:26.160 UTC [35921][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-05-05 17:38:26.162 UTC [35921][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-05-05 17:38:26.170 UTC [35921][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-05-05 17:38:26.171 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-05 17:38:26.171 UTC [35921][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-05-05 17:38:26.172 UTC [35921][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-05-05 17:38:26.172 UTC [35921][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-05-05 17:38:26.172 UTC [35921][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-05-05 17:38:26.186 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-05 17:38:26.194 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-05 17:38:26.195 UTC [35921][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-05-05 17:38:26.224 UTC [35921][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-05-05 17:38:26.227 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-05 17:38:26.227 UTC [35921][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-05-05 17:38:26.229 UTC [35921][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-05-05 17:38:26.238 UTC [35921][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-05-05 17:38:26.238 UTC [35921][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-05-05 17:38:26.239 UTC [35921][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-05-05 17:38:26.239 UTC [35921][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-05-05 17:38:26.240 UTC [35921][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-05 17:38:26.240 UTC [35921][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-05-05 17:38:26.252 UTC [35921][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.231 user=postgres database=template1 host=[local] 2024-05-05 17:38:26.288 UTC [35965][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:26.289 UTC [35965][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-05-05 17:38:26.289 UTC [35965][client backend] [[unknown]][45/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-05 17:38:26.290 UTC [35965][client backend] [002_pg_upgrade.pl][45/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/9:0] LOG: statement: SET statement_timeout = 0 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/10:0] LOG: statement: SET lock_timeout = 0 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-05 17:38:26.293 UTC [35965][client backend] [002_pg_upgrade.pl][45/14:0] LOG: statement: SET row_security = off 2024-05-05 17:38:26.294 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: BEGIN 2024-05-05 17:38:26.294 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-05 17:38:26.294 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-05 17:38:26.295 UTC [35965][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-05-05 17:38:26.296 UTC [35965][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-05-05 17:38:26.297 UTC [35965][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-05-05 17:38:26.297 UTC [35965][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-05-05 17:38:26.302 UTC [35965][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-05-05 17:38:26.310 UTC [35965][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-05-05 17:38:26.315 UTC [35965][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-05-05 17:38:26.315 UTC [35965][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-05-05 17:38:26.317 UTC [35965][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-05-05 17:38:26.318 UTC [35965][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-05-05 17:38:26.319 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-05 17:38:26.319 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-05 17:38:26.319 UTC [35965][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-05-05 17:38:26.320 UTC [35965][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-05-05 17:38:26.320 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-05-05 17:38:26.320 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-05 17:38:26.321 UTC [35965][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-05-05 17:38:26.321 UTC [35965][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-05-05 17:38:26.322 UTC [35965][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-05-05 17:38:26.322 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-05 17:38:26.324 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-05 17:38:26.325 UTC [35965][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-05-05 17:38:26.326 UTC [35965][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-05-05 17:38:26.326 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-05 17:38:26.326 UTC [35965][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-05-05 17:38:26.327 UTC [35965][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-05-05 17:38:26.327 UTC [35965][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-05-05 17:38:26.330 UTC [35965][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-05-05 17:38:26.333 UTC [35965][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-05-05 17:38:26.333 UTC [35965][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-05-05 17:38:26.333 UTC [35965][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-05-05 17:38:26.334 UTC [35965][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-05-05 17:38:26.335 UTC [35965][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-05-05 17:38:26.335 UTC [35965][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-05-05 17:38:26.336 UTC [35965][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-05-05 17:38:26.336 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-05 17:38:26.337 UTC [35965][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-05-05 17:38:26.337 UTC [35965][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-05-05 17:38:26.337 UTC [35965][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-05-05 17:38:26.338 UTC [35965][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-05-05 17:38:26.348 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-05 17:38:26.349 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-05 17:38:26.350 UTC [35965][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-05-05 17:38:26.372 UTC [35965][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-05-05 17:38:26.374 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-05 17:38:26.375 UTC [35965][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-05-05 17:38:26.376 UTC [35965][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-05-05 17:38:26.378 UTC [35965][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-05-05 17:38:26.378 UTC [35965][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-05-05 17:38:26.378 UTC [35965][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-05-05 17:38:26.379 UTC [35965][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-05-05 17:38:26.379 UTC [35965][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-05 17:38:26.379 UTC [35965][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-05-05 17:38:26.388 UTC [35965][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.101 user=postgres database=postgres host=[local] 2024-05-05 17:38:26.422 UTC [35981][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:26.423 UTC [35981][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-05-05 17:38:26.423 UTC [35981][client backend] [[unknown]][46/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-05 17:38:26.424 UTC [35981][client backend] [002_pg_upgrade.pl][46/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.424 UTC [35981][client backend] [002_pg_upgrade.pl][46/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-05 17:38:26.424 UTC [35981][client backend] [002_pg_upgrade.pl][46/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.424 UTC [35981][client backend] [002_pg_upgrade.pl][46/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-05 17:38:26.424 UTC [35981][client backend] [002_pg_upgrade.pl][46/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/9:0] LOG: statement: SET statement_timeout = 0 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/10:0] LOG: statement: SET lock_timeout = 0 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/14:0] LOG: statement: SET row_security = off 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: BEGIN 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-05 17:38:26.425 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-05 17:38:26.426 UTC [35981][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-05-05 17:38:26.427 UTC [35981][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-05-05 17:38:26.430 UTC [35981][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-05-05 17:38:26.430 UTC [35981][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-05-05 17:38:26.443 UTC [35981][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-05-05 17:38:26.462 UTC [35981][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-05-05 17:38:26.475 UTC [35981][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-05-05 17:38:26.476 UTC [35981][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-05-05 17:38:26.477 UTC [35981][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-05-05 17:38:26.479 UTC [35981][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-05-05 17:38:26.479 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-05 17:38:26.480 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-05 17:38:26.481 UTC [35981][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-05-05 17:38:26.484 UTC [35981][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-05-05 17:38:26.486 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-05-05 17:38:26.488 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-05 17:38:26.494 UTC [35981][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-05-05 17:38:26.495 UTC [35981][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-05-05 17:38:26.496 UTC [35981][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-05-05 17:38:26.497 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-05 17:38:26.501 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-05 17:38:26.502 UTC [35981][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-05-05 17:38:26.510 UTC [35981][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-05-05 17:38:26.511 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-05 17:38:26.512 UTC [35981][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-05-05 17:38:26.513 UTC [35981][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-05-05 17:38:26.514 UTC [35981][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-05-05 17:38:26.520 UTC [35981][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-05-05 17:38:26.525 UTC [35981][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-05-05 17:38:26.527 UTC [35981][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-05-05 17:38:26.528 UTC [35981][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-05-05 17:38:26.529 UTC [35981][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-05-05 17:38:26.529 UTC [35981][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-05-05 17:38:26.534 UTC [35981][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-05-05 17:38:26.535 UTC [35981][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-05-05 17:38:26.549 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-05 17:38:26.552 UTC [35981][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-05-05 17:38:26.553 UTC [35981][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-05-05 17:38:26.553 UTC [35981][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-05-05 17:38:26.555 UTC [35981][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-05-05 17:38:26.561 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-05 17:38:26.564 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-05 17:38:26.564 UTC [35981][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-05-05 17:38:26.589 UTC [35981][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-05-05 17:38:26.592 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-05 17:38:26.592 UTC [35981][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-05-05 17:38:26.593 UTC [35981][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-05-05 17:38:26.595 UTC [35981][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-05-05 17:38:26.595 UTC [35981][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-05-05 17:38:26.596 UTC [35981][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-05-05 17:38:26.599 UTC [35981][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-05-05 17:38:26.606 UTC [35981][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-05 17:38:26.606 UTC [35981][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-05-05 17:38:26.616 UTC [35981][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.196 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-05 17:38:26.648 UTC [36014][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:26.648 UTC [36014][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-05-05 17:38:26.648 UTC [36014][client backend] [[unknown]][47/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-05 17:38:26.649 UTC [36014][client backend] [002_pg_upgrade.pl][47/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.649 UTC [36014][client backend] [002_pg_upgrade.pl][47/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-05 17:38:26.649 UTC [36014][client backend] [002_pg_upgrade.pl][47/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/9:0] LOG: statement: SET statement_timeout = 0 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/10:0] LOG: statement: SET lock_timeout = 0 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/14:0] LOG: statement: SET row_security = off 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: BEGIN 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-05 17:38:26.650 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-05 17:38:26.651 UTC [36014][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-05-05 17:38:26.652 UTC [36014][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-05-05 17:38:26.653 UTC [36014][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-05-05 17:38:26.654 UTC [36014][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-05-05 17:38:26.659 UTC [36014][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-05-05 17:38:26.667 UTC [36014][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-05-05 17:38:26.672 UTC [36014][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-05-05 17:38:26.672 UTC [36014][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-05-05 17:38:26.674 UTC [36014][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-05-05 17:38:26.675 UTC [36014][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-05-05 17:38:26.676 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-05 17:38:26.676 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-05 17:38:26.676 UTC [36014][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-05-05 17:38:26.677 UTC [36014][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-05-05 17:38:26.677 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-05-05 17:38:26.677 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-05 17:38:26.678 UTC [36014][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-05-05 17:38:26.678 UTC [36014][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-05-05 17:38:26.679 UTC [36014][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-05-05 17:38:26.679 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-05 17:38:26.681 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-05 17:38:26.682 UTC [36014][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-05-05 17:38:26.683 UTC [36014][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-05-05 17:38:26.683 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-05 17:38:26.683 UTC [36014][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-05-05 17:38:26.684 UTC [36014][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-05-05 17:38:26.684 UTC [36014][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-05-05 17:38:26.687 UTC [36014][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-05-05 17:38:26.697 UTC [36014][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-05-05 17:38:26.697 UTC [36014][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-05-05 17:38:26.698 UTC [36014][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-05-05 17:38:26.699 UTC [36014][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-05-05 17:38:26.700 UTC [36014][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-05-05 17:38:26.701 UTC [36014][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-05-05 17:38:26.701 UTC [36014][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-05-05 17:38:26.703 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-05 17:38:26.703 UTC [36014][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-05-05 17:38:26.704 UTC [36014][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-05-05 17:38:26.705 UTC [36014][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-05-05 17:38:26.706 UTC [36014][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-05-05 17:38:26.717 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-05 17:38:26.719 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-05 17:38:26.719 UTC [36014][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-05-05 17:38:26.739 UTC [36014][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-05-05 17:38:26.742 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-05 17:38:26.743 UTC [36014][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-05-05 17:38:26.745 UTC [36014][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-05-05 17:38:26.747 UTC [36014][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-05-05 17:38:26.748 UTC [36014][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-05-05 17:38:26.748 UTC [36014][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-05-05 17:38:26.749 UTC [36014][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-05-05 17:38:26.749 UTC [36014][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-05 17:38:26.749 UTC [36014][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-05-05 17:38:26.760 UTC [36014][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.112 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-05 17:38:26.787 UTC [36038][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:26.788 UTC [36038][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-05-05 17:38:26.788 UTC [36038][client backend] [[unknown]][48/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-05 17:38:26.793 UTC [36038][client backend] [002_pg_upgrade.pl][48/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.793 UTC [36038][client backend] [002_pg_upgrade.pl][48/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-05 17:38:26.793 UTC [36038][client backend] [002_pg_upgrade.pl][48/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.793 UTC [36038][client backend] [002_pg_upgrade.pl][48/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-05 17:38:26.793 UTC [36038][client backend] [002_pg_upgrade.pl][48/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/9:0] LOG: statement: SET statement_timeout = 0 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/10:0] LOG: statement: SET lock_timeout = 0 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/14:0] LOG: statement: SET row_security = off 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: BEGIN 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-05 17:38:26.794 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-05 17:38:26.795 UTC [36038][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-05-05 17:38:26.796 UTC [36038][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-05-05 17:38:26.803 UTC [36038][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-05-05 17:38:26.804 UTC [36038][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-05-05 17:38:26.811 UTC [36038][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-05-05 17:38:26.820 UTC [36038][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-05-05 17:38:26.825 UTC [36038][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-05-05 17:38:26.825 UTC [36038][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-05-05 17:38:26.827 UTC [36038][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-05-05 17:38:26.828 UTC [36038][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-05-05 17:38:26.829 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-05 17:38:26.829 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-05 17:38:26.830 UTC [36038][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-05-05 17:38:26.830 UTC [36038][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-05-05 17:38:26.831 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-05-05 17:38:26.831 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-05 17:38:26.831 UTC [36038][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-05-05 17:38:26.832 UTC [36038][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-05-05 17:38:26.832 UTC [36038][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-05-05 17:38:26.833 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-05 17:38:26.836 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-05 17:38:26.836 UTC [36038][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-05-05 17:38:26.837 UTC [36038][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-05-05 17:38:26.838 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-05 17:38:26.838 UTC [36038][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-05-05 17:38:26.839 UTC [36038][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-05-05 17:38:26.840 UTC [36038][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-05-05 17:38:26.842 UTC [36038][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-05-05 17:38:26.846 UTC [36038][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-05-05 17:38:26.846 UTC [36038][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-05-05 17:38:26.847 UTC [36038][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-05-05 17:38:26.847 UTC [36038][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-05-05 17:38:26.848 UTC [36038][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-05-05 17:38:26.849 UTC [36038][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-05-05 17:38:26.849 UTC [36038][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-05-05 17:38:26.850 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-05 17:38:26.850 UTC [36038][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-05-05 17:38:26.851 UTC [36038][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-05-05 17:38:26.851 UTC [36038][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-05-05 17:38:26.852 UTC [36038][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-05-05 17:38:26.855 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-05 17:38:26.856 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-05 17:38:26.857 UTC [36038][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-05-05 17:38:26.897 UTC [36038][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-05-05 17:38:26.900 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-05 17:38:26.900 UTC [36038][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-05-05 17:38:26.901 UTC [36038][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-05-05 17:38:26.902 UTC [36038][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-05-05 17:38:26.903 UTC [36038][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-05-05 17:38:26.903 UTC [36038][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-05-05 17:38:26.903 UTC [36038][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-05-05 17:38:26.904 UTC [36038][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-05 17:38:26.904 UTC [36038][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-05-05 17:38:26.912 UTC [36038][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.125 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-05 17:38:26.941 UTC [36053][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-05 17:38:26.942 UTC [36053][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-05-05 17:38:26.942 UTC [36053][client backend] [[unknown]][49/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-05 17:38:26.945 UTC [36053][client backend] [002_pg_upgrade.pl][49/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.945 UTC [36053][client backend] [002_pg_upgrade.pl][49/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-05 17:38:26.946 UTC [36053][client backend] [002_pg_upgrade.pl][49/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-05 17:38:26.946 UTC [36053][client backend] [002_pg_upgrade.pl][49/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-05 17:38:26.946 UTC [36053][client backend] [002_pg_upgrade.pl][49/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-05 17:38:26.946 UTC [36053][client backend] [002_pg_upgrade.pl][49/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-05 17:38:26.948 UTC [36053][client backend] [002_pg_upgrade.pl][49/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-05 17:38:26.948 UTC [36053][client backend] [002_pg_upgrade.pl][49/9:0] LOG: statement: SET statement_timeout = 0 2024-05-05 17:38:26.948 UTC [36053][client backend] [002_pg_upgrade.pl][49/10:0] LOG: statement: SET lock_timeout = 0 2024-05-05 17:38:26.948 UTC [36053][client backend] [002_pg_upgrade.pl][49/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-05 17:38:26.948 UTC [36053][client backend] [002_pg_upgrade.pl][49/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-05 17:38:26.948 UTC [36053][client backend] [002_pg_upgrade.pl][49/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-05 17:38:26.948 UTC [36053][client backend] [002_pg_upgrade.pl][49/14:0] LOG: statement: SET row_security = off 2024-05-05 17:38:26.949 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: BEGIN 2024-05-05 17:38:26.949 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-05 17:38:26.949 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-05 17:38:26.950 UTC [36053][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-05-05 17:38:26.953 UTC [36053][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-05-05 17:38:26.955 UTC [36053][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-05-05 17:38:26.955 UTC [36053][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-05-05 17:38:26.979 UTC [36053][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"."num_exp_sqrt", "public"."num_exp_ln", "public"."float4_tbl", "public"."num_exp_log10", "public"."numrange_test", "public"."num_exp_power_10_ln", "public"."num_result", "public"."textrange_test", "public"."test_range_gist", "public"."bit_defaults", "public"."test_range_spgist", "public"."num_input_test", "public"."num_typemod_test", "public"."test_range_excl", "public"."polygon_tbl", "public"."inet_tbl", "public"."timestamptz_tbl", "public"."timetz_tbl", "public"."timestamp_tbl", "public"."date_tbl", "public"."lseg_tbl", "public"."time_tbl", "public"."quad_poly_tbl", "public"."path_tbl", "public"."box_tbl", "public"."interval_tbl", "public"."circle_tbl", "public"."line_tbl", "public"."nummultirange_test", "public"."quad_box_tbl", "public"."quad_box_tbl_ord_seq1", "public"."quad_box_tbl_ord_seq2", "public"."infinite_interval_tbl", "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"."real_city", "public"."ramp", "public"."tbl_include_reg", "public"."quad_point_tbl", "public"."tbl_include_unique1", "public"."view_base_table", "public"."tbl_include_unique2", "public"."tbl_include_pk", "public"."tbl_include_box", "public"."tbl_include_box_pk", "public"."slow_emp4000", "public"."fast_emp4000", "public"."kd_point_tbl", "public"."radix_text_tbl", "public"."array_index_op_test", "public"."func_index_heap", "public"."dupindexcols", "public"."a", "public"."default_tbl", "public"."b", "public"."c", "public"."d", "public"."defaultexpr_tbl", "public"."check_tbl", "public"."tableam_tbl_heap2", "public"."check2_tbl", "public"."insert_tbl", "public"."tableam_tblas_heap2", "public"."tableam_parted_heap2", "public"."tableam_parted_a_heap2", "public"."tableam_parted_b_heap2", "public"."tableam_parted_c_heap2", "public"."tableam_parted_d_heap2", "public"."log_table", "public"."main_table", "public"."persons", "public"."persons2", "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"."aggtest", "public"."xacttest", "public"."arrtest", "public"."subselect_tbl", "public"."bt_i4_heap", "public"."bt_name_heap", "public"."bt_txt_heap", "public"."array_op_test", "public"."hash_i4_heap", "public"."hash_name_heap", "public"."hash_txt_heap", "public"."bt_f8_heap", "public"."hash_f8_heap", "public"."dedup_unique_test_table", "public"."sj", "public"."agg_data_2k", "public"."agg_data_20k", "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"."brintest", "public"."mvtest_t", "public"."gin_test_tbl", "public"."gist_point_tbl", "public"."gtest0", "public"."gtest1", "public"."itest1", "public"."spgist_point_tbl", "public"."test_tablesample", "public"."itest2", "public"."itest3", "public"."brinopers", "public"."itest4", "public"."gtest1_1", "public"."itest9", "public"."gtestx", "public"."itest10", "public"."itest11", "public"."itest13", "public"."gtestxx_1", "public"."itest5", "public"."gtestxx_3", "public"."gtestxx_4", "public"."gtesty", "public"."gtest1_y", "public"."itest17", "public"."gtest3", "public"."gtest3a", "public"."bug_16784", "public"."gtest2", "public"."itest18", "public"."gtest_tableoid", "public"."gtest10", "public"."gtest10a", "public"."gtest20", "public"."gtest20a", "public"."gtest20b", "public"."itest6", "public"."gtest21a", "public"."gtest21b", "public"."gtest22a", "public"."gs_data_1", "public"."itest7", "public"."gtest22b", "public"."gtest22c", "public"."itest7a", "public"."itest7b", "public"."itest7c", "public"."itest7d", "public"."itest7e", "public"."brin_summarize", "public"."brin_test", "public"."pitest1", "public"."pitest1_p1", "public"."pitest1_p2", "public"."gtest23p", "public"."gtest23q", "public"."pitest2", "public"."pitest2_p2", "public"."gtest24", "public"."spgist_box_tbl", "public"."gtest_parent", "public"."gtest_child", "public"."gtest_child2", "public"."gtest_child3", "public"."itest14", "public"."spgist_text_tbl", "public"."gtest25", "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_multi", "public"."brintest_bloom", "public"."brinopers_multi", "public"."brinopers_bloom", "public"."brin_summarize_bloom", "public"."brin_test_bloom", "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"."temporal_rng2", "public"."temporal_fk_rng2rng", "public"."temporal_fk2_rng2rng", "public"."point_table", "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"."ndistinct", "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"."functional_dependencies", "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"."rule_merge1", "public"."rule_merge2", "public"."mcv_lists", "public"."mcv_lists_arrays", "public"."mcv_lists_bool", "public"."parallel_vacuum_table", "testxmlschema"."test1", "testxmlschema"."test2", "public"."clstr_tst_s", "public"."test_tsvector", "public"."clstr_tst", "public"."ec0", "public"."ec1", "public"."ec2", "public"."clstr_tst_inh", "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"."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", "public"."test_tsquery", "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"."wslot", "public"."xmltest", "public"."pfield", "public"."pslot", "public"."pline", "public"."hub", "public"."utf8_verification_inputs", "public"."hslot", "public"."system", "public"."iface", "public"."phone", "public"."utf8_inputs", "public"."query", "public"."euc_jis_2004_inputs", "public"."check_con_tbl", "public"."xmldata", "public"."shiftjis2004_inputs", "public"."alter_idx_rename_test_parted_2", "public"."gb18030_inputs", "public"."iso8859_5_inputs", "public"."big5_inputs", "public"."mic_inputs", "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"."dropcolumn", "public"."dropcolumnchild", "public"."dropcolumnanother", "public"."renamecolumn", "public"."renamecolumnchild", "public"."renamecolumnanother", "public"."xmltest2", "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"."transition_table_base", "public"."transition_table_level1", "public"."transition_table_level2", "public"."transition_table_status", "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"."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"."prt1", "public"."cmdata", "public"."prt1_p1", "public"."pagg_tab", "public"."pagg_tab_p1", "public"."pagg_tab_p2", "public"."prt1_p3", "public"."pagg_tab_p3", "public"."prt1_p2", "public"."cmdata1", "public"."prt2", "public"."prt2_p1", "public"."prt2_p2", "public"."prt2_p3", "public"."cmmove1", "public"."reloptions_test", "public"."cmmove3", "public"."pagg_tab1", "public"."prt1_e", "public"."pagg_tab1_p1", "public"."prt1_e_p1", "public"."pagg_tab1_p2", "public"."prt1_e_p2", "public"."pagg_tab1_p3", "public"."pagg_tab2", "public"."prt1_e_p3", "public"."pagg_tab2_p1", "public"."pagg_tab2_p2", "public"."pagg_tab2_p3", "public"."cmmove2", "public"."prt2_e", "public"."prt2_e_p1", "public"."prt2_e_p2", "public"."prt2_e_p3", "public"."pagg_tab_m", "public"."pagg_tab_m_p1", "public"."pagg_tab_m_p2", "public"."pagg_tab_m_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"."cmpart", "public"."cmpart1", "public"."cmpart2", "public"."prt1_m", "public"."prt1_m_p1", "public"."prt1_m_p2", "public"."cmdata3", "public"."cminh", "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"."cmdata2", "public"."plt2_p3", "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"."pht2_p2", "public"."pht2_p3", "public"."part", "public"."pht1_e", "public"."part_p1", "public"."pht1_e_p1", "public"."part_p2", "public"."part_p2_p1", "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"."pagg_tab_para", "public"."pagg_tab_para_p1", "public"."pagg_tab_para_p2", "public"."pagg_tab_para_p3", "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"."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"."idxpart", "public"."idxpart1", "public"."beta_pos_p1", "public"."idxpart2", "public"."idxpart21", "public"."beta_pos_p2", "public"."idxpart22", "public"."beta_pos_p3", "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"."boolvalues", "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-05-05 17:38:27.000 UTC [36053][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-05-05 17:38:27.013 UTC [36053][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-05-05 17:38:27.028 UTC [36053][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-05-05 17:38:27.029 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('27726') 2024-05-05 17:38:27.029 UTC [36053][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-05-05 17:38:27.030 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32253') 2024-05-05 17:38:27.030 UTC [36053][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-05-05 17:38:27.030 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32453') 2024-05-05 17:38:27.030 UTC [36053][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-05-05 17:38:27.030 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('28268') 2024-05-05 17:38:27.030 UTC [36053][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-05-05 17:38:27.031 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32468') 2024-05-05 17:38:27.031 UTC [36053][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-05-05 17:38:27.031 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35399') 2024-05-05 17:38:27.031 UTC [36053][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-05-05 17:38:27.031 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35428') 2024-05-05 17:38:27.031 UTC [36053][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-05-05 17:38:27.032 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37132') 2024-05-05 17:38:27.032 UTC [36053][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-05-05 17:38:27.034 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37204') 2024-05-05 17:38:27.034 UTC [36053][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-05-05 17:38:27.035 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37218') 2024-05-05 17:38:27.035 UTC [36053][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-05-05 17:38:27.035 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37308') 2024-05-05 17:38:27.035 UTC [36053][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-05-05 17:38:27.035 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37338') 2024-05-05 17:38:27.035 UTC [36053][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-05-05 17:38:27.035 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37397') 2024-05-05 17:38:27.035 UTC [36053][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-05-05 17:38:27.036 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37608') 2024-05-05 17:38:27.036 UTC [36053][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-05-05 17:38:27.036 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37610') 2024-05-05 17:38:27.036 UTC [36053][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-05-05 17:38:27.036 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37619') 2024-05-05 17:38:27.036 UTC [36053][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-05-05 17:38:27.037 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38916') 2024-05-05 17:38:27.037 UTC [36053][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-05-05 17:38:27.037 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38957') 2024-05-05 17:38:27.037 UTC [36053][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-05-05 17:38:27.037 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38961') 2024-05-05 17:38:27.037 UTC [36053][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-05-05 17:38:27.038 UTC [36053][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-05-05 17:38:27.039 UTC [36053][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-05-05 17:38:27.042 UTC [36053][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-05-05 17:38:27.043 UTC [36053][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-05-05 17:38:27.044 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-05 17:38:27.045 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-05 17:38:27.045 UTC [36053][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-05-05 17:38:27.046 UTC [36053][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-05-05 17:38:27.046 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-05-05 17:38:27.047 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-05 17:38:27.048 UTC [36053][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-05-05 17:38:27.050 UTC [36053][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-05-05 17:38:27.051 UTC [36053][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-05-05 17:38:27.051 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-05 17:38:27.055 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-05 17:38:27.056 UTC [36053][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-05-05 17:38:27.058 UTC [36053][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-05-05 17:38:27.060 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT lanname FROM pg_language WHERE oid = 14 2024-05-05 17:38:27.060 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-05 17:38:27.063 UTC [36053][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-05-05 17:38:27.063 UTC [36053][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-05-05 17:38:27.065 UTC [36053][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,16556,16559,16562,16567,16573,16576,16584,16587,16590,16601,16650,16657,16660,16731,16759,16826,16838,16854,16859,16868,16986,16991,16996,16999,17002,17005,17008,17014,17022,17027,17032,17035,17038,17041,17057,17067,17096,17143,17156,17183,17324,17385,17395,18003,18006,18011,18029,18034,18039,18042,18079,18082,18087,18092,18327,18344,18372,18380,18390,18394,18498,18535,19188,19193,19197,19201,19210,19215,19218,19226,19230,19235,19236,19243,19258,19263,19269,19516,19519,19535,19602,19617,19930,20051,20301,20306,20314,20334,20341,20424,20556,20566,20595,20608,20622,20625,20689,20695,20707,20729,20751,20947,20951,20977,20983,21067,21359,22079,22144,22416,22419,22422,22426,22430,22678,22690,22705,22711,22723,22727,22738,22862,22865,23146,23152,23175,24117,24124,24130,24136,24142,24226,24229,24232,24238,24278,24281,24284,24292,24327,24339,24342,24349,24362,25064,25764,25771,25774,25791,25796,25808,25813,25819,25825,25831,25958,25964,25977,25984,25987,26011,26052,26072,26083,26119,26163,26166,26172,26205,26236,26247,26294,26340,26345,26352,26377,26412,26416,26422,26445,26458,26579,26603,26673,26688,26698,26720,26747,26752,26795,26817,26843,26849,26887,26906,26913,26933,26938,26958,27005,27030,27083,27189,27207,27249,27257,27263,27275,27289,27297,27311,27319,27338,27345,27356,27360,27364,27368,27532,27607,27632,27652,27669,27684,27693,27703,27713,27728,27768,27790,27799,27810,27866,27891,27899,28059,28090,28113,28153,28157,28178,28199,28208,28270,28284,28313,28320,28450,28571,28576,28586,28596,28603,28607,28622,28626,28777,28895,29038,29098,29213,29218,29506,29675,29724,29736,29797,30206,30232,30514,30678,30681,30695,30699,30707,30712,30720,30726,30745,30751,30757,30767,30772,30777,30782,30799,30813,30822,30825,30842,30853,30859,30864,30921,30947,30952,30955,30960,30965,30969,30973,30977,30982,30991,30996,30999,31003,31006,31009,31012,31016,31020,31026,31033,31036,31041,31045,31122,31128,31132,31136,31141,31146,31263,31268,31408,31413,31486,31534,31543,31667,32196,32255,32261,32300,32335,32363,32383,32392,32458,32469,32665,32688,32721,32729,32733,32737,32741,32745,32765,33904,33909,33914,33935,34052,34060,34066,34091,34104,34139,34142,34145,34190,34201,34210,34219,34225,34237,34250,34432,34437,34442,34448,34451,34468,34474,34482,34491,34495,34499,34518,34525,34530,34535,34540,34545,34550,34555,34579,34584,34589,34594,34597,34600,34620,34628,34632,34636,34655,34661,34667,34840,34845,34850,34855,35380,35549,35696,35723,35742,35757,35784,35795,35818,35843,35901,35919,35970,36000,36012,36111,36115,36119,36189,36196,36201,36207,36259,36265,36319,36334,36496,36535,36549,36556,36560,36598,36618,36651,36656,36660,36682,36697,36708,36716,36765,36787,36826,37005,37078,37133,37205,37214,37219,37310,37662,37691,37719,37738,37744,37940,38266,38269,38272,38275,38278,38281,38291,38339,38342,38345,38350,38511,38624,38638,38643,38694,38697,38706,38709,38712,38715,38963,38975,38983,38991,39017,39028,39032,39035,39038,39041,39044,39047,39051,39093,39132,39155,39182,39188,39198,39362,39500,39526,39530,39615,39622,39665,39702,39711,39740,39745,39842,39845,39848,39869,39903,39912,39930,39937,39980,39995,40022,40025,40098,40147,40185,40208,40213,40219,40262,40274,40329,40332,40335,40346,40364,40376,40384,40391,40396,40399,40417,40424,40440,40470,40479,40483,40494,40534,40546,40558,40570,40720,40723,40734,40744,40756,40770,40778,40791,40817,40848,40858,40863,40871,40874,40877,40880,40885,40890,40925,40940,40952,40972,40997,41014,41031,41048,41074,41077,41103,41112,41126,41142,41160,41217,41233,41256,41263,41271,41280,41320,41323,41328,41349,41362,41365,41368,41372,41376,41384,41398,41424,41427,41518,41589,41597,41608,41618,41632,41650,41656,41677,41688,41691,41696,41699,41713,41721,41724,41732,41821,41824,41827,41830,41896,41904,41924,41932,41935,41949,41995,42004,42018,42043,42090,42093,42101,42115,42141,42187,42707,43257,43260,43263,43266,43271,43276,43281,43286,43299,43308,43311,43316,43319,43324,43329,43334,43337,43340,43345,43366,43369,43374,43377,43392,43397,43402,43417,43420,43430,43438,43446,43465,43475,43484,43488,43492,43502,43509,43516,43526,43530,43535,43983,43988,44102,44105,44122,44162,44443}'::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-05-05 17:38:27.135 UTC [36053][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('{16826,20306,20424,20608,20947,21067,25796,25813,25819,25825,25831,26052,26119,26458,26579,26673,26752,26795,26817,26843,26849,26906,26913,26938,27005,27189,27207,27249,27263,27275,27289,27319,27338,27684,27728,27768,27790,27799,27810,27866,28059,28090,28153,28157,28178,28199,28208,28284,28777,28895,31263,31268,32261,32335,32458,33909,33914,38624,38975,38983,39740,39745,44443}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attrdef a ON (src.tbloid = a.adrelid) ORDER BY a.adrelid, a.adnum 2024-05-05 17:38:27.141 UTC [36053][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('{20556,20595,20608,21359,22144,22862,22865,26352,27189,27249,28586,28596,28777,36556,37691,37719,37738,37744,38638,38643,39093,39500,39530,39615,39622}'::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-05-05 17:38:27.144 UTC [36053][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,16562,16567,16573,16576,16584,16587,16601,16650,16657,16731,16759,16838,16868,16986,17022,17038,17057,17067,17324,17385,19197,19201,19215,19230,19258,19263,19519,19535,19602,19617,19930,20051,20983,21067,22079,22416,22678,22705,22711,22727,22738,23146,24117,24124,24130,24136,24142,24278,24281,24284,24327,24339,24342,24349,24362,25064,25764,25791,25796,25808,25819,25825,25958,25964,25977,25984,25987,26011,26052,26083,26119,26166,26377,26445,26938,27005,27030,27083,27189,27207,27249,27263,27275,27289,27319,27338,27532,27607,27684,27693,27728,27768,27899,28059,28178,28270,28284,28571,28576,28603,28607,28622,28626,28777,29038,29098,29506,29675,29724,29736,29797,30206,30232,30514,31122,31136,31141,31146,31667,32261,32300,32335,32363,32383,32392,32665,33904,34190,34201,34210,34219,34225,34237,34250,34432,34437,34442,34474,34482,34491,34495,34499,34525,34530,34535,34540,34545,34550,34579,34584,34589,34620,34628,34632,34636,34840,34845,34850,34855,35380,35696,35723,35757,35784,35795,35843,35901,35919,35970,36000,36012,36651,38511,38624,38963,38975,38983,38991,39093,39132,39155,39362,39903,39912,39995,40025,40185,40208,40213,40262,40346,40376,40396,41112,41518,43334,43337,43345,43374,43392,43397,43402,43417,43420,43430,43438,43446,43465,43475,43484,43488,43492,43502,43509,43516,43526,43530}'::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-05-05 17:38:27.180 UTC [36053][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-05-05 17:38:27.180 UTC [36053][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('{18003,18006,18079,20689,20951,22678,22705,22711,22727,22738,24117,24124,24130,24136,24142,27632,27684,27693,27703,27790,28178,29038,29098,29506,29675,29724,29736,30206,30232,31136,31141,31146,32261,32300,32335,32665,32688,32721,33904,33909,33914,33935,34052,34060,34066,34091,34104,34139,34142,34145,34190,34201,34210,34219,34225,34237,34432,34437,34442,34448,34451,34468,34474,34482,34491,34495,34499,34518,34525,34530,34535,34540,34545,34550,34555,34579,34584,34589,34594,34597,34600,34620,34628,34632,34636,34655,34661,34840,34845,34850,34855,35696,35723,35757,35784,35795,35843,35919,35970,36000,36012,36651,38963,38975,38983,39093,39132,39155,39182,39526,39740,39842,39845,39869,39930,40147,40329,40332,40391,40470,40534,40720,40734,40770,40848,40871,40925,40997,41074,41142,41256,41320,41362,41365,41376,41589,41608,41650,41688,41696,41721,41821,41896,41932,41995,42090,43257,43260,43263,43308,43311,43316,43334,43345,43392,43402,43430,43484,43502}'::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-05-05 17:38:27.181 UTC [36053][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('{20951,22678,22705,22711,22727,22738,24117,24124,24130,24136,24142,27684,27693,28178,29038,29098,29506,29675,29724,29736,30206,30232,31136,31141,31146,32261,32300,32335,32665,32688,32721,33904,33909,33914,33935,34052,34060,34066,34091,34104,34139,34142,34145,34190,34201,34210,34219,34225,34237,34432,34437,34442,34448,34451,34468,34474,34482,34491,34495,34499,34518,34525,34530,34535,34540,34545,34550,34555,34579,34584,34589,34594,34597,34600,34620,34628,34632,34636,34655,34661,34840,34845,34850,34855,35696,35723,35757,35784,35795,35843,35919,35970,36000,36012,38963,38975,38983,39093,39132,39155,39740}'::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-05-05 17:38:27.183 UTC [36053][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-05-05 17:38:27.185 UTC [36053][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,16556,16559,16562,16567,16573,16576,16584,16587,16590,16601,16650,16657,16660,16731,16759,16826,16838,16854,16859,16868,16986,16991,16996,16999,17002,17005,17008,17014,17022,17027,17032,17035,17038,17041,17057,17067,17096,17143,17156,17183,17324,17385,17395,18003,18006,18011,18029,18034,18039,18042,18079,18082,18087,18092,18327,18344,18372,18380,18390,18394,18498,18535,19188,19193,19197,19201,19215,19230,19236,19258,19263,19269,19516,19519,19535,19602,19617,19930,20051,20301,20306,20314,20334,20341,20424,20556,20566,20595,20608,20622,20689,20695,20707,20729,20751,20947,20951,20977,20983,21067,21359,22079,22144,22416,22419,22422,22426,22430,22678,22690,22705,22711,22723,22727,22738,22862,22865,23146,23152,23175,24117,24124,24130,24136,24142,24226,24229,24232,24238,24278,24281,24284,24292,24327,24339,24342,24349,24362,25064,25764,25771,25774,25791,25796,25808,25813,25819,25825,25831,25958,25964,25977,25984,25987,26011,26052,26119,26163,26166,26172,26205,26247,26352,26458,26579,26603,26673,26688,26698,26720,26747,26752,26795,26817,26843,26849,26887,26906,26913,26933,26938,26958,27005,27030,27083,27189,27207,27249,27257,27263,27275,27289,27297,27311,27319,27338,27345,27356,27360,27364,27368,27532,27607,27632,27652,27669,27684,27693,27703,27713,27728,27768,27790,27799,27810,27866,27891,27899,28059,28090,28113,28153,28157,28178,28199,28208,28270,28284,28313,28320,28450,28571,28576,28586,28596,28603,28607,28622,28626,28777,28895,29038,29098,29213,29218,29506,29675,29724,29736,29797,30206,30232,30514,30678,30681,30695,30707,30712,30720,30726,30745,30751,30757,30767,30772,30777,30782,30799,30813,30822,30825,30842,30853,30859,30864,30921,30947,30952,30955,30960,30991,30996,31003,31006,31009,31026,31033,31036,31122,31128,31132,31136,31141,31146,31263,31268,31408,31413,31486,31534,31543,31667,32196,32255,32261,32300,32335,32363,32383,32392,32458,32469,32665,32688,32721,33904,33909,33914,33935,34052,34060,34066,34091,34104,34139,34142,34145,34190,34201,34210,34219,34225,34237,34250,34432,34437,34442,34448,34451,34468,34474,34482,34491,34495,34499,34518,34525,34530,34535,34540,34545,34550,34555,34579,34584,34589,34594,34597,34600,34620,34628,34632,34636,34655,34661,34667,34840,34845,34850,34855,35380,35549,35696,35723,35742,35757,35784,35795,35843,35901,35919,35970,36000,36012,36319,36496,36549,36556,36560,36598,36651,36697,36708,36787,36826,37005,37078,37133,37205,37214,37310,37662,37691,37719,37738,37744,37940,38266,38269,38272,38275,38278,38281,38291,38339,38342,38345,38350,38511,38624,38638,38643,38694,38697,38706,38709,38712,38715,38963,38975,38983,38991,39017,39028,39032,39035,39038,39041,39044,39047,39051,39093,39132,39155,39182,39188,39198,39362,39500,39526,39530,39615,39622,39665,39702,39711,39740,39745,39842,39845,39848,39869,39903,39912,39930,39937,39980,39995,40022,40025,40098,40147,40185,40208,40213,40219,40262,40274,40329,40332,40335,40346,40364,40376,40384,40391,40396,40399,40417,40424,40440,40470,40479,40483,40494,40534,40546,40558,40570,40720,40723,40734,40744,40756,40770,40778,40791,40848,40858,40863,40871,40874,40877,40880,40885,40890,40925,40940,40952,40972,40997,41014,41031,41048,41074,41077,41103,41112,41126,41142,41160,41217,41233,41256,41263,41271,41280,41320,41323,41328,41349,41362,41365,41368,41372,41376,41384,41398,41424,41427,41518,41589,41597,41608,41618,41632,41650,41656,41677,41688,41691,41696,41699,41713,41721,41724,41732,41821,41824,41827,41830,41896,41904,41924,41932,41935,41949,41995,42004,42018,42043,42090,42093,42101,42115,42141,42187,42707,43257,43260,43263,43266,43271,43276,43281,43286,43299,43308,43311,43316,43319,43324,43329,43334,43337,43340,43345,43366,43369,43374,43377,43392,43397,43402,43417,43420,43430,43438,43446,43465,43475,43484,43488,43492,43502,43509,43516,43526,43530,43535,43983,43988,44102,44105,44122,44162,44443}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-05-05 17:38:27.186 UTC [36053][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-05-05 17:38:27.187 UTC [36053][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-05-05 17:38:27.187 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-05 17:38:27.188 UTC [36053][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-05-05 17:38:27.189 UTC [36053][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-05-05 17:38:27.189 UTC [36053][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-05-05 17:38:27.189 UTC [36053][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-05-05 17:38:27.212 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-05 17:38:27.216 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-05 17:38:27.217 UTC [36053][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-05-05 17:38:27.228 UTC [36053][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-05-05 17:38:27.257 UTC [36053][client backend] [002_pg_upgrade.pl][49/15:0] LOG: unexpected EOF on client connection with an open transaction 2024-05-05 17:38:27.258 UTC [36053][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.317 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/20240505T173824.184/log/pg_upgrade_server.log" 2>&1 2024-05-05 17:38:27.277 UTC [35624][postmaster] LOG: received fast shutdown request 2024-05-05 17:38:27.277 UTC [35624][postmaster] LOG: aborting any active transactions waiting for server to shut down....2024-05-05 17:38:27.279 UTC [35625][checkpointer] LOG: shutting down 2024-05-05 17:38:27.279 UTC [35625][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-05-05 17:38:27.279 UTC [35625][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/12791470, redo lsn=0/12791470 2024-05-05 17:38:27.285 UTC [35624][postmaster] LOG: database system is shut down done server stopped === EOF === [17:38:27.564](0.047s) not ok 16 - check that locales in new cluster match original cluster [17:38:27.564](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 491. [17:38:27.565](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=59921 host=/tmp/tB628ZlDf9 dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_29oT/dump2.sql [17:38:28.038](0.474s) ok 17 - dump after running pg_upgrade [17:38:28.039](0.001s) not ok 18 - old and new dumps match after pg_upgrade [17:38:28.039](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 510. [17:38:28.040](0.000s) # got: '1' # expected: '0' === diff of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_29oT/dump1.sql_filtered and /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_29oT/dump2.sql_filtered === stdout === --- /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_29oT/dump1.sql_filtered 2024-05-05 17:38:28.034978943 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_29oT/dump2.sql_filtered 2024-05-05 17:38:28.034978943 +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 === [17:38:28.045](0.006s) 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" [17:38:28.149](0.104s) # Looks like you failed 5 tests of 18.