[20:23:06.302](0.026s) # testing using transfer mode --copy # Checking port 51690 # Found port 51690 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=51690 host=/tmp/ZHicH6wgrT Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [20:23:06.309](0.007s) # 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 21135 [20:23:08.261](1.952s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [20:23:08.531](0.270s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [20:23:08.619](0.088s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [20:23:08.724](0.106s) ok 4 - created database with ASCII characters from 91 to 127 [20:23:08.725](0.001s) # running regression tests in old instance # using postmaster on /tmp/ZHicH6wgrT, port 51690 ok 1 - test_setup 702 ms # parallel group (20 tests): oid name char pg_lsn varchar int2 text txid float4 int4 regproc money int8 uuid float8 boolean enum bit rangetypes numeric ok 2 + boolean 284 ms ok 3 + char 118 ms ok 4 + name 117 ms ok 5 + varchar 125 ms ok 6 + text 142 ms ok 7 + int2 135 ms ok 8 + int4 165 ms ok 9 + int8 190 ms ok 10 + oid 107 ms ok 11 + float4 164 ms ok 12 + float8 215 ms ok 13 + bit 402 ms ok 14 + numeric 1135 ms ok 15 + txid 152 ms ok 16 + uuid 192 ms ok 17 + enum 303 ms ok 18 + money 181 ms ok 19 + rangetypes 961 ms ok 20 + pg_lsn 121 ms ok 21 + regproc 168 ms # parallel group (20 tests): lseg circle md5 path line time macaddr timetz macaddr8 numerology inet date point interval timestamp strings timestamptz polygon multirangetypes box ok 22 + strings 539 ms ok 23 + md5 93 ms ok 24 + numerology 200 ms ok 25 + point 330 ms ok 26 + lseg 83 ms ok 27 + line 103 ms ok 28 + box 1102 ms ok 29 + path 94 ms ok 30 + polygon 715 ms ok 31 + circle 88 ms ok 32 + date 249 ms ok 33 + time 101 ms ok 34 + timetz 141 ms ok 35 + timestamp 485 ms ok 36 + timestamptz 612 ms ok 37 + interval 431 ms ok 38 + inet 214 ms ok 39 + macaddr 134 ms ok 40 + macaddr8 153 ms ok 41 + multirangetypes 978 ms # parallel group (13 tests): comments unicode misc_sanity xid expressions tstypes mvcc stats_export_import geometry type_sanity horology regex opr_sanity ok 42 + geometry 336 ms ok 43 + horology 576 ms ok 44 + tstypes 162 ms ok 45 + regex 805 ms ok 46 + type_sanity 389 ms ok 47 + opr_sanity 1154 ms ok 48 + misc_sanity 79 ms ok 49 + comments 30 ms ok 50 + expressions 124 ms ok 51 + unicode 76 ms ok 52 + xid 86 ms ok 53 + mvcc 211 ms ok 54 + stats_export_import 285 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 55 + copy 231 ms ok 56 + copyselect 92 ms ok 57 + copydml 94 ms ok 58 + insert 888 ms ok 59 + insert_conflict 399 ms # parallel group (7 tests): create_function_c create_operator create_type create_misc create_schema create_procedure create_table ok 60 + create_function_c 94 ms ok 61 + create_misc 189 ms ok 62 + create_operator 134 ms ok 63 + create_procedure 209 ms ok 64 + create_table 1060 ms ok 65 + create_type 155 ms ok 66 + create_schema 197 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 1803 ms ok 68 + create_index_spgist 1672 ms ok 69 + create_view 876 ms ok 70 + index_including 463 ms ok 71 + index_including_gist 785 ms # parallel group (16 tests): errors create_cast create_aggregate roleattributes hash_func drop_if_exists create_am create_function_sql typed_table select infinite_recurse vacuum constraints updatable_views inherit triggers ok 72 + create_aggregate 116 ms ok 73 + create_function_sql 362 ms ok 74 + create_cast 59 ms ok 75 + constraints 1517 ms ok 76 + triggers 4627 ms ok 77 + select 391 ms ok 78 + inherit 3192 ms ok 79 + typed_table 380 ms ok 80 + vacuum 891 ms ok 81 + drop_if_exists 166 ms ok 82 + updatable_views 1749 ms ok 83 + roleattributes 130 ms ok 84 + create_am 324 ms ok 85 + hash_func 153 ms ok 86 + errors 43 ms ok 87 + infinite_recurse 853 ms ok 88 - sanity_check 114 ms # parallel group (20 tests): select_distinct_on delete select_having select_implicit case namespace select_into random prepared_xacts transactions portals union select_distinct arrays subselect hash_index update join aggregates btree_index ok 89 + select_into 297 ms ok 90 + select_distinct 1005 ms ok 91 + select_distinct_on 68 ms ok 92 + select_implicit 133 ms ok 93 + select_having 115 ms ok 94 + subselect 1437 ms ok 95 + union 957 ms ok 96 + case 161 ms ok 97 + join 4126 ms ok 98 + aggregates 4170 ms ok 99 + transactions 405 ms ok 100 + random 298 ms ok 101 + portals 484 ms ok 102 + arrays 1132 ms ok 103 + btree_index 5026 ms ok 104 + hash_index 2741 ms ok 105 + update 3213 ms ok 106 + delete 107 ms ok 107 + namespace 192 ms ok 108 + prepared_xacts 306 ms # parallel group (20 tests): init_privs security_label drop_operator password object_address lock tablesample replica_identity collate matview identity spgist groupingsets generated rowsecurity gist gin brin join_hash privileges ok 109 + brin 7928 ms ok 110 + gin 3070 ms ok 111 + gist 2964 ms ok 112 + spgist 2295 ms ok 113 + privileges 8850 ms ok 114 + init_privs 92 ms ok 115 + security_label 103 ms ok 116 + collate 1104 ms ok 117 + matview 1688 ms ok 118 + lock 343 ms ok 119 + replica_identity 831 ms ok 120 + rowsecurity 2795 ms ok 121 + object_address 339 ms ok 122 + tablesample 351 ms ok 123 + groupingsets 2321 ms ok 124 + drop_operator 125 ms ok 125 + password 302 ms ok 126 + identity 1826 ms ok 127 + generated 2616 ms ok 128 + join_hash 7927 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 244 ms ok 130 + brin_multi 978 ms # parallel group (18 tests): dbsize async collate.utf8 tid tidscan tsrf alter_operator create_role sysviews misc_functions tidrangescan alter_generic incremental_sort create_table_like merge misc without_overlaps collate.icu.utf8 ok 131 + create_table_like 1456 ms ok 132 + alter_generic 818 ms ok 133 + alter_operator 330 ms ok 134 + misc 1634 ms ok 135 + async 116 ms ok 136 + dbsize 113 ms ok 137 + merge 1465 ms ok 138 + misc_functions 550 ms ok 139 + sysviews 541 ms ok 140 + tsrf 316 ms ok 141 + tid 209 ms ok 142 + tidscan 296 ms ok 143 + tidrangescan 561 ms ok 144 + collate.utf8 172 ms ok 145 + collate.icu.utf8 1779 ms ok 146 + incremental_sort 1275 ms ok 147 + create_role 346 ms ok 148 + without_overlaps 1757 ms # parallel group (7 tests): collate.windows.win1252 collate.linux.utf8 amutils psql_crosstab rules psql stats_ext ok 149 + rules 1465 ms ok 150 + psql 1960 ms ok 151 + psql_crosstab 229 ms ok 152 + amutils 209 ms ok 153 + stats_ext 3973 ms ok 154 + collate.linux.utf8 120 ms ok 155 + collate.windows.win1252 76 ms ok 156 - select_parallel 9519 ms ok 157 - write_parallel 282 ms ok 158 - vacuum_parallel 262 ms # parallel group (2 tests): subscription publication ok 159 + publication 3920 ms ok 160 + subscription 150 ms # parallel group (17 tests): portals_p2 advisory_lock combocid tsdicts xmlmap functional_deps equivclass dependency guc select_views window bitmapops cluster indirect_toast tsearch foreign_data foreign_key ok 161 + select_views 821 ms ok 162 + portals_p2 148 ms ok 163 + foreign_key 5873 ms ok 164 + cluster 2024 ms ok 165 + dependency 419 ms ok 166 + guc 423 ms ok 167 + bitmapops 1962 ms ok 168 + combocid 225 ms ok 169 + tsearch 4986 ms ok 170 + tsdicts 239 ms ok 171 + foreign_data 5003 ms ok 172 + window 1803 ms ok 173 + xmlmap 243 ms ok 174 + functional_deps 274 ms ok 175 + advisory_lock 174 ms ok 176 + indirect_toast 2282 ms ok 177 + equivclass 326 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson sqljson_jsontable jsonb_jsonpath sqljson_queryfuncs json jsonb ok 178 + json 520 ms ok 179 + jsonb 1210 ms ok 180 + json_encoding 45 ms ok 181 + jsonpath 202 ms ok 182 + jsonpath_encoding 30 ms ok 183 + jsonb_jsonpath 465 ms ok 184 + sqljson 211 ms ok 185 + sqljson_queryfuncs 493 ms ok 186 + sqljson_jsontable 423 ms # parallel group (18 tests): prepare returning limit plancache conversion sequence temp rowtypes copy2 polymorphism largeobject truncate with domain rangefuncs xml plpgsql alter_table ok 187 + plancache 772 ms ok 188 + limit 679 ms ok 189 + plpgsql 5945 ms ok 190 + copy2 1273 ms ok 191 + temp 1065 ms ok 192 + domain 1746 ms ok 193 + rangefuncs 1757 ms ok 194 + prepare 252 ms ok 195 + conversion 926 ms ok 196 + truncate 1448 ms ok 197 + alter_table 6549 ms ok 198 + sequence 1023 ms ok 199 + polymorphism 1305 ms ok 200 + rowtypes 1093 ms ok 201 + returning 426 ms ok 202 + largeobject 1327 ms ok 203 + with 1478 ms ok 204 + xml 2182 ms # parallel group (15 tests): hash_part reloptions partition_info explain predicate compression memoize partition_merge stats partition_split partition_aggregate tuplesort partition_join partition_prune indexing ok 205 + partition_merge 1748 ms ok 206 + partition_split 2457 ms ok 207 + partition_join 3690 ms ok 208 + partition_prune 4367 ms ok 209 + reloptions 210 ms ok 210 + hash_part 158 ms ok 211 + indexing 4634 ms ok 212 + partition_aggregate 3282 ms ok 213 + partition_info 304 ms ok 214 + tuplesort 3393 ms ok 215 + explain 319 ms ok 216 + compression 1105 ms ok 217 + memoize 1564 ms ok 218 + stats 2380 ms ok 219 + predicate 345 ms # parallel group (2 tests): oidjoins event_trigger ok 220 + oidjoins 751 ms ok 221 + event_trigger 808 ms ok 222 - event_trigger_login 42 ms ok 223 - fast_default 250 ms ok 224 - tablespace 663 ms 1..224 # All 224 tests passed. [20:24:18.665](69.940s) ok 5 - regression tests pass # Checking port 51691 # Found port 51691 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=51691 host=/tmp/ZHicH6wgrT Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [20:24:18.675](0.010s) # 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=51690 host=/tmp/ZHicH6wgrT dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_N6Ly/dump1.sql ../src/bin/pg_dump/pg_dump_sort.c:204:31: runtime error: index 47 out of bounds for type 'int [47]' ==34178==Using libbacktrace symbolizer. #0 0x5637a6ffe8ba in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:204 #1 0x5637a7030a51 in pg_qsort ../src/include/lib/sort_template.h:354 #2 0x5637a7000ea8 in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #3 0x5637a6ff54db in main ../src/bin/pg_dump/pg_dump.c:993 #4 0x7f9609988d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x5637a6fb7d29 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 [20:24:21.273](2.598s) not ok 6 - dump before running pg_upgrade [20:24:21.274](0.001s) # 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/ZHicH6wgrT -p 51690 -P 51691 --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 [20:24:21.514](0.240s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [20:24:21.514](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/ZHicH6wgrT -p 51690 -P 51691 --copy --check [20:24:22.663](1.148s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [20:24:22.663](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [20:24:22.663](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 34635 ### 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/ZHicH6wgrT -p 51690 -P 51691 --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* [20:24:25.512](2.849s) ok 12 - run of pg_upgrade --check for new instance [20:24:25.512](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/ZHicH6wgrT -p 51690 -P 51691 --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/20240501T202425.527/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. Failure, exiting [20:24:28.893](3.381s) not ok 14 - run of pg_upgrade for new instance [20:24:28.894](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. [20:24:28.894](0.000s) not ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success [20:24:28.894](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 35743 [20:24:29.193](0.299s) # === 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/20240501T202425.527/log/pg_upgrade_dump_16386.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZHicH6wgrT --port 51690 --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/20240501T202425.527/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/20240501T202425.527/log/pg_upgrade_dump_16386.log" 2>&1 === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_dump_16385.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZHicH6wgrT --port 51690 --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/20240501T202425.527/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/20240501T202425.527/log/pg_upgrade_dump_16385.log" 2>&1 === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_internal.log === ----------------------------------------------------------------- pg_upgrade run on Wed May 1 20:24:25 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/20240501T202425.527/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_dump_16387.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZHicH6wgrT --port 51690 --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/20240501T202425.527/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/20240501T202425.527/log/pg_upgrade_dump_16387.log" 2>&1 ../src/bin/pg_dump/pg_dump_sort.c:204:31: runtime error: index 47 out of bounds for type 'int [47]' ==35595==Using libbacktrace symbolizer. #0 0x5649943188ba in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:204 #1 0x56499434a921 in pg_qsort ../src/include/lib/sort_template.h:364 #2 0x56499431aea8 in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #3 0x56499430f4db in main ../src/bin/pg_dump/pg_dump.c:993 #4 0x7f1e2a6c1d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x5649942d1d29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_utility.log === ----------------------------------------------------------------- pg_upgrade run on Wed May 1 20:24:25 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dumpall" --host /tmp/ZHicH6wgrT --port 51690 --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/20240501T202425.527/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/20240501T202425.527/log/pg_upgrade_utility.log" 2>&1 === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_dump_1.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZHicH6wgrT --port 51690 --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/20240501T202425.527/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/20240501T202425.527/log/pg_upgrade_dump_1.log" 2>&1 === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_dump_5.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZHicH6wgrT --port 51690 --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/20240501T202425.527/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/20240501T202425.527/log/pg_upgrade_dump_5.log" 2>&1 === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_dump_16384.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/ZHicH6wgrT --port 51690 --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/20240501T202425.527/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/20240501T202425.527/log/pg_upgrade_dump_16384.log" 2>&1 === EOF === [20:24:29.194](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/20240501T202425.527/log/pg_upgrade_server.log === ----------------------------------------------------------------- pg_upgrade run on Wed May 1 20:24:25 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/20240501T202425.527/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 51690 -b -c max_slot_wal_keep_size=-1 -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/tmp/ZHicH6wgrT'" 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/20240501T202425.527/log/pg_upgrade_server.log" 2>&1 waiting for server to start....2024-05-01 20:24:25.827 UTC [35236][postmaster] LOG: starting PostgreSQL 17devel on x86_64-linux, compiled by gcc-10.2.1, 64-bit 2024-05-01 20:24:25.827 UTC [35236][postmaster] LOG: listening on Unix socket "/tmp/ZHicH6wgrT/.s.PGSQL.51690" 2024-05-01 20:24:25.844 UTC [35239][startup] LOG: database system was shut down at 2024-05-01 20:24:25 UTC 2024-05-01 20:24:25.848 UTC [35236][postmaster] LOG: database system is ready to accept connections done server started 2024-05-01 20:24:25.923 UTC [35248][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:25.924 UTC [35248][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-01 20:24:25.924 UTC [35248][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:25.953 UTC [35248][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.030 user=postgres database=template1 host=[local] 2024-05-01 20:24:25.985 UTC [35256][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:25.986 UTC [35256][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-01 20:24:25.986 UTC [35256][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:25.990 UTC [35256][client backend] [002_pg_upgrade.pl][1/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:25.991 UTC [35256][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-01 20:24:25.992 UTC [35256][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.014 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.011 UTC [35257][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.012 UTC [35257][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-01 20:24:26.012 UTC [35257][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.013 UTC [35257][client backend] [002_pg_upgrade.pl][2/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.013 UTC [35257][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-01 20:24:26.015 UTC [35257][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.037 UTC [35262][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.038 UTC [35262][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-01 20:24:26.038 UTC [35262][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.039 UTC [35262][client backend] [002_pg_upgrade.pl][3/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.039 UTC [35262][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-01 20:24:26.053 UTC [35262][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.023 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.057 UTC [35265][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.059 UTC [35265][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-01 20:24:26.059 UTC [35265][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.061 UTC [35265][client backend] [002_pg_upgrade.pl][4/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.063 UTC [35265][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-01 20:24:26.069 UTC [35265][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.017 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.078 UTC [35267][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.079 UTC [35267][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-01 20:24:26.079 UTC [35267][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.080 UTC [35267][client backend] [002_pg_upgrade.pl][5/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.084 UTC [35267][client backend] [002_pg_upgrade.pl][5/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 1 2024-05-01 20:24:26.087 UTC [35267][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.009 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.096 UTC [35268][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.096 UTC [35268][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-01 20:24:26.096 UTC [35268][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.101 UTC [35268][client backend] [002_pg_upgrade.pl][6/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.101 UTC [35268][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-01 20:24:26.107 UTC [35268][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=postgres host=[local] 2024-05-01 20:24:26.109 UTC [35269][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.109 UTC [35269][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-01 20:24:26.109 UTC [35269][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.110 UTC [35269][client backend] [002_pg_upgrade.pl][7/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.111 UTC [35269][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-01 20:24:26.113 UTC [35269][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=postgres host=[local] 2024-05-01 20:24:26.115 UTC [35270][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.115 UTC [35270][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-01 20:24:26.115 UTC [35270][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.116 UTC [35270][client backend] [002_pg_upgrade.pl][8/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.116 UTC [35270][client backend] [002_pg_upgrade.pl][8/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 5 2024-05-01 20:24:26.118 UTC [35270][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=postgres host=[local] 2024-05-01 20:24:26.119 UTC [35271][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.120 UTC [35271][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-01 20:24:26.120 UTC [35271][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.124 UTC [35271][client backend] [002_pg_upgrade.pl][9/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.125 UTC [35271][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-01 20:24:26.131 UTC [35271][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-01 20:24:26.133 UTC [35273][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.133 UTC [35273][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-01 20:24:26.133 UTC [35273][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.134 UTC [35273][client backend] [002_pg_upgrade.pl][10/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.134 UTC [35273][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-01 20:24:26.137 UTC [35273][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-01 20:24:26.138 UTC [35274][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.139 UTC [35274][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-01 20:24:26.139 UTC [35274][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.140 UTC [35274][client backend] [002_pg_upgrade.pl][11/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.140 UTC [35274][client backend] [002_pg_upgrade.pl][11/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16384 2024-05-01 20:24:26.144 UTC [35274][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-01 20:24:26.146 UTC [35276][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.147 UTC [35276][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-01 20:24:26.147 UTC [35276][client backend] [[unknown]][12/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.158 UTC [35276][client backend] [002_pg_upgrade.pl][12/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.161 UTC [35276][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-01 20:24:26.175 UTC [35276][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.029 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-01 20:24:26.183 UTC [35277][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.185 UTC [35277][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-01 20:24:26.185 UTC [35277][client backend] [[unknown]][13/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.188 UTC [35277][client backend] [002_pg_upgrade.pl][13/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.189 UTC [35277][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-01 20:24:26.192 UTC [35277][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.009 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-01 20:24:26.194 UTC [35279][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.194 UTC [35279][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-01 20:24:26.194 UTC [35279][client backend] [[unknown]][14/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.195 UTC [35279][client backend] [002_pg_upgrade.pl][14/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.195 UTC [35279][client backend] [002_pg_upgrade.pl][14/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16385 2024-05-01 20:24:26.197 UTC [35279][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.002 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-01 20:24:26.198 UTC [35282][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.198 UTC [35282][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-01 20:24:26.198 UTC [35282][client backend] [[unknown]][15/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.203 UTC [35282][client backend] [002_pg_upgrade.pl][15/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.204 UTC [35282][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-01 20:24:26.209 UTC [35282][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-01 20:24:26.216 UTC [35284][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.217 UTC [35284][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-01 20:24:26.217 UTC [35284][client backend] [[unknown]][16/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.224 UTC [35284][client backend] [002_pg_upgrade.pl][16/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.225 UTC [35284][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-01 20:24:26.227 UTC [35284][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-01 20:24:26.245 UTC [35291][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.246 UTC [35291][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-01 20:24:26.246 UTC [35291][client backend] [[unknown]][17/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.247 UTC [35291][client backend] [002_pg_upgrade.pl][17/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.247 UTC [35291][client backend] [002_pg_upgrade.pl][17/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16386 2024-05-01 20:24:26.248 UTC [35291][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-01 20:24:26.259 UTC [35292][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.259 UTC [35292][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-01 20:24:26.259 UTC [35292][client backend] [[unknown]][18/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.293 UTC [35292][client backend] [002_pg_upgrade.pl][18/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.294 UTC [35292][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-01 20:24:26.348 UTC [35292][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.090 user=postgres database=regression host=[local] 2024-05-01 20:24:26.356 UTC [35311][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.358 UTC [35311][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-01 20:24:26.358 UTC [35311][client backend] [[unknown]][19/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.361 UTC [35311][client backend] [002_pg_upgrade.pl][19/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.363 UTC [35311][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-01 20:24:26.367 UTC [35311][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=regression host=[local] 2024-05-01 20:24:26.370 UTC [35312][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.370 UTC [35312][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-01 20:24:26.370 UTC [35312][client backend] [[unknown]][20/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.374 UTC [35312][client backend] [002_pg_upgrade.pl][20/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.375 UTC [35312][client backend] [002_pg_upgrade.pl][20/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16387 2024-05-01 20:24:26.377 UTC [35312][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression host=[local] 2024-05-01 20:24:26.391 UTC [35318][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.391 UTC [35318][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-01 20:24:26.391 UTC [35318][client backend] [[unknown]][21/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.393 UTC [35318][client backend] [002_pg_upgrade.pl][21/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.393 UTC [35318][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-01 20:24:26.394 UTC [35318][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.395 UTC [35324][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.396 UTC [35324][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-01 20:24:26.396 UTC [35324][client backend] [[unknown]][22/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.397 UTC [35324][client backend] [002_pg_upgrade.pl][22/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.397 UTC [35324][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-01 20:24:26.399 UTC [35324][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.400 UTC [35326][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.400 UTC [35326][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-01 20:24:26.400 UTC [35326][client backend] [[unknown]][23/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.401 UTC [35326][client backend] [002_pg_upgrade.pl][23/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.401 UTC [35326][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-01 20:24:26.403 UTC [35326][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=postgres host=[local] 2024-05-01 20:24:26.428 UTC [35330][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.429 UTC [35330][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-01 20:24:26.429 UTC [35330][client backend] [[unknown]][24/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.430 UTC [35330][client backend] [002_pg_upgrade.pl][24/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.430 UTC [35330][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-01 20:24:26.439 UTC [35330][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-01 20:24:26.440 UTC [35338][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.443 UTC [35338][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-01 20:24:26.443 UTC [35338][client backend] [[unknown]][25/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.446 UTC [35338][client backend] [002_pg_upgrade.pl][25/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.447 UTC [35338][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-01 20:24:26.451 UTC [35340][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.452 UTC [35340][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-01 20:24:26.452 UTC [35340][client backend] [[unknown]][26/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.454 UTC [35340][client backend] [002_pg_upgrade.pl][26/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.455 UTC [35340][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-01 20:24:26.457 UTC [35338][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.016 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-01 20:24:26.457 UTC [35340][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-01 20:24:26.477 UTC [35342][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.478 UTC [35342][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-01 20:24:26.478 UTC [35342][client backend] [[unknown]][27/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.479 UTC [35342][client backend] [002_pg_upgrade.pl][27/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.480 UTC [35342][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-01 20:24:26.483 UTC [35342][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=regression host=[local] 2024-05-01 20:24:26.490 UTC [35349][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.491 UTC [35349][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-01 20:24:26.491 UTC [35349][client backend] [[unknown]][28/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.497 UTC [35349][client backend] [002_pg_upgrade.pl][28/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.497 UTC [35349][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-01 20:24:26.505 UTC [35349][client backend] [002_pg_upgrade.pl][28/4:0] LOG: statement: SELECT COUNT(*) FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_' 2024-05-01 20:24:26.508 UTC [35349][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.018 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.530 UTC [35361][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.530 UTC [35361][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-01 20:24:26.531 UTC [35361][client backend] [[unknown]][29/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.533 UTC [35361][client backend] [002_pg_upgrade.pl][29/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.533 UTC [35361][client backend] [002_pg_upgrade.pl][29/3:0] LOG: statement: SELECT datname, datallowconn FROM pg_catalog.pg_database 2024-05-01 20:24:26.534 UTC [35361][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.546 UTC [35371][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.546 UTC [35371][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-01 20:24:26.547 UTC [35371][client backend] [[unknown]][30/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.551 UTC [35371][client backend] [002_pg_upgrade.pl][30/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.552 UTC [35371][client backend] [002_pg_upgrade.pl][30/3:0] LOG: statement: SELECT * FROM pg_catalog.pg_prepared_xacts 2024-05-01 20:24:26.554 UTC [35371][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.566 UTC [35376][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.570 UTC [35376][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-01 20:24:26.570 UTC [35376][client backend] [[unknown]][31/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.579 UTC [35376][client backend] [002_pg_upgrade.pl][31/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.579 UTC [35376][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-01 20:24:26.585 UTC [35376][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-01 20:24:26.591 UTC [35376][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.027 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.599 UTC [35384][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.600 UTC [35384][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-01 20:24:26.600 UTC [35384][client backend] [[unknown]][32/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.605 UTC [35384][client backend] [002_pg_upgrade.pl][32/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.608 UTC [35384][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-01 20:24:26.611 UTC [35384][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.012 user=postgres database=postgres host=[local] 2024-05-01 20:24:26.629 UTC [35391][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.629 UTC [35391][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-01 20:24:26.629 UTC [35391][client backend] [[unknown]][33/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.631 UTC [35391][client backend] [002_pg_upgrade.pl][33/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.631 UTC [35391][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-01 20:24:26.634 UTC [35391][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.021 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-01 20:24:26.641 UTC [35395][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.642 UTC [35395][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-01 20:24:26.642 UTC [35395][client backend] [[unknown]][34/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.642 UTC [35395][client backend] [002_pg_upgrade.pl][34/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.643 UTC [35395][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-01 20:24:26.653 UTC [35395][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-01 20:24:26.658 UTC [35401][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.659 UTC [35401][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-01 20:24:26.659 UTC [35401][client backend] [[unknown]][35/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.660 UTC [35401][client backend] [002_pg_upgrade.pl][35/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.660 UTC [35401][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-01 20:24:26.663 UTC [35401][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-01 20:24:26.665 UTC [35403][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.666 UTC [35403][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-01 20:24:26.666 UTC [35403][client backend] [[unknown]][36/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.667 UTC [35403][client backend] [002_pg_upgrade.pl][36/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.667 UTC [35403][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-01 20:24:26.673 UTC [35403][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=regression host=[local] 2024-05-01 20:24:26.675 UTC [35405][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.675 UTC [35405][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-01 20:24:26.675 UTC [35405][client backend] [[unknown]][37/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.676 UTC [35405][client backend] [002_pg_upgrade.pl][37/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.676 UTC [35405][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-01 20:24:26.724 UTC [35405][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-01 20:24:26.741 UTC [35405][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.066 user=postgres database=template1 host=[local] 2024-05-01 20:24:26.745 UTC [35422][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.746 UTC [35422][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-01 20:24:26.746 UTC [35422][client backend] [[unknown]][38/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.755 UTC [35422][client backend] [002_pg_upgrade.pl][38/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.756 UTC [35422][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-01 20:24:26.791 UTC [35422][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-01 20:24:26.813 UTC [35422][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.068 user=postgres database=postgres host=[local] 2024-05-01 20:24:26.821 UTC [35429][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.822 UTC [35429][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-01 20:24:26.822 UTC [35429][client backend] [[unknown]][39/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.823 UTC [35429][client backend] [002_pg_upgrade.pl][39/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.823 UTC [35429][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-01 20:24:26.865 UTC [35429][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-01 20:24:26.876 UTC [35429][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.060 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-01 20:24:26.882 UTC [35434][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.883 UTC [35434][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-01 20:24:26.883 UTC [35434][client backend] [[unknown]][40/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.886 UTC [35434][client backend] [002_pg_upgrade.pl][40/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.887 UTC [35434][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-01 20:24:26.924 UTC [35434][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-01 20:24:26.954 UTC [35434][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.072 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-01 20:24:26.959 UTC [35451][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:26.962 UTC [35451][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-01 20:24:26.962 UTC [35451][client backend] [[unknown]][41/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-01 20:24:26.964 UTC [35451][client backend] [002_pg_upgrade.pl][41/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:26.965 UTC [35451][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-01 20:24:27.000 UTC [35451][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-01 20:24:27.030 UTC [35451][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.072 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-01 20:24:27.036 UTC [35456][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:27.037 UTC [35456][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-01 20:24:27.037 UTC [35456][client backend] [[unknown]][42/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-01 20:24:27.040 UTC [35456][client backend] [002_pg_upgrade.pl][42/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.041 UTC [35456][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-01 20:24:27.256 UTC [35456][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-01 20:24:27.336 UTC [35456][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.300 user=postgres database=regression host=[local] 2024-05-01 20:24:27.354 UTC [35507][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:27.355 UTC [35507][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-01 20:24:27.355 UTC [35507][client backend] [[unknown]][43/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:27.356 UTC [35507][client backend] [002_pg_upgrade.pl][43/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.356 UTC [35507][client backend] [002_pg_upgrade.pl][43/3:0] LOG: statement: SET quote_all_identifiers = true 2024-05-01 20:24:27.356 UTC [35507][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-01 20:24:27.361 UTC [35507][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-01 20:24:27.362 UTC [35507][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-01 20:24:27.365 UTC [35507][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-01 20:24:27.367 UTC [35507][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-01 20:24:27.367 UTC [35507][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-01 20:24:27.368 UTC [35507][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.014 user=postgres database=postgres host=[local] 2024-05-01 20:24:27.391 UTC [35511][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:27.392 UTC [35511][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-01 20:24:27.392 UTC [35511][client backend] [[unknown]][44/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-05-01 20:24:27.393 UTC [35511][client backend] [002_pg_upgrade.pl][44/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.393 UTC [35511][client backend] [002_pg_upgrade.pl][44/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-01 20:24:27.393 UTC [35511][client backend] [002_pg_upgrade.pl][44/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.393 UTC [35511][client backend] [002_pg_upgrade.pl][44/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/9:0] LOG: statement: SET statement_timeout = 0 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/10:0] LOG: statement: SET lock_timeout = 0 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/14:0] LOG: statement: SET row_security = off 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: BEGIN 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-01 20:24:27.394 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-01 20:24:27.395 UTC [35511][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-01 20:24:27.396 UTC [35511][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-01 20:24:27.397 UTC [35511][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-01 20:24:27.398 UTC [35511][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-01 20:24:27.403 UTC [35511][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-01 20:24:27.411 UTC [35511][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-01 20:24:27.416 UTC [35511][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-01 20:24:27.416 UTC [35511][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-01 20:24:27.418 UTC [35511][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-01 20:24:27.419 UTC [35511][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-01 20:24:27.420 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-01 20:24:27.420 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-01 20:24:27.421 UTC [35511][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-01 20:24:27.421 UTC [35511][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-01 20:24:27.421 UTC [35511][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-01 20:24:27.422 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-01 20:24:27.422 UTC [35511][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-01 20:24:27.422 UTC [35511][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-01 20:24:27.423 UTC [35511][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-01 20:24:27.423 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-01 20:24:27.425 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-01 20:24:27.426 UTC [35511][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-01 20:24:27.427 UTC [35511][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-01 20:24:27.427 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-01 20:24:27.427 UTC [35511][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-01 20:24:27.428 UTC [35511][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-01 20:24:27.428 UTC [35511][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-01 20:24:27.431 UTC [35511][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-01 20:24:27.434 UTC [35511][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-01 20:24:27.434 UTC [35511][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-01 20:24:27.434 UTC [35511][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-01 20:24:27.435 UTC [35511][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-01 20:24:27.436 UTC [35511][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-01 20:24:27.436 UTC [35511][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-01 20:24:27.437 UTC [35511][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-01 20:24:27.437 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-01 20:24:27.438 UTC [35511][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-01 20:24:27.438 UTC [35511][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-01 20:24:27.439 UTC [35511][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-01 20:24:27.439 UTC [35511][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-01 20:24:27.443 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-01 20:24:27.444 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-01 20:24:27.444 UTC [35511][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-01 20:24:27.455 UTC [35511][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-01 20:24:27.458 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-01 20:24:27.458 UTC [35511][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-01 20:24:27.459 UTC [35511][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-01 20:24:27.460 UTC [35511][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-01 20:24:27.460 UTC [35511][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-01 20:24:27.461 UTC [35511][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-01 20:24:27.461 UTC [35511][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-01 20:24:27.461 UTC [35511][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-01 20:24:27.461 UTC [35511][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-01 20:24:27.479 UTC [35511][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.087 user=postgres database=template1 host=[local] 2024-05-01 20:24:27.508 UTC [35519][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:27.509 UTC [35519][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-01 20:24:27.509 UTC [35519][client backend] [[unknown]][45/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-05-01 20:24:27.510 UTC [35519][client backend] [002_pg_upgrade.pl][45/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/9:0] LOG: statement: SET statement_timeout = 0 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/10:0] LOG: statement: SET lock_timeout = 0 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/14:0] LOG: statement: SET row_security = off 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: BEGIN 2024-05-01 20:24:27.511 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-01 20:24:27.512 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-01 20:24:27.513 UTC [35519][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-01 20:24:27.514 UTC [35519][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-01 20:24:27.515 UTC [35519][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-01 20:24:27.518 UTC [35519][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-01 20:24:27.524 UTC [35519][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-01 20:24:27.532 UTC [35519][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-01 20:24:27.536 UTC [35519][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-01 20:24:27.537 UTC [35519][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-01 20:24:27.538 UTC [35519][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-01 20:24:27.540 UTC [35519][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-01 20:24:27.540 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-01 20:24:27.540 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-01 20:24:27.541 UTC [35519][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-01 20:24:27.541 UTC [35519][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-01 20:24:27.542 UTC [35519][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-01 20:24:27.542 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-01 20:24:27.542 UTC [35519][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-01 20:24:27.543 UTC [35519][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-01 20:24:27.543 UTC [35519][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-01 20:24:27.543 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-01 20:24:27.546 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-01 20:24:27.546 UTC [35519][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-01 20:24:27.547 UTC [35519][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-01 20:24:27.547 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-01 20:24:27.548 UTC [35519][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-01 20:24:27.548 UTC [35519][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-01 20:24:27.549 UTC [35519][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-01 20:24:27.551 UTC [35519][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-01 20:24:27.559 UTC [35519][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-01 20:24:27.560 UTC [35519][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-01 20:24:27.560 UTC [35519][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-01 20:24:27.561 UTC [35519][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-01 20:24:27.561 UTC [35519][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-01 20:24:27.566 UTC [35519][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-01 20:24:27.566 UTC [35519][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-01 20:24:27.567 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-01 20:24:27.568 UTC [35519][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-01 20:24:27.568 UTC [35519][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-01 20:24:27.569 UTC [35519][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-01 20:24:27.569 UTC [35519][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-01 20:24:27.584 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-01 20:24:27.585 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-01 20:24:27.586 UTC [35519][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-01 20:24:27.603 UTC [35519][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-01 20:24:27.606 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-01 20:24:27.607 UTC [35519][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-01 20:24:27.608 UTC [35519][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-01 20:24:27.608 UTC [35519][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-01 20:24:27.609 UTC [35519][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-01 20:24:27.609 UTC [35519][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-01 20:24:27.610 UTC [35519][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-01 20:24:27.610 UTC [35519][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-01 20:24:27.610 UTC [35519][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-01 20:24:27.622 UTC [35519][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.114 user=postgres database=postgres host=[local] 2024-05-01 20:24:27.647 UTC [35533][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:27.648 UTC [35533][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-01 20:24:27.648 UTC [35533][client backend] [[unknown]][46/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-05-01 20:24:27.650 UTC [35533][client backend] [002_pg_upgrade.pl][46/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/9:0] LOG: statement: SET statement_timeout = 0 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/10:0] LOG: statement: SET lock_timeout = 0 2024-05-01 20:24:27.653 UTC [35533][client backend] [002_pg_upgrade.pl][46/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-01 20:24:27.654 UTC [35533][client backend] [002_pg_upgrade.pl][46/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-01 20:24:27.654 UTC [35533][client backend] [002_pg_upgrade.pl][46/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-01 20:24:27.654 UTC [35533][client backend] [002_pg_upgrade.pl][46/14:0] LOG: statement: SET row_security = off 2024-05-01 20:24:27.654 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: BEGIN 2024-05-01 20:24:27.654 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-01 20:24:27.654 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-01 20:24:27.656 UTC [35533][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-01 20:24:27.658 UTC [35533][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-01 20:24:27.663 UTC [35533][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-01 20:24:27.663 UTC [35533][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-01 20:24:27.673 UTC [35533][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-01 20:24:27.683 UTC [35533][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-01 20:24:27.693 UTC [35533][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-01 20:24:27.694 UTC [35533][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-01 20:24:27.697 UTC [35533][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-01 20:24:27.702 UTC [35533][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-01 20:24:27.702 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-01 20:24:27.703 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-01 20:24:27.703 UTC [35533][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-01 20:24:27.704 UTC [35533][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-01 20:24:27.704 UTC [35533][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-01 20:24:27.704 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-01 20:24:27.706 UTC [35533][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-01 20:24:27.707 UTC [35533][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-01 20:24:27.707 UTC [35533][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-01 20:24:27.708 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-01 20:24:27.713 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-01 20:24:27.713 UTC [35533][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-01 20:24:27.716 UTC [35533][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-01 20:24:27.716 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-01 20:24:27.716 UTC [35533][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-01 20:24:27.717 UTC [35533][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-01 20:24:27.719 UTC [35533][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-01 20:24:27.727 UTC [35533][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-01 20:24:27.733 UTC [35533][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-01 20:24:27.733 UTC [35533][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-01 20:24:27.734 UTC [35533][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-01 20:24:27.736 UTC [35533][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-01 20:24:27.737 UTC [35533][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-01 20:24:27.738 UTC [35533][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-01 20:24:27.749 UTC [35533][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-01 20:24:27.750 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-01 20:24:27.750 UTC [35533][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-01 20:24:27.751 UTC [35533][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-01 20:24:27.752 UTC [35533][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-01 20:24:27.752 UTC [35533][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-01 20:24:27.756 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-01 20:24:27.757 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-01 20:24:27.760 UTC [35533][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-01 20:24:27.791 UTC [35533][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-01 20:24:27.794 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-01 20:24:27.794 UTC [35533][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-01 20:24:27.795 UTC [35533][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-01 20:24:27.796 UTC [35533][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-01 20:24:27.796 UTC [35533][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-01 20:24:27.796 UTC [35533][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-01 20:24:27.797 UTC [35533][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-01 20:24:27.797 UTC [35533][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-01 20:24:27.797 UTC [35533][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-01 20:24:27.806 UTC [35533][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.160 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-05-01 20:24:27.833 UTC [35556][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:27.838 UTC [35556][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-01 20:24:27.838 UTC [35556][client backend] [[unknown]][47/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-05-01 20:24:27.841 UTC [35556][client backend] [002_pg_upgrade.pl][47/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.841 UTC [35556][client backend] [002_pg_upgrade.pl][47/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/9:0] LOG: statement: SET statement_timeout = 0 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/10:0] LOG: statement: SET lock_timeout = 0 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-01 20:24:27.842 UTC [35556][client backend] [002_pg_upgrade.pl][47/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-01 20:24:27.843 UTC [35556][client backend] [002_pg_upgrade.pl][47/14:0] LOG: statement: SET row_security = off 2024-05-01 20:24:27.843 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: BEGIN 2024-05-01 20:24:27.843 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-01 20:24:27.843 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-01 20:24:27.846 UTC [35556][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-01 20:24:27.847 UTC [35556][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-01 20:24:27.848 UTC [35556][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-01 20:24:27.848 UTC [35556][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-01 20:24:27.856 UTC [35556][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-01 20:24:27.870 UTC [35556][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-01 20:24:27.899 UTC [35556][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-01 20:24:27.900 UTC [35556][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-01 20:24:27.904 UTC [35556][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-01 20:24:27.907 UTC [35556][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-01 20:24:27.908 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-01 20:24:27.908 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-01 20:24:27.909 UTC [35556][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-01 20:24:27.910 UTC [35556][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-01 20:24:27.911 UTC [35556][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-01 20:24:27.912 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-01 20:24:27.912 UTC [35556][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-01 20:24:27.914 UTC [35556][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-01 20:24:27.914 UTC [35556][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-01 20:24:27.915 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-01 20:24:27.919 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-01 20:24:27.920 UTC [35556][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-01 20:24:27.922 UTC [35556][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-01 20:24:27.923 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-01 20:24:27.924 UTC [35556][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-01 20:24:27.925 UTC [35556][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-01 20:24:27.927 UTC [35556][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-01 20:24:27.933 UTC [35556][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-01 20:24:27.938 UTC [35556][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-01 20:24:27.939 UTC [35556][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-01 20:24:27.940 UTC [35556][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-01 20:24:27.941 UTC [35556][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-01 20:24:27.947 UTC [35556][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-01 20:24:27.948 UTC [35556][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-01 20:24:27.948 UTC [35556][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-01 20:24:27.949 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-01 20:24:27.949 UTC [35556][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-01 20:24:27.950 UTC [35556][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-01 20:24:27.950 UTC [35556][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-01 20:24:27.951 UTC [35556][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-01 20:24:27.958 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-01 20:24:27.961 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-01 20:24:27.962 UTC [35556][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-01 20:24:27.979 UTC [35556][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-01 20:24:27.982 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-01 20:24:27.983 UTC [35556][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-01 20:24:27.984 UTC [35556][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-01 20:24:27.985 UTC [35556][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-01 20:24:27.985 UTC [35556][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-01 20:24:27.985 UTC [35556][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-01 20:24:27.986 UTC [35556][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-01 20:24:27.986 UTC [35556][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-01 20:24:27.986 UTC [35556][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-01 20:24:28.000 UTC [35556][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.166 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-05-01 20:24:28.041 UTC [35578][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:28.042 UTC [35578][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-01 20:24:28.042 UTC [35578][client backend] [[unknown]][48/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-05-01 20:24:28.045 UTC [35578][client backend] [002_pg_upgrade.pl][48/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:28.057 UTC [35578][client backend] [002_pg_upgrade.pl][48/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-01 20:24:28.057 UTC [35578][client backend] [002_pg_upgrade.pl][48/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/9:0] LOG: statement: SET statement_timeout = 0 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/10:0] LOG: statement: SET lock_timeout = 0 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/14:0] LOG: statement: SET row_security = off 2024-05-01 20:24:28.058 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: BEGIN 2024-05-01 20:24:28.059 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-01 20:24:28.059 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-01 20:24:28.060 UTC [35578][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-01 20:24:28.061 UTC [35578][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-01 20:24:28.062 UTC [35578][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-01 20:24:28.063 UTC [35578][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-01 20:24:28.071 UTC [35578][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-01 20:24:28.087 UTC [35578][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-01 20:24:28.097 UTC [35578][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-01 20:24:28.098 UTC [35578][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-01 20:24:28.109 UTC [35578][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-01 20:24:28.111 UTC [35578][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-01 20:24:28.111 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-01 20:24:28.112 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-01 20:24:28.113 UTC [35578][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-01 20:24:28.113 UTC [35578][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-01 20:24:28.113 UTC [35578][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-01 20:24:28.114 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-01 20:24:28.114 UTC [35578][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-01 20:24:28.115 UTC [35578][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-01 20:24:28.115 UTC [35578][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-01 20:24:28.116 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-01 20:24:28.118 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-01 20:24:28.129 UTC [35578][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-01 20:24:28.131 UTC [35578][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-01 20:24:28.131 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-01 20:24:28.132 UTC [35578][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-01 20:24:28.132 UTC [35578][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-01 20:24:28.133 UTC [35578][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-01 20:24:28.136 UTC [35578][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-01 20:24:28.139 UTC [35578][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-01 20:24:28.141 UTC [35578][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-01 20:24:28.141 UTC [35578][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-01 20:24:28.142 UTC [35578][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-01 20:24:28.149 UTC [35578][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-01 20:24:28.151 UTC [35578][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-01 20:24:28.151 UTC [35578][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-01 20:24:28.152 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-01 20:24:28.152 UTC [35578][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-01 20:24:28.153 UTC [35578][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-01 20:24:28.153 UTC [35578][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-01 20:24:28.154 UTC [35578][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-01 20:24:28.165 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-01 20:24:28.167 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-01 20:24:28.168 UTC [35578][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-01 20:24:28.193 UTC [35578][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-01 20:24:28.196 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-05-01 20:24:28.197 UTC [35578][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-01 20:24:28.198 UTC [35578][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-01 20:24:28.199 UTC [35578][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-01 20:24:28.199 UTC [35578][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-01 20:24:28.200 UTC [35578][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-01 20:24:28.200 UTC [35578][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-01 20:24:28.200 UTC [35578][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-05-01 20:24:28.200 UTC [35578][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-01 20:24:28.212 UTC [35578][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.174 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-05-01 20:24:28.253 UTC [35597][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-05-01 20:24:28.254 UTC [35597][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-01 20:24:28.254 UTC [35597][client backend] [[unknown]][49/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-05-01 20:24:28.255 UTC [35597][client backend] [002_pg_upgrade.pl][49/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:28.255 UTC [35597][client backend] [002_pg_upgrade.pl][49/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/5:0] LOG: statement: SET DATESTYLE = ISO 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/7:0] LOG: statement: SET extra_float_digits TO 3 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/9:0] LOG: statement: SET statement_timeout = 0 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/10:0] LOG: statement: SET lock_timeout = 0 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/12:0] LOG: statement: SET transaction_timeout = 0 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/13:0] LOG: statement: SET quote_all_identifiers = true 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/14:0] LOG: statement: SET row_security = off 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: BEGIN 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-05-01 20:24:28.256 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-05-01 20:24:28.266 UTC [35597][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-01 20:24:28.267 UTC [35597][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-01 20:24:28.268 UTC [35597][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-01 20:24:28.269 UTC [35597][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-01 20:24:28.309 UTC [35597][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"."float4_tbl", "public"."num_data", "public"."num_exp_add", "public"."num_exp_sub", "public"."num_exp_div", "public"."money_data", "public"."num_exp_mul", "public"."num_exp_sqrt", "public"."num_exp_ln", "public"."num_exp_log10", "public"."num_exp_power_10_ln", "public"."num_result", "public"."numrange_test", "public"."textrange_test", "public"."test_range_gist", "public"."bit_defaults", "public"."num_input_test", "public"."num_typemod_test", "public"."test_range_spgist", "public"."test_range_excl", "public"."time_tbl", "public"."inet_tbl", "public"."path_tbl", "public"."box_tbl", "public"."timestamptz_tbl", "public"."interval_tbl", "public"."timetz_tbl", "public"."lseg_tbl", "public"."timestamp_tbl", "public"."circle_tbl", "public"."line_tbl", "public"."date_tbl", "public"."polygon_tbl", "public"."quad_poly_tbl", "public"."nummultirange_test", "public"."quad_box_tbl", "public"."infinite_interval_tbl", "public"."quad_box_tbl_ord_seq1", "public"."quad_box_tbl_ord_seq2", "public"."reservations", "stats_export_import"."test", "stats_export_import"."test_clone", "public"."tab_core_types", "public"."mlparted", "public"."mlparted1", "public"."mlparted11", "public"."mlparted12", "public"."mlparted2", "public"."mlparted3", "public"."mlparted4", "public"."mlparted_def", "public"."mlparted_def1", "public"."mlparted_def2", "public"."mlparted_defd", "public"."a_star", "public"."b_star", "public"."c_star", "public"."d_star", "public"."e_star", "public"."f_star", "public"."city", "public"."extra_wide_table", "public"."tbl_include_reg", "public"."quad_point_tbl", "public"."real_city", "public"."ramp", "public"."view_base_table", "public"."tbl_include_unique1", "public"."tbl_include_unique2", "public"."tbl_include_pk", "public"."tbl_include_box", "public"."tbl_include_box_pk", "public"."kd_point_tbl", "public"."slow_emp4000", "public"."fast_emp4000", "public"."radix_text_tbl", "public"."array_index_op_test", "public"."func_index_heap", "public"."dupindexcols", "public"."default_tbl", "public"."defaultexpr_tbl", "public"."a", "public"."b", "public"."check_tbl", "public"."c", "public"."d", "public"."check2_tbl", "public"."insert_tbl", "public"."tableam_tbl_heap2", "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"."persons", "public"."persons2", "public"."log_table", "public"."main_table", "public"."persons3", "public"."copy_tbl", "public"."notnull_tbl2", "public"."notnull_tbl3", "public"."cnn_parent", "public"."cnn_child", "public"."cnn_grandchild", "public"."cnn_child2", "public"."cnn_grandchild2", "public"."notnull_tbl4", "public"."notnull_tbl4_lk", "public"."notnull_tbl4_lk2", "public"."notnull_tbl4_lk3", "public"."notnull_tbl4_cld", "public"."notnull_tbl4_cld2", "public"."notnull_tbl4_cld3", "public"."invalid_check_con", "public"."invalid_check_con_child", "public"."pp1", "public"."cc1", "public"."cc2", "public"."trigger_parted", "public"."trigger_parted_p1", "public"."trigger_parted_p1_1", "public"."trigger_parted_p2", "public"."trigger_parted_p2_2", "public"."xacttest", "public"."hash_i4_heap", "public"."bt_i4_heap", "public"."subselect_tbl", "public"."arrtest", "public"."aggtest", "public"."hash_name_heap", "public"."bt_name_heap", "public"."bt_txt_heap", "public"."hash_txt_heap", "public"."bt_f8_heap", "public"."hash_f8_heap", "public"."array_op_test", "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"."spgist_point_tbl", "public"."gist_point_tbl", "public"."brintest", "public"."test_tablesample", "public"."gin_test_tbl", "public"."mvtest_t", "public"."gtest0", "public"."itest1", "public"."gtest1", "public"."itest2", "public"."itest3", "public"."brinopers", "public"."itest4", "public"."itest9", "public"."itest10", "public"."itest11", "public"."gtest1_1", "public"."itest13", "public"."itest5", "public"."gtestx", "public"."itest17", "public"."gtestxx_1", "public"."gtestxx_3", "public"."gtestxx_4", "public"."gtesty", "public"."gtest1_y", "public"."itest18", "public"."gtest3", "public"."gtest3a", "public"."gtest2", "public"."gtest_tableoid", "public"."bug_16784", "public"."gtest10", "public"."itest6", "public"."gtest10a", "public"."itest7", "public"."itest7a", "public"."gtest20", "public"."itest7b", "public"."itest7c", "public"."itest7d", "public"."itest7e", "public"."gtest20a", "public"."gtest20b", "public"."gtest21a", "public"."gtest21b", "public"."gtest22a", "public"."spgist_box_tbl", "public"."gtest22b", "public"."gtest22c", "public"."gtest23p", "public"."gtest23q", "public"."gtest24", "public"."spgist_text_tbl", "public"."gs_data_1", "public"."gtest_parent", "public"."gtest_child", "public"."gtest_child2", "public"."pitest1", "public"."pitest1_p1", "public"."pitest1_p2", "public"."pitest2", "public"."pitest2_p2", "public"."gtest_child3", "public"."itest14", "public"."brin_summarize", "public"."gtest25", "public"."brin_test", "public"."gtest27", "public"."gtest29", "public"."spgist_domain_tbl", "public"."spgist_unlogged_tbl", "public"."gtest30", "public"."gtest30_1", "public"."gtest26", "public"."gtest28a", "public"."gtest28b", "regress_rls_schema"."rls_tbl", "regress_rls_schema"."rls_tbl_force", "public"."datdba_only", "public"."brintest_multi", "public"."brintest_bloom", "public"."brinopers_bloom", "public"."brinopers_multi", "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"."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"."ruletest_tbl", "public"."ruletest_tbl2", "public"."ndistinct", "public"."rule_and_refint_t1", "public"."rule_and_refint_t2", "public"."rule_and_refint_t3", "public"."rules_src", "public"."rules_log", "public"."functional_dependencies", "public"."rule_merge1", "public"."rule_merge2", "public"."mcv_lists", "public"."mcv_lists_arrays", "public"."mcv_lists_bool", "public"."parallel_vacuum_table", "testxmlschema"."test1", "testxmlschema"."test2", "public"."clstr_tst_s", "public"."test_tsvector", "public"."clstr_tst", "public"."ec0", "public"."clstr_tst_inh", "public"."ec1", "public"."ec2", "testxmlschema"."test3", "public"."customer", "public"."credit_card", "public"."credit_usage", "public"."fk_notpartitioned_pk", "public"."fk_partitioned_fk", "public"."fk_partitioned_fk_1", "public"."fk_partitioned_fk_3", "public"."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"."xmltest", "public"."room", "public"."wslot", "public"."utf8_verification_inputs", "public"."pfield", "public"."pslot", "public"."query", "public"."pline", "public"."hub", "public"."xmldata", "public"."utf8_inputs", "public"."hslot", "public"."system", "public"."iface", "public"."phone", "public"."euc_jis_2004_inputs", "public"."shiftjis2004_inputs", "public"."check_con_tbl", "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"."nv_parent", "public"."nv_child_2010", "public"."nv_child_2011", "public"."nv_child_2009", "public"."found_test_tbl", "public"."rc_test", "public"."xmltest2", "public"."dropcolumn", "public"."dropcolumnchild", "public"."dropcolumnanother", "public"."renamecolumn", "public"."renamecolumnchild", "public"."renamecolumnanother", "public"."dropcolumnexists", "public"."depth0", "public"."depth1", "public"."depth2", "public"."skip_wal_skip_rewrite_index", "public"."test_storage", "public"."test_inh_check", "public"."test_inh_check_child", "public"."test_type_diff", "public"."test_type_diff_c", "public"."test_type_diff2", "public"."test_type_diff2_c1", "public"."test_type_diff2_c2", "public"."test_type_diff2_c3", "public"."test_tbl3", "public"."tt0", "public"."tt1", "public"."tt2", "public"."tt3", "public"."tt4", "public"."tt5", "public"."tt6", "public"."tt7", "public"."comment_test", "public"."transition_table_base", "public"."comment_test_child", "public"."transition_table_level1", "public"."transition_table_level2", "public"."transition_table_status", "public"."alter_table_under_transition_tables", "public"."partitioned_table", "public"."pt_part1", "public"."pt_part2", "public"."atnotnull1", "public"."partr_def2", "public"."part_7", "public"."part_7_a_null", "public"."part_rp", "public"."part_rp100", "public"."inh_test", "public"."defpart_attach_test_2", "public"."perm_part_child", "public"."bar1", "public"."bar2", "public"."target_parted", "public"."attach_parted", "public"."attach_parted_part1", "public"."pagg_tab", "public"."pagg_tab_p1", "public"."prt1", "public"."cmdata", "public"."pagg_tab_p2", "public"."prt1_p1", "public"."pagg_tab_p3", "public"."prt1_p3", "public"."prt1_p2", "public"."prt2", "public"."prt2_p1", "public"."prt2_p2", "public"."reloptions_test", "public"."prt2_p3", "public"."cmdata1", "public"."cmmove1", "public"."cmmove3", "public"."pagg_tab1", "public"."pagg_tab1_p1", "public"."pagg_tab1_p2", "public"."pagg_tab1_p3", "public"."pagg_tab2", "public"."pagg_tab2_p1", "public"."pagg_tab2_p2", "public"."pagg_tab2_p3", "public"."cmmove2", "public"."prt1_e", "public"."prt1_e_p1", "public"."prt1_e_p2", "public"."prt1_e_p3", "public"."prt2_e", "public"."prt2_e_p1", "public"."prt2_e_p2", "public"."pagg_tab_m", "public"."prt2_e_p3", "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"."prt1_m", "public"."prt1_m_p1", "public"."prt1_m_p2", "public"."prt1_m_p3", "public"."prt2_m", "public"."prt2_m_p1", "public"."prt2_m_p2", "public"."prt2_m_p3", "public"."plt1", "public"."cmpart", "public"."cmpart1", "public"."plt1_p1", "public"."plt1_p2", "public"."cmpart2", "public"."plt1_p3", "public"."plt2", "public"."plt2_p1", "public"."plt2_p2", "public"."plt2_p3", "public"."part", "public"."part_p1", "public"."part_p2", "public"."part_p2_p1", "public"."part_rev", "public"."plt1_e", "public"."plt1_e_p1", "public"."plt1_e_p2", "public"."plt1_e_p3", "public"."cmdata2", "public"."pht1", "public"."pht1_p1", "public"."pht1_p2", "public"."pht1_p3", "public"."stats_test_tab1", "public"."pht2", "public"."pht2_p1", "public"."pht2_p2", "public"."pht2_p3", "public"."pht1_e", "public"."pht1_e_p1", "public"."pht1_e_p2", "public"."pht1_e_p3", "public"."prt1_l", "public"."prt1_l_p1", "public"."prt1_l_p2", "public"."prt1_l_p2_p1", "public"."prt1_l_p2_p2", "public"."prt1_l_p3", "public"."prt1_l_p3_p1", "public"."prt1_l_p3_p2", "public"."prt2_l", "public"."prt2_l_p1", "public"."prt2_l_p2", "public"."prt2_l_p2_p1", "public"."prt2_l_p2_p2", "public"."prt2_l_p3", "public"."prt2_l_p3_p1", "public"."prt2_l_p3_p2", "public"."prt1_n", "public"."prt1_n_p1", "public"."prt1_n_p2", "public"."prt2_n", "public"."prt2_n_p1", "public"."prt2_n_p2", "public"."prt3_n", "public"."prt3_n_p1", "public"."prt3_n_p2", "public"."prt3_n_p3", "public"."prt4_n", "public"."prt4_n_p1", "public"."prt4_n_p2", "public"."prt4_n_p3", "public"."test_io_vac_strategy", "public"."test_io_bulkwrite_strategy", "public"."pagg_tab_para", "public"."pagg_tab_para_p1", "public"."pagg_tab_para_p2", "public"."pagg_tab_para_p3", "public"."xy_1", "public"."alpha", "public"."alpha_neg", "public"."alpha_pos", "public"."alpha_neg_p1", "public"."alpha_neg_p2", "public"."alpha_neg_p3", "public"."alpha_pos_p1", "public"."alpha_pos_p2", "public"."alpha_pos_p3", "public"."beta", "public"."beta_neg", "public"."beta_pos", "public"."beta_neg_p1", "public"."beta_neg_p2", "public"."beta_neg_p3", "public"."beta_pos_p1", "public"."beta_pos_p2", "public"."beta_pos_p3", "public"."boolvalues", "public"."idxpart", "public"."idxpart1", "public"."idxpart2", "public"."idxpart21", "public"."idxpart22", "public"."idxpart_another", "public"."idxpart_another_1", "public"."idxpart3", "public"."idxpart31", "public"."idxpart32", "regress_indexing"."pk", "regress_indexing"."pk1", "regress_indexing"."pk2", "regress_indexing"."pk3", "regress_indexing"."pk4", "regress_indexing"."pk5", "regress_indexing"."pk51", "regress_indexing"."pk52", "public"."covidxpart", "public"."covidxpart1", "public"."covidxpart2", "public"."covidxpart3", "public"."covidxpart4", "public"."undroppable_objs", "public"."dropped_objects", "public"."rewritemetoo1", "public"."rewritemetoo2", "public"."rewritemetoo3", "public"."event_trigger_test", "public"."has_fast_default" IN ACCESS SHARE MODE 2024-05-01 20:24:28.321 UTC [35597][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-01 20:24:28.351 UTC [35597][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-01 20:24:28.378 UTC [35597][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-01 20:24:28.378 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('28107') 2024-05-01 20:24:28.378 UTC [35597][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-01 20:24:28.389 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32203') 2024-05-01 20:24:28.389 UTC [35597][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-01 20:24:28.390 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('27500') 2024-05-01 20:24:28.390 UTC [35597][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-01 20:24:28.391 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32468') 2024-05-01 20:24:28.391 UTC [35597][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-01 20:24:28.391 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32479') 2024-05-01 20:24:28.391 UTC [35597][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-01 20:24:28.391 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35353') 2024-05-01 20:24:28.391 UTC [35597][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-01 20:24:28.392 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35378') 2024-05-01 20:24:28.392 UTC [35597][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-01 20:24:28.393 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38916') 2024-05-01 20:24:28.393 UTC [35597][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-01 20:24:28.393 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('39024') 2024-05-01 20:24:28.393 UTC [35597][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-01 20:24:28.393 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('39050') 2024-05-01 20:24:28.393 UTC [35597][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-01 20:24:28.394 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37349') 2024-05-01 20:24:28.394 UTC [35597][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-01 20:24:28.394 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37413') 2024-05-01 20:24:28.394 UTC [35597][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-01 20:24:28.394 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37463') 2024-05-01 20:24:28.394 UTC [35597][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-01 20:24:28.394 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37545') 2024-05-01 20:24:28.394 UTC [35597][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-01 20:24:28.395 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37567') 2024-05-01 20:24:28.395 UTC [35597][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-01 20:24:28.395 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37588') 2024-05-01 20:24:28.395 UTC [35597][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-01 20:24:28.395 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37695') 2024-05-01 20:24:28.395 UTC [35597][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-01 20:24:28.395 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37700') 2024-05-01 20:24:28.395 UTC [35597][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-01 20:24:28.395 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37703') 2024-05-01 20:24:28.395 UTC [35597][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-01 20:24:28.396 UTC [35597][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-01 20:24:28.397 UTC [35597][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-01 20:24:28.399 UTC [35597][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-01 20:24:28.410 UTC [35597][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-01 20:24:28.410 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-05-01 20:24:28.411 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-05-01 20:24:28.411 UTC [35597][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-01 20:24:28.412 UTC [35597][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-01 20:24:28.412 UTC [35597][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-01 20:24:28.413 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-05-01 20:24:28.413 UTC [35597][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-01 20:24:28.414 UTC [35597][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-01 20:24:28.414 UTC [35597][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-01 20:24:28.415 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-05-01 20:24:28.417 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-05-01 20:24:28.417 UTC [35597][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-01 20:24:28.419 UTC [35597][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-01 20:24:28.419 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT lanname FROM pg_language WHERE oid = 14 2024-05-01 20:24:28.419 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-05-01 20:24:28.419 UTC [35597][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-01 20:24:28.433 UTC [35597][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-01 20:24:28.435 UTC [35597][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,16523,16540,16549,16560,16573,16577,16615,16622,16625,16628,16634,16637,16662,16748,16787,16820,16840,16845,16849,16866,16979,16982,16987,16995,16998,17001,17004,17007,17010,17013,17016,17019,17025,17040,17050,17065,17133,17143,17159,17176,17345,17378,17390,17996,17999,18004,18022,18027,18032,18035,18072,18075,18080,18085,18298,18301,18312,18321,18344,18349,18448,18530,19181,19184,19188,19193,19201,19206,19211,19215,19220,19224,19228,19246,19255,19280,19301,19431,19495,19498,19572,19640,19924,20039,20329,20376,20393,20417,20428,20450,20477,20499,20557,20637,20644,20656,20669,20672,20706,20712,20730,20977,21004,21036,21046,21116,21348,22011,22063,22195,22199,22207,22212,22220,22355,22372,22385,22391,22406,22410,22421,22529,22532,22963,22966,22976,24077,24084,24090,24096,24102,24199,24217,24221,24224,24240,24251,24252,24257,24265,24271,24276,24280,24285,25015,25726,25732,25736,25753,25758,25770,25775,25781,25787,25793,25920,25926,25937,25943,25982,26003,26006,26020,26034,26095,26106,26126,26143,26236,26244,26252,26288,26293,26338,26351,26362,26372,26409,26448,26459,26463,26534,26594,26618,26627,26643,26673,26727,26757,26762,26784,26796,26815,26820,26874,26895,26919,26972,27056,27063,27098,27115,27125,27188,27192,27203,27210,27214,27233,27241,27249,27283,27305,27321,27329,27343,27353,27365,27483,27489,27502,27508,27523,27562,27567,27578,27606,27631,27657,27684,27704,27711,27863,27969,27994,28011,28040,28099,28109,28120,28163,28167,28191,28225,28229,28275,28282,28410,28531,28536,28548,28556,28563,28567,28582,28586,28658,28776,28967,28999,29189,29194,29448,29623,29684,29696,29859,30229,30241,30380,30643,30648,30652,30655,30667,30672,30682,30687,30696,30701,30710,30736,30741,30746,30751,30756,30761,30770,30773,30783,30788,30793,30798,30846,30851,30854,30859,30864,30868,30872,30876,30881,30886,30891,30894,30898,30901,30904,30907,30911,30915,30919,30926,30929,30933,30937,31037,31040,31043,31053,31066,31075,31192,31197,31280,31336,31341,31450,31498,31507,31631,32165,32204,32240,32273,32279,32339,32347,32380,32415,32480,32687,32697,32711,32735,32742,32746,32750,32754,32783,33840,33845,33850,33871,34009,34017,34028,34041,34054,34084,34087,34090,34135,34146,34155,34164,34170,34182,34231,34369,34374,34379,34387,34390,34407,34413,34421,34430,34434,34438,34458,34489,34494,34499,34504,34509,34514,34519,34543,34548,34553,34558,34561,34564,34584,34592,34596,34600,34619,34625,34631,34804,34809,34814,34819,35344,35471,35668,35720,35760,35780,35794,35800,35808,35836,35847,35856,35890,35913,35937,35940,35951,36061,36120,36155,36158,36173,36209,36214,36231,36238,36243,36265,36268,36279,36305,36308,36326,36337,36435,36601,36606,36664,36682,36738,36799,36804,36848,37069,37304,37353,37443,37456,37468,37547,37666,37685,37688,37696,37791,38092,38123,38214,38219,38224,38227,38230,38233,38290,38294,38297,38303,38447,38554,38570,38574,38636,38639,38650,38653,38656,38659,38933,38945,38950,38953,38956,38960,38963,38966,38970,39015,39059,39069,39096,39104,39112,39249,39282,39285,39290,39335,39473,39499,39503,39588,39595,39638,39675,39684,39713,39718,39815,39818,39821,39894,39903,39917,39932,39938,39960,39989,40001,40013,40134,40147,40165,40179,40197,40230,40315,40391,40459,40471,40477,40480,40483,40489,40494,40497,40509,40529,40532,40535,40541,40563,40566,40585,40588,40593,40599,40609,40612,40786,40802,40810,40813,40818,40826,40832,40841,40852,40868,40871,40876,40913,40916,40919,40922,40925,40956,40962,40965,40985,40993,41022,41078,41117,41123,41128,41142,41155,41158,41193,41199,41202,41208,41232,41253,41258,41276,41372,41394,41399,41436,41443,41453,41457,41468,41481,41504,41512,41529,41535,41632,41636,41643,41646,41672,41685,41693,41717,41776,41783,41808,41821,41831,41841,41849,41854,41964,41970,41975,41994,41997,42012,42021,42024,42029,42034,42048,42051,42059,42064,42183,42220,42434,42437,42440,42457,42541,43131,43134,43137,43140,43150,43161,43177,43191,43203,43232,43235,43241,43247,43258,43266,43271,43276,43293,43316,43570,43576,43582,43591,43594,43601,43606,43611,43614,43617,43624,43629,43634,43640,43645,43651,43655,43659,43669,43673,43677,43681,43685,43951,43956,44070,44073,44090,44130,44411}'::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-01 20:24:28.509 UTC [35597][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('{16820,20329,20376,20557,21036,21116,25758,25775,25781,25787,25793,26034,26106,26351,26627,26673,26727,26784,26796,26815,26820,26895,26919,26972,27056,27203,27249,27283,27305,27321,27329,27343,27353,27365,27483,27502,27562,27567,27578,27711,27994,28040,28120,28163,28167,28191,28225,28229,28658,28776,31192,31197,32240,32279,32347,33845,33850,38554,39096,39104,39713,39718,44411}'::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-01 20:24:28.514 UTC [35597][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('{20428,20499,20557,21348,22063,22529,22532,26288,27203,27283,28548,28556,28658,36606,37666,37685,37688,37696,38570,38574,39015,39473,39503,39588,39595}'::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-01 20:24:28.530 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{16415,16418,16421,16424,16447,16453,16458,16549,16560,16573,16615,16622,16625,16628,16634,16662,16748,16787,16849,16866,17013,17025,17040,17050,17065,17345,17378,19181,19184,19215,19228,19255,19280,19431,19498,19572,19640,19924,20039,21004,21116,22011,22195,22355,22385,22391,22410,22421,22963,24077,24084,24090,24096,24102,24217,24221,24252,24257,24265,24271,24276,24280,25015,25726,25753,25758,25770,25781,25787,25920,25926,25937,25943,25982,26006,26020,26034,26106,26244,26372,26463,26972,27056,27098,27125,27203,27249,27283,27305,27321,27329,27343,27353,27365,27483,27489,27502,27508,27969,27994,28011,28109,28120,28191,28531,28536,28563,28567,28582,28586,28658,28967,28999,29448,29623,29684,29696,29859,30229,30241,30380,31053,31066,31075,31280,31631,32240,32273,32279,32339,32380,32415,32687,33840,34135,34146,34155,34164,34170,34182,34231,34369,34374,34379,34413,34421,34430,34434,34438,34489,34494,34499,34504,34509,34514,34543,34548,34553,34584,34592,34596,34600,34804,34809,34814,34819,35344,35720,35800,35847,35937,36061,36155,36214,36265,36279,36308,36337,36664,38447,38554,39015,39059,39069,39096,39104,39112,39249,39335,39932,39960,40001,40013,40147,40165,40179,40197,40532,40535,40541,41276,41443,43570,43576,43582,43594,43601,43606,43611,43614,43617,43624,43629,43634,43640,43645,43651,43655,43659,43669,43673,43677,43681,43685}'::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-01 20:24:28.609 UTC [35597][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-01 20:24:28.611 UTC [35597][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('{17996,17999,18072,20669,21046,22355,22385,22391,22410,22421,24077,24084,24090,24096,24102,27483,27489,27562,27606,27684,28191,28967,28999,29448,29623,29684,29696,30229,30241,31053,31066,31075,32240,32273,32279,32687,32697,32711,33840,33845,33850,33871,34009,34017,34028,34041,34054,34084,34087,34090,34135,34146,34155,34164,34170,34182,34369,34374,34379,34387,34390,34407,34413,34421,34430,34434,34438,34458,34489,34494,34499,34504,34509,34514,34519,34543,34548,34553,34558,34561,34564,34584,34592,34596,34600,34619,34625,34804,34809,34814,34819,35720,35800,35937,36061,36155,36214,36265,36279,36308,36337,36664,39015,39059,39069,39096,39104,39249,39282,39499,39713,39815,39818,39894,39917,40134,40459,40483,40529,40563,40588,40786,40810,40826,40852,40913,40956,40962,41117,41155,41193,41208,41372,41453,41504,41632,41643,41685,41776,41808,41841,41964,41994,42021,42048,42434,43131,43134,43137,43232,43235,43241,43570,43582,43601,43611,43624,43651,43669}'::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-01 20:24:28.612 UTC [35597][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('{21046,22355,22385,22391,22410,22421,24077,24084,24090,24096,24102,27483,27489,28191,28967,28999,29448,29623,29684,29696,30229,30241,31053,31066,31075,32240,32273,32279,32687,32697,32711,33840,33845,33850,33871,34009,34017,34028,34041,34054,34084,34087,34090,34135,34146,34155,34164,34170,34182,34369,34374,34379,34387,34390,34407,34413,34421,34430,34434,34438,34458,34489,34494,34499,34504,34509,34514,34519,34543,34548,34553,34558,34561,34564,34584,34592,34596,34600,34619,34625,34804,34809,34814,34819,35720,35800,35937,36061,36155,36214,36265,36279,36308,36337,39015,39059,39069,39096,39104,39249,39713}'::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-01 20:24:28.615 UTC [35597][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-01 20:24:28.617 UTC [35597][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,16523,16540,16549,16560,16573,16577,16615,16622,16625,16628,16634,16637,16662,16748,16787,16820,16840,16845,16849,16866,16979,16982,16987,16995,16998,17001,17004,17007,17010,17013,17016,17019,17025,17040,17050,17065,17133,17143,17159,17176,17345,17378,17390,17996,17999,18004,18022,18027,18032,18035,18072,18075,18080,18085,18298,18301,18312,18321,18344,18349,18448,18530,19181,19184,19188,19193,19215,19228,19246,19255,19280,19301,19431,19495,19498,19572,19640,19924,20039,20329,20376,20393,20417,20428,20450,20477,20499,20557,20637,20644,20669,20672,20706,20712,20730,20977,21004,21036,21046,21116,21348,22011,22063,22195,22199,22207,22212,22220,22355,22372,22385,22391,22406,22410,22421,22529,22532,22963,22966,22976,24077,24084,24090,24096,24102,24199,24217,24221,24224,24240,24251,24252,24257,24265,24271,24276,24280,24285,25015,25726,25732,25736,25753,25758,25770,25775,25781,25787,25793,25920,25926,25937,25943,25982,26003,26006,26020,26034,26095,26106,26126,26143,26288,26351,26534,26594,26618,26627,26643,26673,26727,26757,26762,26784,26796,26815,26820,26874,26895,26919,26972,27056,27063,27098,27115,27125,27188,27192,27203,27210,27214,27233,27241,27249,27283,27305,27321,27329,27343,27353,27365,27483,27489,27502,27508,27523,27562,27567,27578,27606,27631,27657,27684,27704,27711,27863,27969,27994,28011,28040,28099,28109,28120,28163,28167,28191,28225,28229,28275,28282,28410,28531,28536,28548,28556,28563,28567,28582,28586,28658,28776,28967,28999,29189,29194,29448,29623,29684,29696,29859,30229,30241,30380,30643,30648,30652,30667,30672,30682,30687,30696,30701,30710,30736,30741,30746,30751,30756,30761,30770,30773,30783,30788,30793,30798,30846,30851,30854,30859,30886,30891,30898,30901,30904,30919,30926,30929,31037,31040,31043,31053,31066,31075,31192,31197,31280,31336,31341,31450,31498,31507,31631,32165,32204,32240,32273,32279,32339,32347,32380,32415,32480,32687,32697,32711,33840,33845,33850,33871,34009,34017,34028,34041,34054,34084,34087,34090,34135,34146,34155,34164,34170,34182,34231,34369,34374,34379,34387,34390,34407,34413,34421,34430,34434,34438,34458,34489,34494,34499,34504,34509,34514,34519,34543,34548,34553,34558,34561,34564,34584,34592,34596,34600,34619,34625,34631,34804,34809,34814,34819,35344,35471,35668,35720,35800,35847,35937,36061,36120,36155,36214,36238,36243,36265,36279,36308,36337,36435,36601,36606,36664,36682,36738,36799,36848,37069,37304,37353,37443,37456,37547,37666,37685,37688,37696,37791,38092,38123,38214,38219,38224,38227,38230,38233,38290,38294,38297,38303,38447,38554,38570,38574,38636,38639,38650,38653,38656,38659,38933,38945,38950,38953,38956,38960,38963,38966,38970,39015,39059,39069,39096,39104,39112,39249,39282,39285,39290,39335,39473,39499,39503,39588,39595,39638,39675,39684,39713,39718,39815,39818,39821,39894,39903,39917,39932,39938,39960,39989,40001,40013,40134,40147,40165,40179,40197,40230,40315,40391,40459,40471,40477,40480,40483,40489,40494,40497,40509,40529,40532,40535,40541,40563,40566,40585,40588,40593,40599,40609,40612,40786,40802,40810,40813,40818,40826,40832,40841,40852,40868,40871,40876,40913,40916,40919,40922,40956,40962,40965,40985,40993,41022,41078,41117,41123,41128,41142,41155,41158,41193,41199,41202,41208,41232,41253,41258,41276,41372,41394,41399,41436,41443,41453,41457,41468,41481,41504,41512,41529,41535,41632,41636,41643,41646,41672,41685,41693,41717,41776,41783,41808,41821,41831,41841,41849,41854,41964,41970,41975,41994,41997,42012,42021,42024,42029,42034,42048,42051,42059,42064,42183,42220,42434,42437,42440,42457,42541,43131,43134,43137,43140,43150,43161,43177,43191,43203,43232,43235,43241,43247,43258,43266,43271,43276,43293,43316,43570,43576,43582,43591,43594,43601,43606,43611,43614,43617,43624,43629,43634,43640,43645,43651,43655,43659,43669,43673,43677,43681,43685,43951,43956,44070,44073,44090,44130,44411}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-05-01 20:24:28.620 UTC [35597][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-01 20:24:28.623 UTC [35597][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-01 20:24:28.627 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-05-01 20:24:28.628 UTC [35597][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-01 20:24:28.629 UTC [35597][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-01 20:24:28.630 UTC [35597][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-01 20:24:28.630 UTC [35597][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-01 20:24:28.678 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-05-01 20:24:28.692 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-05-01 20:24:28.694 UTC [35597][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-01 20:24:28.714 UTC [35597][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-01 20:24:28.757 UTC [35597][client backend] [002_pg_upgrade.pl][49/15:0] LOG: unexpected EOF on client connection with an open transaction 2024-05-01 20:24:28.758 UTC [35597][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.508 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/20240501T202425.527/log/pg_upgrade_server.log" 2>&1 waiting for server to shut down....2024-05-01 20:24:28.791 UTC [35236][postmaster] LOG: received fast shutdown request 2024-05-01 20:24:28.791 UTC [35236][postmaster] LOG: aborting any active transactions 2024-05-01 20:24:28.797 UTC [35237][checkpointer] LOG: shutting down 2024-05-01 20:24:28.797 UTC [35237][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-05-01 20:24:28.798 UTC [35237][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/1284AF50, redo lsn=0/1284AF50 2024-05-01 20:24:28.806 UTC [35236][postmaster] LOG: database system is shut down done server stopped === EOF === [20:24:29.251](0.057s) not ok 16 - check that locales in new cluster match original cluster [20:24:29.252](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. [20:24:29.252](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=51691 host=/tmp/ZHicH6wgrT dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_N6Ly/dump2.sql [20:24:29.776](0.524s) ok 17 - dump after running pg_upgrade [20:24:29.777](0.001s) not ok 18 - old and new dumps match after pg_upgrade [20:24:29.778](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. [20:24:29.778](0.000s) # got: '1' # expected: '0' === diff of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_N6Ly/dump1.sql_filtered and /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_N6Ly/dump2.sql_filtered === stdout === --- /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_N6Ly/dump1.sql_filtered 2024-05-01 20:24:29.775809567 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_N6Ly/dump2.sql_filtered 2024-05-01 20:24:29.775809567 +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 === [20:24:29.793](0.015s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -m immediate stop waiting for server to shut down... done server stopped # No postmaster PID for node "new_node" [20:24:29.813](0.020s) # Looks like you failed 5 tests of 18.