[10:40:01.931](0.017s) # testing using transfer mode --copy # Checking port 57366 # Found port 57366 Name: old_node Data directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/archives Connection string: port=57366 host=/tmp/GAFftgcfIv Log file: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_old_node.log [10:40:01.941](0.010s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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 27219 [10:40:06.382](4.441s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [10:40:06.863](0.481s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [10:40:07.333](0.470s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [10:40:07.964](0.631s) ok 4 - created database with ASCII characters from 91 to 127 [10:40:07.964](0.001s) # running regression tests in old instance # using postmaster on /tmp/GAFftgcfIv, port 57366 ok 1 - test_setup 980 ms # parallel group (20 tests): oid text char name int4 int2 regproc txid money pg_lsn varchar float8 uuid float4 int8 enum bit boolean numeric rangetypes ok 2 + boolean 1132 ms ok 3 + char 222 ms ok 4 + name 239 ms ok 5 + varchar 326 ms ok 6 + text 192 ms ok 7 + int2 260 ms ok 8 + int4 247 ms ok 9 + int8 433 ms ok 10 + oid 169 ms ok 11 + float4 397 ms ok 12 + float8 391 ms ok 13 + bit 1036 ms ok 14 + numeric 1879 ms ok 15 + txid 276 ms ok 16 + uuid 389 ms ok 17 + enum 632 ms ok 18 + money 277 ms ok 19 + rangetypes 2680 ms ok 20 + pg_lsn 293 ms ok 21 + regproc 259 ms # parallel group (20 tests): md5 lseg time path line circle timetz macaddr macaddr8 numerology inet date timestamp interval strings timestamptz point polygon multirangetypes box ok 22 + strings 825 ms ok 23 + md5 116 ms ok 24 + numerology 288 ms ok 25 + point 900 ms ok 26 + lseg 158 ms ok 27 + line 201 ms ok 28 + box 2645 ms ok 29 + path 175 ms ok 30 + polygon 1976 ms ok 31 + circle 199 ms ok 32 + date 350 ms ok 33 + time 155 ms ok 34 + timetz 236 ms ok 35 + timestamp 645 ms ok 36 + timestamptz 842 ms ok 37 + interval 663 ms ok 38 + inet 340 ms ok 39 + macaddr 234 ms ok 40 + macaddr8 277 ms ok 41 + multirangetypes 2547 ms # parallel group (13 tests): unicode comments misc_sanity xid tstypes expressions mvcc stats_export_import type_sanity geometry horology regex opr_sanity ok 42 + geometry 716 ms ok 43 + horology 1170 ms ok 44 + tstypes 381 ms ok 45 + regex 1173 ms ok 46 + type_sanity 656 ms ok 47 + opr_sanity 1591 ms ok 48 + misc_sanity 195 ms ok 49 + comments 93 ms ok 50 + expressions 428 ms ok 51 + unicode 81 ms ok 52 + xid 301 ms ok 53 + mvcc 464 ms ok 54 + stats_export_import 485 ms # parallel group (5 tests): copyselect copydml copy insert_conflict insert ok 55 + copy 485 ms ok 56 + copyselect 173 ms ok 57 + copydml 210 ms ok 58 + insert 1824 ms ok 59 + insert_conflict 760 ms # parallel group (7 tests): create_function_c create_operator create_schema create_type create_misc create_procedure create_table ok 60 + create_function_c 54 ms ok 61 + create_misc 249 ms ok 62 + create_operator 130 ms ok 63 + create_procedure 311 ms ok 64 + create_table 2523 ms ok 65 + create_type 239 ms ok 66 + create_schema 220 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 4731 ms ok 68 + create_index_spgist 4133 ms ok 69 + create_view 1735 ms ok 70 + index_including 1058 ms ok 71 + index_including_gist 1160 ms # parallel group (16 tests): errors create_cast roleattributes hash_func create_aggregate drop_if_exists typed_table create_am select create_function_sql infinite_recurse vacuum constraints updatable_views inherit triggers ok 72 + create_aggregate 387 ms ok 73 + create_function_sql 966 ms ok 74 + create_cast 209 ms ok 75 + constraints 4288 ms ok 76 + triggers 8640 ms ok 77 + select 912 ms ok 78 + inherit 7481 ms ok 79 + typed_table 638 ms ok 80 + vacuum 2115 ms ok 81 + drop_if_exists 435 ms ok 82 + updatable_views 5811 ms ok 83 + roleattributes 250 ms ok 84 + create_am 906 ms ok 85 + hash_func 310 ms ok 86 + errors 155 ms ok 87 + infinite_recurse 1343 ms ok 88 - sanity_check 457 ms # parallel group (20 tests): case select_having select_distinct_on delete select_implicit namespace select_into prepared_xacts random transactions portals select_distinct union arrays subselect hash_index update aggregates join btree_index ok 89 + select_into 788 ms ok 90 + select_distinct 1409 ms ok 91 + select_distinct_on 471 ms ok 92 + select_implicit 579 ms ok 93 + select_having 321 ms ok 94 + subselect 1818 ms ok 95 + union 1496 ms ok 96 + case 313 ms ok 97 + join 7402 ms ok 98 + aggregates 6463 ms ok 99 + transactions 1110 ms ok 100 + random 821 ms ok 101 + portals 1143 ms ok 102 + arrays 1743 ms ok 103 + btree_index 7965 ms ok 104 + hash_index 2137 ms ok 105 + update 3795 ms ok 106 + delete 481 ms ok 107 + namespace 631 ms ok 108 + prepared_xacts 796 ms # parallel group (20 tests): init_privs drop_operator security_label tablesample password lock object_address replica_identity collate identity matview spgist gist generated rowsecurity groupingsets gin join_hash brin privileges ok 109 + brin 16739 ms ok 110 + gin 5081 ms ok 111 + gist 4341 ms ok 112 + spgist 3821 ms ok 113 + privileges 18027 ms ok 114 + init_privs 142 ms ok 115 + security_label 308 ms ok 116 + collate 2513 ms ok 117 + matview 2644 ms ok 118 + lock 562 ms ok 119 + replica_identity 1564 ms ok 120 + rowsecurity 4640 ms ok 121 + object_address 700 ms ok 122 + tablesample 534 ms ok 123 + groupingsets 4986 ms ok 124 + drop_operator 276 ms ok 125 + password 540 ms ok 126 + identity 2615 ms ok 127 + generated 4424 ms ok 128 + join_hash 16685 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 268 ms ok 130 + brin_multi 1955 ms # parallel group (18 tests): async dbsize collate.utf8 tidscan alter_operator tid tsrf create_role misc_functions alter_generic sysviews tidrangescan incremental_sort merge create_table_like without_overlaps misc collate.icu.utf8 ok 131 + create_table_like 2305 ms ok 132 + alter_generic 648 ms ok 133 + alter_operator 330 ms ok 134 + misc 2954 ms ok 135 + async 87 ms ok 136 + dbsize 132 ms ok 137 + merge 2115 ms ok 138 + misc_functions 604 ms ok 139 + sysviews 720 ms ok 140 + tsrf 410 ms ok 141 + tid 357 ms ok 142 + tidscan 298 ms ok 143 + tidrangescan 918 ms ok 144 + collate.utf8 245 ms ok 145 + collate.icu.utf8 3109 ms ok 146 + incremental_sort 1775 ms ok 147 + create_role 569 ms ok 148 + without_overlaps 2512 ms # parallel group (7 tests): collate.windows.win1252 amutils psql_crosstab collate.linux.utf8 psql rules stats_ext ok 149 + rules 2280 ms ok 150 + psql 2219 ms ok 151 + psql_crosstab 152 ms ok 152 + amutils 122 ms ok 153 + stats_ext 3701 ms ok 154 + collate.linux.utf8 1942 ms ok 155 + collate.windows.win1252 53 ms ok 156 - select_parallel 4965 ms ok 157 - write_parallel 213 ms ok 158 - vacuum_parallel 187 ms # parallel group (2 tests): subscription publication ok 159 + publication 3009 ms ok 160 + subscription 132 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap tsdicts functional_deps equivclass guc dependency select_views bitmapops window indirect_toast cluster foreign_data tsearch foreign_key ok 161 + select_views 680 ms ok 162 + portals_p2 170 ms ok 163 + foreign_key 2700 ms ok 164 + cluster 1279 ms ok 165 + dependency 469 ms ok 166 + guc 419 ms ok 167 + bitmapops 1047 ms ok 168 + combocid 250 ms ok 169 + tsearch 2599 ms ok 170 + tsdicts 369 ms ok 171 + foreign_data 1812 ms ok 172 + window 1091 ms ok 173 + xmlmap 288 ms ok 174 + functional_deps 384 ms ok 175 + advisory_lock 227 ms ok 176 + indirect_toast 1160 ms ok 177 + equivclass 406 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson_jsontable sqljson sqljson_queryfuncs json jsonb_jsonpath jsonb ok 178 + json 337 ms ok 179 + jsonb 655 ms ok 180 + json_encoding 73 ms ok 181 + jsonpath 129 ms ok 182 + jsonpath_encoding 51 ms ok 183 + jsonb_jsonpath 337 ms ok 184 + sqljson 233 ms ok 185 + sqljson_queryfuncs 333 ms ok 186 + sqljson_jsontable 218 ms # parallel group (18 tests): prepare returning limit plancache conversion temp rowtypes copy2 sequence largeobject polymorphism truncate with domain rangefuncs plpgsql alter_table xml ok 187 + plancache 617 ms ok 188 + limit 553 ms ok 189 + plpgsql 2525 ms ok 190 + copy2 924 ms ok 191 + temp 774 ms ok 192 + domain 1473 ms ok 193 + rangefuncs 1596 ms ok 194 + prepare 190 ms ok 195 + conversion 692 ms ok 196 + truncate 1284 ms ok 197 + alter_table 3278 ms ok 198 + sequence 941 ms ok 199 + polymorphism 1099 ms ok 200 + rowtypes 861 ms ok 201 + returning 362 ms ok 202 + largeobject 1041 ms ok 203 + with 1447 ms ok 204 + xml 3437 ms # parallel group (15 tests): hash_part reloptions explain predicate partition_info compression partition_merge memoize partition_split partition_aggregate stats indexing tuplesort partition_join partition_prune ok 205 + partition_merge 1457 ms ok 206 + partition_split 1891 ms ok 207 + partition_join 3074 ms ok 208 + partition_prune 3495 ms ok 209 + reloptions 279 ms ok 210 + hash_part 219 ms ok 211 + indexing 2805 ms ok 212 + partition_aggregate 2437 ms ok 213 + partition_info 382 ms ok 214 + tuplesort 2899 ms ok 215 + explain 352 ms ok 216 + compression 893 ms ok 217 + memoize 1785 ms ok 218 + stats 2483 ms ok 219 + predicate 371 ms # parallel group (2 tests): oidjoins event_trigger ok 220 + oidjoins 409 ms ok 221 + event_trigger 481 ms ok 222 - event_trigger_login 56 ms ok 223 - fast_default 301 ms ok 224 - tablespace 661 ms 1..224 # All 224 tests passed. [10:41:31.579](83.615s) ok 5 - regression tests pass # Checking port 57367 # Found port 57367 Name: new_node Data directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/archives Connection string: port=57367 host=/tmp/GAFftgcfIv Log file: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_new_node.log [10:41:31.584](0.005s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=57366 host=/tmp/GAFftgcfIv dbname='postgres' -f /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_gPO9/dump1.sql ================================================================= ==38050==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55c5be53467c at pc 0x55c5be4c3bb2 bp 0x7ffc0340e760 sp 0x7ffc0340e758 READ of size 4 at 0x55c5be53467c thread T0 #0 0x55c5be4c3bb1 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:205 #1 0x55c5be502760 in pg_qsort_med3 ../../src/include/lib/sort_template.h:267 #2 0x55c5be502917 in pg_qsort ../../src/include/lib/sort_template.h:343 #3 0x55c5be4c82bb in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #4 0x55c5be4b849f in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #5 0x7fc605586d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x55c5be46dec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x55c5be53467c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x55c5be5345c0) of size 188 SUMMARY: AddressSanitizer: global-buffer-overflow /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:205 in DOTypeNameCompare Shadow bytes around the buggy address: 0x0ab937c9e870: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ab937c9e880: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ab937c9e890: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ab937c9e8a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ab937c9e8b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ab937c9e8c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ab937c9e8d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ab937c9e8e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ab937c9e8f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ab937c9e900: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ab937c9e910: f9 f9 f9 f9 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==38050==ABORTING Aborted (core dumped) pg_dumpall: error: pg_dump failed on database "regression", exiting [10:41:33.730](2.146s) not ok 6 - dump before running pg_upgrade [10:41:33.730](0.000s) [10:41:33.730](0.000s) # Failed test 'dump before running pg_upgrade' # at t/002_pg_upgrade.pl line 322. ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/does/not/exist/ -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/GAFftgcfIv -p 57366 -P 57367 --copy --check check for "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [10:41:33.899](0.169s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [10:41:33.899](0.000s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/GAFftgcfIv -p 57366 -P 57367 --copy --check [10:41:34.551](0.652s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [10:41:34.551](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [10:41:34.552](0.000s) ok 11 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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 38199 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/GAFftgcfIv -p 57366 -P 57367 --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* [10:41:36.428](1.876s) ok 12 - run of pg_upgrade --check for new instance [10:41:36.428](0.000s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin -s /tmp/GAFftgcfIv -p 57366 -P 57367 --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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. Failure, exiting [10:41:38.978](2.550s) not ok 14 - run of pg_upgrade for new instance [10:41:38.979](0.000s) [10:41:38.979](0.000s) # Failed test 'run of pg_upgrade for new instance' # at t/002_pg_upgrade.pl line 440. [10:41:38.979](0.000s) not ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success [10:41:38.979](0.000s) [10:41:38.979](0.000s) # Failed test 'pg_upgrade_output.d/ removed after pg_upgrade success' # at t/002_pg_upgrade.pl line 449. ### Starting node "new_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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 38787 [10:41:39.100](0.120s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16386.log === command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/GAFftgcfIv --port 57366 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_16386.custom" 'dbname='"'"'regression[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'"'"'' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16386.log" 2>&1 === EOF === [10:41:39.100](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16385.log === command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/GAFftgcfIv --port 57366 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_16385.custom" 'dbname='"'"'regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ'"'"'' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16385.log" 2>&1 === EOF === [10:41:39.100](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_internal.log === ----------------------------------------------------------------- pg_upgrade run on Wed Apr 24 10:41:36 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/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. === EOF === [10:41:39.100](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16387.log === command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/GAFftgcfIv --port 57366 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_16387.custom" 'dbname=regression' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16387.log" 2>&1 ================================================================= ==38733==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55e80eb0467c at pc 0x55e80ea93bb2 bp 0x7ffca09d71e0 sp 0x7ffca09d71d8 READ of size 4 at 0x55e80eb0467c thread T0 #0 0x55e80ea93bb1 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:205 #1 0x55e80ead2760 in pg_qsort_med3 ../../src/include/lib/sort_template.h:267 #2 0x55e80ead2917 in pg_qsort ../../src/include/lib/sort_template.h:343 #3 0x55e80ea982bb in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #4 0x55e80ea8849f in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #5 0x7f24c599ad09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x55e80ea3dec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x55e80eb0467c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x55e80eb045c0) of size 188 SUMMARY: AddressSanitizer: global-buffer-overflow /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:205 in DOTypeNameCompare Shadow bytes around the buggy address: 0x0abd81d58870: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0abd81d58880: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0abd81d58890: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0abd81d588a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0abd81d588b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0abd81d588c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0abd81d588d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0abd81d588e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0abd81d588f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0abd81d58900: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0abd81d58910: f9 f9 f9 f9 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==38733==ABORTING Aborted (core dumped) === EOF === [10:41:39.100](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_utility.log === ----------------------------------------------------------------- pg_upgrade run on Wed Apr 24 10:41:36 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dumpall" --host /tmp/GAFftgcfIv --port 57366 --username postgres --globals-only --quote-all-identifiers --binary-upgrade -f "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_globals.sql" >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_utility.log" 2>&1 === EOF === [10:41:39.100](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_1.log === command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/GAFftgcfIv --port 57366 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_1.custom" 'dbname=template1' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_1.log" 2>&1 === EOF === [10:41:39.100](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_5.log === command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/GAFftgcfIv --port 57366 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_5.custom" 'dbname=postgres' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_5.log" 2>&1 === EOF === [10:41:39.101](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16384.log === command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/GAFftgcfIv --port 57366 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_16384.custom" 'dbname='"'"'regression\\"\\  !"#$%&\'"'"'()*+,-\\\\"\\\\\\'"'"'' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16384.log" 2>&1 === EOF === [10:41:39.101](0.000s) # === contents of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_server.log === ----------------------------------------------------------------- pg_upgrade run on Wed Apr 24 10:41:36 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_ctl" -w -l "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_server.log" -D "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata" -o "-p 57366 -b -c max_slot_wal_keep_size=-1 -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/tmp/GAFftgcfIv'" start >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_server.log" 2>&1 waiting for server to start....2024-04-24 10:41:36.589 UTC [38517][postmaster] LOG: starting PostgreSQL 17devel on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit 2024-04-24 10:41:36.589 UTC [38517][postmaster] LOG: listening on Unix socket "/tmp/GAFftgcfIv/.s.PGSQL.57366" 2024-04-24 10:41:36.594 UTC [38523][startup] LOG: database system was shut down at 2024-04-24 10:41:36 UTC 2024-04-24 10:41:36.601 UTC [38517][postmaster] LOG: database system is ready to accept connections done server started 2024-04-24 10:41:36.672 UTC [38533][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.673 UTC [38533][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.673 UTC [38533][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.685 UTC [38533][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.687 UTC [38536][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.688 UTC [38536][client backend] [[unknown]][1/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.688 UTC [38536][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.690 UTC [38536][client backend] [002_pg_upgrade.pl][1/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.690 UTC [38536][client backend] [002_pg_upgrade.pl][1/3:0] LOG: statement: SELECT encoding, datlocprovider, datcollate, datctype, datlocale FROM pg_catalog.pg_database WHERE datname='template0' 2024-04-24 10:41:36.692 UTC [38536][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.694 UTC [38538][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.694 UTC [38538][client backend] [[unknown]][2/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.694 UTC [38538][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.696 UTC [38538][client backend] [002_pg_upgrade.pl][2/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.697 UTC [38538][client backend] [002_pg_upgrade.pl][2/3:0] LOG: statement: SELECT d.oid, d.datname, d.encoding, d.datcollate, d.datctype, datlocprovider, datlocale, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM pg_catalog.pg_database d LEFT OUTER JOIN pg_catalog.pg_tablespace t ON d.dattablespace = t.oid WHERE d.datallowconn = true ORDER BY 1 2024-04-24 10:41:36.700 UTC [38538][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.702 UTC [38540][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.703 UTC [38540][client backend] [[unknown]][3/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.703 UTC [38540][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.705 UTC [38540][client backend] [002_pg_upgrade.pl][3/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.705 UTC [38540][client backend] [002_pg_upgrade.pl][3/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-24 10:41:36.716 UTC [38540][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.717 UTC [38543][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.718 UTC [38543][client backend] [[unknown]][4/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.718 UTC [38543][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.720 UTC [38543][client backend] [002_pg_upgrade.pl][4/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.720 UTC [38543][client backend] [002_pg_upgrade.pl][4/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-24 10:41:36.724 UTC [38543][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.726 UTC [38545][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.727 UTC [38545][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.727 UTC [38545][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.729 UTC [38545][client backend] [002_pg_upgrade.pl][5/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.729 UTC [38545][client backend] [002_pg_upgrade.pl][5/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 1 2024-04-24 10:41:36.733 UTC [38545][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.734 UTC [38547][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.735 UTC [38547][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.735 UTC [38547][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.747 UTC [38547][client backend] [002_pg_upgrade.pl][6/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.748 UTC [38547][client backend] [002_pg_upgrade.pl][6/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-24 10:41:36.759 UTC [38547][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.024 user=postgres database=postgres host=[local] 2024-04-24 10:41:36.760 UTC [38551][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.761 UTC [38551][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.761 UTC [38551][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.763 UTC [38551][client backend] [002_pg_upgrade.pl][7/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.763 UTC [38551][client backend] [002_pg_upgrade.pl][7/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-24 10:41:36.768 UTC [38551][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2024-04-24 10:41:36.769 UTC [38553][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.770 UTC [38553][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.770 UTC [38553][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.772 UTC [38553][client backend] [002_pg_upgrade.pl][8/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.773 UTC [38553][client backend] [002_pg_upgrade.pl][8/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 5 2024-04-24 10:41:36.776 UTC [38553][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local] 2024-04-24 10:41:36.778 UTC [38554][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.778 UTC [38554][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.778 UTC [38554][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.790 UTC [38554][client backend] [002_pg_upgrade.pl][9/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.791 UTC [38554][client backend] [002_pg_upgrade.pl][9/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-24 10:41:36.801 UTC [38554][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.023 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:41:36.803 UTC [38558][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.804 UTC [38558][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.804 UTC [38558][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.805 UTC [38558][client backend] [002_pg_upgrade.pl][10/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.806 UTC [38558][client backend] [002_pg_upgrade.pl][10/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-24 10:41:36.810 UTC [38558][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:41:36.812 UTC [38560][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.812 UTC [38560][client backend] [[unknown]][11/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.812 UTC [38560][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.814 UTC [38560][client backend] [002_pg_upgrade.pl][11/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.815 UTC [38560][client backend] [002_pg_upgrade.pl][11/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16384 2024-04-24 10:41:36.818 UTC [38560][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:41:36.820 UTC [38561][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.821 UTC [38561][client backend] [[unknown]][12/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.821 UTC [38561][client backend] [[unknown]][12/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.832 UTC [38561][client backend] [002_pg_upgrade.pl][12/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.833 UTC [38561][client backend] [002_pg_upgrade.pl][12/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-24 10:41:36.844 UTC [38561][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.024 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:41:36.845 UTC [38566][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.846 UTC [38566][client backend] [[unknown]][13/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.846 UTC [38566][client backend] [[unknown]][13/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.848 UTC [38566][client backend] [002_pg_upgrade.pl][13/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.848 UTC [38566][client backend] [002_pg_upgrade.pl][13/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-24 10:41:36.853 UTC [38566][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:41:36.854 UTC [38568][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.855 UTC [38568][client backend] [[unknown]][14/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.855 UTC [38568][client backend] [[unknown]][14/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.857 UTC [38568][client backend] [002_pg_upgrade.pl][14/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.857 UTC [38568][client backend] [002_pg_upgrade.pl][14/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16385 2024-04-24 10:41:36.861 UTC [38568][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:41:36.862 UTC [38569][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.863 UTC [38569][client backend] [[unknown]][15/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.863 UTC [38569][client backend] [[unknown]][15/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.875 UTC [38569][client backend] [002_pg_upgrade.pl][15/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.876 UTC [38569][client backend] [002_pg_upgrade.pl][15/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-24 10:41:36.886 UTC [38569][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.024 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:41:36.888 UTC [38573][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.889 UTC [38573][client backend] [[unknown]][16/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.889 UTC [38573][client backend] [[unknown]][16/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.890 UTC [38573][client backend] [002_pg_upgrade.pl][16/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.891 UTC [38573][client backend] [002_pg_upgrade.pl][16/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-24 10:41:36.895 UTC [38573][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:41:36.896 UTC [38576][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.897 UTC [38576][client backend] [[unknown]][17/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.897 UTC [38576][client backend] [[unknown]][17/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.899 UTC [38576][client backend] [002_pg_upgrade.pl][17/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.900 UTC [38576][client backend] [002_pg_upgrade.pl][17/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16386 2024-04-24 10:41:36.903 UTC [38576][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:41:36.905 UTC [38578][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.906 UTC [38578][client backend] [[unknown]][18/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.906 UTC [38578][client backend] [[unknown]][18/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.918 UTC [38578][client backend] [002_pg_upgrade.pl][18/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.919 UTC [38578][client backend] [002_pg_upgrade.pl][18/3:0] LOG: statement: WITH regular_heap (reloid, indtable, toastheap) AS ( SELECT c.oid, 0::oid, 0::oid FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE relkind IN ('r', 'm') AND ((n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'binary_upgrade', 'pg_toast') AND c.oid >= 16384::pg_catalog.oid) OR (n.nspname = 'pg_catalog' AND relname IN ('pg_largeobject') ))), toast_heap (reloid, indtable, toastheap) AS ( SELECT c.reltoastrelid, 0::oid, c.oid FROM regular_heap JOIN pg_catalog.pg_class c ON regular_heap.reloid = c.oid WHERE c.reltoastrelid != 0), all_index (reloid, indtable, toastheap) AS ( SELECT indexrelid, indrelid, 0::oid FROM pg_catalog.pg_index WHERE indisvalid AND indisready AND indrelid IN (SELECT reloid FROM regular_heap UNION ALL SELECT reloid FROM toast_heap)) SELECT all_rels.*, n.nspname, c.relname, c.relfilenode, c.reltablespace, pg_catalog.pg_tablespace_location(t.oid) AS spclocation FROM (SELECT * FROM regular_heap UNION ALL SELECT * FROM toast_heap UNION ALL SELECT * FROM all_index) all_rels JOIN pg_catalog.pg_class c ON all_rels.reloid = c.oid JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid LEFT OUTER JOIN pg_catalog.pg_tablespace t ON c.reltablespace = t.oid ORDER BY 1; 2024-04-24 10:41:36.958 UTC [38578][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.053 user=postgres database=regression host=[local] 2024-04-24 10:41:36.960 UTC [38585][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.961 UTC [38585][client backend] [[unknown]][19/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.961 UTC [38585][client backend] [[unknown]][19/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.963 UTC [38585][client backend] [002_pg_upgrade.pl][19/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.964 UTC [38585][client backend] [002_pg_upgrade.pl][19/3:0] LOG: statement: SELECT slot_name, plugin, two_phase, failover, (CASE WHEN invalidation_reason IS NOT NULL THEN FALSE ELSE (SELECT pg_catalog.binary_upgrade_logical_slot_has_caught_up(slot_name)) END) as caught_up, invalidation_reason IS NOT NULL as invalid FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND database = current_database() AND temporary IS FALSE; 2024-04-24 10:41:36.968 UTC [38585][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=regression host=[local] 2024-04-24 10:41:36.970 UTC [38587][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.971 UTC [38587][client backend] [[unknown]][20/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.971 UTC [38587][client backend] [[unknown]][20/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.973 UTC [38587][client backend] [002_pg_upgrade.pl][20/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.973 UTC [38587][client backend] [002_pg_upgrade.pl][20/3:0] LOG: statement: SELECT count(*) FROM pg_catalog.pg_subscription WHERE subdbid = 16387 2024-04-24 10:41:36.980 UTC [38587][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=regression host=[local] 2024-04-24 10:41:36.980 UTC [38589][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.981 UTC [38589][client backend] [[unknown]][21/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.981 UTC [38589][client backend] [[unknown]][21/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.983 UTC [38589][client backend] [002_pg_upgrade.pl][21/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.983 UTC [38589][client backend] [002_pg_upgrade.pl][21/3:0] LOG: statement: SELECT pg_catalog.pg_tablespace_location(oid) AS spclocation FROM pg_catalog.pg_tablespace WHERE spcname != 'pg_default' AND spcname != 'pg_global' 2024-04-24 10:41:36.984 UTC [38589][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.985 UTC [38591][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.986 UTC [38591][client backend] [[unknown]][22/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.986 UTC [38591][client backend] [[unknown]][22/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.988 UTC [38591][client backend] [002_pg_upgrade.pl][22/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.988 UTC [38591][client backend] [002_pg_upgrade.pl][22/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-24 10:41:36.993 UTC [38591][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=template1 host=[local] 2024-04-24 10:41:36.994 UTC [38593][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:36.995 UTC [38593][client backend] [[unknown]][23/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:36.995 UTC [38593][client backend] [[unknown]][23/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:36.997 UTC [38593][client backend] [002_pg_upgrade.pl][23/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:36.997 UTC [38593][client backend] [002_pg_upgrade.pl][23/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-24 10:41:37.002 UTC [38593][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=postgres host=[local] 2024-04-24 10:41:37.003 UTC [38594][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.004 UTC [38594][client backend] [[unknown]][24/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.004 UTC [38594][client backend] [[unknown]][24/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.006 UTC [38594][client backend] [002_pg_upgrade.pl][24/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.006 UTC [38594][client backend] [002_pg_upgrade.pl][24/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-24 10:41:37.011 UTC [38594][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:41:37.012 UTC [38595][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.013 UTC [38595][client backend] [[unknown]][25/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.013 UTC [38595][client backend] [[unknown]][25/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.014 UTC [38595][client backend] [002_pg_upgrade.pl][25/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.015 UTC [38595][client backend] [002_pg_upgrade.pl][25/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-24 10:41:37.020 UTC [38595][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:41:37.021 UTC [38596][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.022 UTC [38596][client backend] [[unknown]][26/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.022 UTC [38596][client backend] [[unknown]][26/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.024 UTC [38596][client backend] [002_pg_upgrade.pl][26/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.024 UTC [38596][client backend] [002_pg_upgrade.pl][26/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-24 10:41:37.029 UTC [38596][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:41:37.030 UTC [38597][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.031 UTC [38597][client backend] [[unknown]][27/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.031 UTC [38597][client backend] [[unknown]][27/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.033 UTC [38597][client backend] [002_pg_upgrade.pl][27/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.034 UTC [38597][client backend] [002_pg_upgrade.pl][27/3:0] LOG: statement: SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = 13 AND probin IS NOT NULL AND oid >= 16384; 2024-04-24 10:41:37.039 UTC [38597][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=regression host=[local] 2024-04-24 10:41:37.041 UTC [38598][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.042 UTC [38598][client backend] [[unknown]][28/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.042 UTC [38598][client backend] [[unknown]][28/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.043 UTC [38598][client backend] [002_pg_upgrade.pl][28/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.044 UTC [38598][client backend] [002_pg_upgrade.pl][28/3:0] LOG: statement: SELECT rolsuper, oid FROM pg_catalog.pg_roles WHERE rolname = current_user AND rolname !~ '^pg_' 2024-04-24 10:41:37.047 UTC [38598][client backend] [002_pg_upgrade.pl][28/4:0] LOG: statement: SELECT COUNT(*) FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_' 2024-04-24 10:41:37.048 UTC [38598][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.007 user=postgres database=template1 host=[local] 2024-04-24 10:41:37.050 UTC [38599][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.051 UTC [38599][client backend] [[unknown]][29/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.051 UTC [38599][client backend] [[unknown]][29/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.052 UTC [38599][client backend] [002_pg_upgrade.pl][29/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.053 UTC [38599][client backend] [002_pg_upgrade.pl][29/3:0] LOG: statement: SELECT datname, datallowconn FROM pg_catalog.pg_database 2024-04-24 10:41:37.054 UTC [38599][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=template1 host=[local] 2024-04-24 10:41:37.055 UTC [38600][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.056 UTC [38600][client backend] [[unknown]][30/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.056 UTC [38600][client backend] [[unknown]][30/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.058 UTC [38600][client backend] [002_pg_upgrade.pl][30/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.058 UTC [38600][client backend] [002_pg_upgrade.pl][30/3:0] LOG: statement: SELECT * FROM pg_catalog.pg_prepared_xacts 2024-04-24 10:41:37.062 UTC [38600][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=template1 host=[local] 2024-04-24 10:41:37.064 UTC [38601][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.065 UTC [38601][client backend] [[unknown]][31/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.065 UTC [38601][client backend] [[unknown]][31/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.066 UTC [38601][client backend] [002_pg_upgrade.pl][31/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.067 UTC [38601][client backend] [002_pg_upgrade.pl][31/3:0] LOG: statement: SELECT d.datname, s.subname FROM pg_catalog.pg_subscription s LEFT OUTER JOIN pg_catalog.pg_replication_origin o ON o.roname = 'pg_' || s.oid INNER JOIN pg_catalog.pg_database d ON d.oid = s.subdbid WHERE o.roname iS NULL; 2024-04-24 10:41:37.072 UTC [38601][client backend] [002_pg_upgrade.pl][31/4:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-24 10:41:37.075 UTC [38601][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=template1 host=[local] 2024-04-24 10:41:37.076 UTC [38602][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.077 UTC [38602][client backend] [[unknown]][32/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.077 UTC [38602][client backend] [[unknown]][32/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.079 UTC [38602][client backend] [002_pg_upgrade.pl][32/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.079 UTC [38602][client backend] [002_pg_upgrade.pl][32/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-24 10:41:37.084 UTC [38602][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local] 2024-04-24 10:41:37.086 UTC [38603][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.087 UTC [38603][client backend] [[unknown]][33/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.087 UTC [38603][client backend] [[unknown]][33/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.088 UTC [38603][client backend] [002_pg_upgrade.pl][33/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.089 UTC [38603][client backend] [002_pg_upgrade.pl][33/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-24 10:41:37.094 UTC [38603][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:41:37.095 UTC [38604][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.096 UTC [38604][client backend] [[unknown]][34/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.096 UTC [38604][client backend] [[unknown]][34/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.098 UTC [38604][client backend] [002_pg_upgrade.pl][34/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.099 UTC [38604][client backend] [002_pg_upgrade.pl][34/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-24 10:41:37.104 UTC [38604][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:41:37.105 UTC [38605][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.106 UTC [38605][client backend] [[unknown]][35/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.106 UTC [38605][client backend] [[unknown]][35/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.108 UTC [38605][client backend] [002_pg_upgrade.pl][35/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.108 UTC [38605][client backend] [002_pg_upgrade.pl][35/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-24 10:41:37.113 UTC [38605][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:41:37.115 UTC [38606][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.116 UTC [38606][client backend] [[unknown]][36/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.116 UTC [38606][client backend] [[unknown]][36/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.118 UTC [38606][client backend] [002_pg_upgrade.pl][36/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.119 UTC [38606][client backend] [002_pg_upgrade.pl][36/3:0] LOG: statement: SELECT r.srsubstate, s.subname, n.nspname, c.relname FROM pg_catalog.pg_subscription_rel r LEFT JOIN pg_catalog.pg_subscription s ON r.srsubid = s.oid LEFT JOIN pg_catalog.pg_class c ON r.srrelid = c.oid LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE r.srsubstate NOT IN ('i', 'r') ORDER BY s.subname 2024-04-24 10:41:37.124 UTC [38606][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=regression host=[local] 2024-04-24 10:41:37.125 UTC [38607][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.126 UTC [38607][client backend] [[unknown]][37/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.126 UTC [38607][client backend] [[unknown]][37/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.128 UTC [38607][client backend] [002_pg_upgrade.pl][37/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.129 UTC [38607][client backend] [002_pg_upgrade.pl][37/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.156 UTC [38607][client backend] [002_pg_upgrade.pl][37/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.171 UTC [38607][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.045 user=postgres database=template1 host=[local] 2024-04-24 10:41:37.173 UTC [38608][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.173 UTC [38608][client backend] [[unknown]][38/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.174 UTC [38608][client backend] [[unknown]][38/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.175 UTC [38608][client backend] [002_pg_upgrade.pl][38/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.176 UTC [38608][client backend] [002_pg_upgrade.pl][38/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.204 UTC [38608][client backend] [002_pg_upgrade.pl][38/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.218 UTC [38608][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.045 user=postgres database=postgres host=[local] 2024-04-24 10:41:37.219 UTC [38612][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.220 UTC [38612][client backend] [[unknown]][39/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.220 UTC [38612][client backend] [[unknown]][39/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.222 UTC [38612][client backend] [002_pg_upgrade.pl][39/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.223 UTC [38612][client backend] [002_pg_upgrade.pl][39/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.251 UTC [38612][client backend] [002_pg_upgrade.pl][39/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.266 UTC [38612][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.046 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:41:37.267 UTC [38619][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.268 UTC [38619][client backend] [[unknown]][40/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.268 UTC [38619][client backend] [[unknown]][40/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.270 UTC [38619][client backend] [002_pg_upgrade.pl][40/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.271 UTC [38619][client backend] [002_pg_upgrade.pl][40/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.299 UTC [38619][client backend] [002_pg_upgrade.pl][40/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.313 UTC [38619][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.046 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:41:37.315 UTC [38625][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.316 UTC [38625][client backend] [[unknown]][41/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.316 UTC [38625][client backend] [[unknown]][41/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.317 UTC [38625][client backend] [002_pg_upgrade.pl][41/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.318 UTC [38625][client backend] [002_pg_upgrade.pl][41/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.349 UTC [38625][client backend] [002_pg_upgrade.pl][41/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.363 UTC [38625][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.048 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:41:37.365 UTC [38631][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.366 UTC [38631][client backend] [[unknown]][42/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.366 UTC [38631][client backend] [[unknown]][42/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.368 UTC [38631][client backend] [002_pg_upgrade.pl][42/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.369 UTC [38631][client backend] [002_pg_upgrade.pl][42/3:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT t.oid FROM pg_catalog.pg_type t LEFT JOIN pg_catalog.pg_namespace n ON t.typnamespace = n.oid WHERE typtype = 'c' AND (t.oid < 16384 OR nspname = 'information_schema') UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.576 UTC [38631][client backend] [002_pg_upgrade.pl][42/4:0] LOG: statement: WITH RECURSIVE oids AS ( SELECT oid FROM pg_catalog.pg_type t WHERE t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'pg_catalog') AND t.typname IN ( 'regcollation', 'regconfig', 'regdictionary', 'regnamespace', 'regoper', 'regoperator', 'regproc', 'regprocedure' ) UNION ALL SELECT * FROM ( WITH x AS (SELECT oid FROM oids) SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typbasetype = x.oid AND typtype = 'd' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, x WHERE typelem = x.oid AND typtype = 'b' UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_class c, pg_catalog.pg_attribute a, x WHERE t.typtype = 'c' AND t.oid = c.reltype AND c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid = x.oid UNION ALL SELECT t.oid FROM pg_catalog.pg_type t, pg_catalog.pg_range r, x WHERE t.typtype = 'r' AND r.rngtypid = t.oid AND r.rngsubtype = x.oid ) foo ) SELECT n.nspname, c.relname, a.attname FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a WHERE c.oid = a.attrelid AND NOT a.attisdropped AND a.atttypid IN (SELECT oid FROM oids) AND c.relkind IN ('r', 'm', 'i') AND c.relnamespace = n.oid AND n.nspname !~ '^pg_temp_' AND n.nspname !~ '^pg_toast_temp_' AND n.nspname NOT IN ('pg_catalog', 'information_schema') 2024-04-24 10:41:37.626 UTC [38631][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.261 user=postgres database=regression host=[local] 2024-04-24 10:41:37.642 UTC [38662][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.643 UTC [38662][client backend] [[unknown]][43/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.643 UTC [38662][client backend] [[unknown]][43/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.645 UTC [38662][client backend] [002_pg_upgrade.pl][43/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.646 UTC [38662][client backend] [002_pg_upgrade.pl][43/3:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:41:37.646 UTC [38662][client backend] [002_pg_upgrade.pl][43/4:0] LOG: statement: SELECT oid, rolname, rolsuper, rolinherit, rolcreaterole, rolcreatedb, rolcanlogin, rolconnlimit, rolpassword, rolvaliduntil, rolreplication, rolbypassrls, pg_catalog.shobj_description(oid, 'pg_authid') as rolcomment, rolname = current_user AS is_current_user FROM pg_authid WHERE rolname !~ '^pg_' ORDER BY 2 2024-04-24 10:41:37.650 UTC [38662][client backend] [002_pg_upgrade.pl][43/5:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_authid'::pg_catalog.regclass AND objoid = '10' 2024-04-24 10:41:37.653 UTC [38662][client backend] [002_pg_upgrade.pl][43/6:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setdatabase = 0 AND setrole = (SELECT oid FROM pg_authid WHERE rolname = 'postgres') 2024-04-24 10:41:37.654 UTC [38662][client backend] [002_pg_upgrade.pl][43/7:0] LOG: statement: SELECT ur.rolname AS role, um.rolname AS member, ug.oid AS grantorid, ug.rolname AS grantor, a.admin_option, a.inherit_option, a.set_option FROM pg_auth_members a LEFT JOIN pg_authid ur on ur.oid = a.roleid LEFT JOIN pg_authid um on um.oid = a.member LEFT JOIN pg_authid ug on ug.oid = a.grantor WHERE NOT (ur.rolname ~ '^pg_' AND um.rolname ~ '^pg_')ORDER BY 1,2,4 2024-04-24 10:41:37.656 UTC [38662][client backend] [002_pg_upgrade.pl][43/8:0] LOG: statement: SELECT parname, pg_catalog.pg_get_userbyid(10) AS parowner, paracl, pg_catalog.acldefault('p', 10) AS acldefault FROM pg_catalog.pg_parameter_acl ORDER BY 1 2024-04-24 10:41:37.658 UTC [38662][client backend] [002_pg_upgrade.pl][43/9:0] LOG: statement: SELECT oid, spcname, pg_catalog.pg_get_userbyid(spcowner) AS spcowner, pg_catalog.pg_tablespace_location(oid), spcacl, acldefault('t', spcowner) AS acldefault, array_to_string(spcoptions, ', '),pg_catalog.shobj_description(oid, 'pg_tablespace') FROM pg_catalog.pg_tablespace WHERE spcname !~ '^pg_' ORDER BY 1 2024-04-24 10:41:37.659 UTC [38662][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.016 user=postgres database=postgres host=[local] 2024-04-24 10:41:37.673 UTC [38669][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.674 UTC [38669][client backend] [[unknown]][44/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.674 UTC [38669][client backend] [[unknown]][44/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.676 UTC [38669][client backend] [002_pg_upgrade.pl][44/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.676 UTC [38669][client backend] [002_pg_upgrade.pl][44/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:41:37.677 UTC [38669][client backend] [002_pg_upgrade.pl][44/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.677 UTC [38669][client backend] [002_pg_upgrade.pl][44/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:41:37.677 UTC [38669][client backend] [002_pg_upgrade.pl][44/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:41:37.677 UTC [38669][client backend] [002_pg_upgrade.pl][44/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:41:37.677 UTC [38669][client backend] [002_pg_upgrade.pl][44/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:41:37.677 UTC [38669][client backend] [002_pg_upgrade.pl][44/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:41:37.677 UTC [38669][client backend] [002_pg_upgrade.pl][44/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:41:37.678 UTC [38669][client backend] [002_pg_upgrade.pl][44/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:41:37.678 UTC [38669][client backend] [002_pg_upgrade.pl][44/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:41:37.678 UTC [38669][client backend] [002_pg_upgrade.pl][44/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:41:37.678 UTC [38669][client backend] [002_pg_upgrade.pl][44/14:0] LOG: statement: SET row_security = off 2024-04-24 10:41:37.678 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: BEGIN 2024-04-24 10:41:37.678 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:41:37.678 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-24 10:41:37.681 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-24 10:41:37.683 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-24 10:41:37.685 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-24 10:41:37.686 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-24 10:41:37.695 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-24 10:41:37.707 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-24 10:41:37.714 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-24 10:41:37.715 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-24 10:41:37.717 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-24 10:41:37.720 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-24 10:41:37.720 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:41:37.721 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:41:37.722 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-24 10:41:37.723 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-24 10:41:37.724 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-24 10:41:37.724 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-24 10:41:37.725 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-24 10:41:37.727 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-24 10:41:37.727 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-24 10:41:37.728 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:41:37.731 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:41:37.732 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-24 10:41:37.734 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-24 10:41:37.735 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:41:37.735 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-24 10:41:37.736 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-24 10:41:37.738 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-24 10:41:37.743 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-24 10:41:37.749 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-24 10:41:37.750 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-24 10:41:37.751 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-24 10:41:37.752 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-24 10:41:37.754 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-24 10:41:37.756 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-24 10:41:37.757 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-24 10:41:37.758 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-24 10:41:37.759 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-24 10:41:37.761 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-24 10:41:37.761 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-24 10:41:37.762 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-24 10:41:37.768 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-24 10:41:37.769 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-24 10:41:37.770 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:37.785 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:37.790 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:41:37.790 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-24 10:41:37.792 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '1' 2024-04-24 10:41:37.793 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '1'::oid 2024-04-24 10:41:37.794 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '1'::oid 2024-04-24 10:41:37.794 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-24 10:41:37.796 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:37.797 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:41:37.797 UTC [38669][client backend] [002_pg_upgrade.pl][44/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:37.801 UTC [38669][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.127 user=postgres database=template1 host=[local] 2024-04-24 10:41:37.811 UTC [38688][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.812 UTC [38688][client backend] [[unknown]][45/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.812 UTC [38688][client backend] [[unknown]][45/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.814 UTC [38688][client backend] [002_pg_upgrade.pl][45/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.815 UTC [38688][client backend] [002_pg_upgrade.pl][45/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:41:37.815 UTC [38688][client backend] [002_pg_upgrade.pl][45/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.815 UTC [38688][client backend] [002_pg_upgrade.pl][45/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:41:37.815 UTC [38688][client backend] [002_pg_upgrade.pl][45/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/14:0] LOG: statement: SET row_security = off 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: BEGIN 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:41:37.816 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-24 10:41:37.819 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-24 10:41:37.821 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-24 10:41:37.826 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-24 10:41:37.827 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-24 10:41:37.838 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-24 10:41:37.851 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-24 10:41:37.858 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-24 10:41:37.859 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-24 10:41:37.862 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-24 10:41:37.864 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-24 10:41:37.865 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:41:37.866 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:41:37.867 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-24 10:41:37.868 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-24 10:41:37.868 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-24 10:41:37.869 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-24 10:41:37.870 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-24 10:41:37.871 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-24 10:41:37.872 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-24 10:41:37.873 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:41:37.876 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:41:37.877 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-24 10:41:37.879 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-24 10:41:37.879 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:41:37.880 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-24 10:41:37.881 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-24 10:41:37.883 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-24 10:41:37.888 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-24 10:41:37.894 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-24 10:41:37.894 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-24 10:41:37.895 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-24 10:41:37.897 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-24 10:41:37.898 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-24 10:41:37.900 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-24 10:41:37.901 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-24 10:41:37.902 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-24 10:41:37.903 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-24 10:41:37.905 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-24 10:41:37.905 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-24 10:41:37.906 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-24 10:41:37.912 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-24 10:41:37.913 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-24 10:41:37.914 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:37.930 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:37.936 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:41:37.936 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-24 10:41:37.939 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '5' 2024-04-24 10:41:37.939 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '5'::oid 2024-04-24 10:41:37.940 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '5'::oid 2024-04-24 10:41:37.941 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-24 10:41:37.943 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:37.943 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:41:37.943 UTC [38688][client backend] [002_pg_upgrade.pl][45/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:37.955 UTC [38688][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.143 user=postgres database=postgres host=[local] 2024-04-24 10:41:37.973 UTC [38708][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:37.974 UTC [38708][client backend] [[unknown]][46/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:37.974 UTC [38708][client backend] [[unknown]][46/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:41:37.977 UTC [38708][client backend] [002_pg_upgrade.pl][46/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.977 UTC [38708][client backend] [002_pg_upgrade.pl][46/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:41:37.978 UTC [38708][client backend] [002_pg_upgrade.pl][46/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:37.978 UTC [38708][client backend] [002_pg_upgrade.pl][46/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:41:37.978 UTC [38708][client backend] [002_pg_upgrade.pl][46/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/14:0] LOG: statement: SET row_security = off 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: BEGIN 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:41:37.979 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-24 10:41:37.983 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-24 10:41:37.984 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-24 10:41:37.987 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-24 10:41:37.988 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-24 10:41:37.997 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-24 10:41:38.008 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-24 10:41:38.015 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-24 10:41:38.016 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-24 10:41:38.018 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-24 10:41:38.020 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-24 10:41:38.021 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:41:38.022 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:41:38.023 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-24 10:41:38.024 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-24 10:41:38.024 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-24 10:41:38.025 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-24 10:41:38.026 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-24 10:41:38.027 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-24 10:41:38.028 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-24 10:41:38.029 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:41:38.032 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:41:38.033 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-24 10:41:38.034 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-24 10:41:38.035 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:41:38.036 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-24 10:41:38.036 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-24 10:41:38.038 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-24 10:41:38.043 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-24 10:41:38.049 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-24 10:41:38.049 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-24 10:41:38.050 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-24 10:41:38.051 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-24 10:41:38.053 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-24 10:41:38.055 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-24 10:41:38.056 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-24 10:41:38.057 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-24 10:41:38.057 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-24 10:41:38.059 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-24 10:41:38.060 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-24 10:41:38.060 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-24 10:41:38.066 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-24 10:41:38.067 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-24 10:41:38.068 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.083 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.087 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:41:38.088 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-24 10:41:38.090 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '16384' 2024-04-24 10:41:38.091 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '16384'::oid 2024-04-24 10:41:38.091 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '16384'::oid 2024-04-24 10:41:38.092 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-24 10:41:38.093 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:38.094 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:41:38.094 UTC [38708][client backend] [002_pg_upgrade.pl][46/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:38.102 UTC [38708][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.129 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:41:38.113 UTC [38714][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:38.114 UTC [38714][client backend] [[unknown]][47/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:38.114 UTC [38714][client backend] [[unknown]][47/1:0] LOG: connection authorized: user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ application_name=002_pg_upgrade.pl 2024-04-24 10:41:38.115 UTC [38714][client backend] [002_pg_upgrade.pl][47/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:38.116 UTC [38714][client backend] [002_pg_upgrade.pl][47/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:41:38.116 UTC [38714][client backend] [002_pg_upgrade.pl][47/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:41:38.117 UTC [38714][client backend] [002_pg_upgrade.pl][47/14:0] LOG: statement: SET row_security = off 2024-04-24 10:41:38.118 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: BEGIN 2024-04-24 10:41:38.118 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:41:38.118 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-24 10:41:38.121 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-24 10:41:38.122 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-24 10:41:38.125 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-24 10:41:38.126 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-24 10:41:38.135 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-24 10:41:38.147 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-24 10:41:38.153 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-24 10:41:38.154 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-24 10:41:38.157 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-24 10:41:38.159 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-24 10:41:38.160 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:41:38.161 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:41:38.161 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-24 10:41:38.162 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-24 10:41:38.163 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-24 10:41:38.164 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-24 10:41:38.164 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-24 10:41:38.166 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-24 10:41:38.166 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-24 10:41:38.167 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:41:38.170 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:41:38.171 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-24 10:41:38.173 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-24 10:41:38.173 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:41:38.174 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-24 10:41:38.175 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-24 10:41:38.176 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-24 10:41:38.182 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-24 10:41:38.187 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-24 10:41:38.187 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-24 10:41:38.188 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-24 10:41:38.189 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-24 10:41:38.190 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-24 10:41:38.193 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-24 10:41:38.193 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-24 10:41:38.195 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-24 10:41:38.195 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-24 10:41:38.197 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-24 10:41:38.197 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-24 10:41:38.198 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-24 10:41:38.203 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-24 10:41:38.205 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-24 10:41:38.206 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.220 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.224 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:41:38.225 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-24 10:41:38.227 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '16385' 2024-04-24 10:41:38.228 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '16385'::oid 2024-04-24 10:41:38.228 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '16385'::oid 2024-04-24 10:41:38.229 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-24 10:41:38.230 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:38.231 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:41:38.231 UTC [38714][client backend] [002_pg_upgrade.pl][47/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:38.239 UTC [38714][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.126 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:41:38.250 UTC [38720][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:38.251 UTC [38720][client backend] [[unknown]][48/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:38.251 UTC [38720][client backend] [[unknown]][48/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:41:38.253 UTC [38720][client backend] [002_pg_upgrade.pl][48/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:38.253 UTC [38720][client backend] [002_pg_upgrade.pl][48/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:41:38.254 UTC [38720][client backend] [002_pg_upgrade.pl][48/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:41:38.255 UTC [38720][client backend] [002_pg_upgrade.pl][48/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:41:38.255 UTC [38720][client backend] [002_pg_upgrade.pl][48/14:0] LOG: statement: SET row_security = off 2024-04-24 10:41:38.256 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: BEGIN 2024-04-24 10:41:38.256 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:41:38.256 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-24 10:41:38.259 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-24 10:41:38.260 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-24 10:41:38.263 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-24 10:41:38.264 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-24 10:41:38.273 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-24 10:41:38.285 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-24 10:41:38.291 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-24 10:41:38.292 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-24 10:41:38.294 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-24 10:41:38.297 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-24 10:41:38.298 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:41:38.298 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:41:38.299 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-24 10:41:38.300 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-24 10:41:38.301 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-24 10:41:38.302 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-24 10:41:38.302 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-24 10:41:38.304 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-24 10:41:38.304 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-24 10:41:38.305 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:41:38.308 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:41:38.309 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-24 10:41:38.311 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-24 10:41:38.311 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:41:38.312 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-24 10:41:38.313 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-24 10:41:38.314 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT a.attrelid, a.attnum, a.attname, a.attstattarget, a.attstorage, t.typstorage, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid, a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation, pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(option_name) || ' ' || pg_catalog.quote_literal(option_value) FROM pg_catalog.pg_options_to_table(attfdwoptions) ORDER BY option_name), E', ') AS attfdwoptions, CASE WHEN co.conname IS NOT NULL THEN co.conname WHEN a.attnotnull AND copk.conname IS NULL THEN '' ELSE NULL END AS notnull_name, CASE WHEN co.conname IS NOT NULL THEN co.connoinherit WHEN a.attnotnull THEN false ELSE NULL END AS notnull_noinherit, copk.conname IS NOT NULL as notnull_is_pk, CASE WHEN co.conname IS NOT NULL THEN coalesce(NOT co.conislocal, true) ELSE false END as notnull_inh, a.attcompression AS attcompression, a.attidentity, CASE WHEN a.atthasmissing AND NOT a.attisdropped THEN a.attmissingval ELSE null END AS attmissingval, a.attgenerated FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-24 10:41:38.320 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT t.tableoid, t.oid, i.indrelid, t.relname AS indexname, pg_catalog.pg_get_indexdef(i.indexrelid) AS indexdef, i.indkey, i.indisclustered, c.contype, c.conname, c.condeferrable, c.condeferred, c.tableoid AS contableoid, c.oid AS conoid, pg_catalog.pg_get_constraintdef(c.oid, false) AS condef, (SELECT spcname FROM pg_catalog.pg_tablespace s WHERE s.oid = t.reltablespace) AS tablespace, t.reloptions AS indreloptions, i.indisreplident, inh.inhparent AS parentidx, i.indnkeyatts AS indnkeyatts, i.indnatts AS indnatts, (SELECT pg_catalog.array_agg(attnum ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatcols, (SELECT pg_catalog.array_agg(attstattarget ORDER BY attnum) FROM pg_catalog.pg_attribute WHERE attrelid = i.indexrelid AND attstattarget >= 0) AS indstatvals, i.indnullsnotdistinct, c.conperiod FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-24 10:41:38.325 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-24 10:41:38.326 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-24 10:41:38.327 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT t.tgrelid, t.tgname, pg_catalog.pg_get_triggerdef(t.oid, false) AS tgdef, t.tgenabled, t.tableoid, t.oid, t.tgparentid <> 0 AS tgispartition FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-24 10:41:38.328 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-24 10:41:38.329 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT pol.oid, pol.tableoid, pol.polrelid, pol.polname, pol.polcmd, pol.polpermissive, CASE WHEN pol.polroles = '{0}' THEN NULL ELSE pg_catalog.array_to_string(ARRAY(SELECT pg_catalog.quote_ident(rolname) from pg_catalog.pg_roles WHERE oid = ANY(pol.polroles)), ', ') END AS polroles, pg_catalog.pg_get_expr(pol.polqual, pol.polrelid) AS polqual, pg_catalog.pg_get_expr(pol.polwithcheck, pol.polrelid) AS polwithcheck FROM unnest('{}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-24 10:41:38.331 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-24 10:41:38.332 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-24 10:41:38.334 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-24 10:41:38.334 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-24 10:41:38.336 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-24 10:41:38.336 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-24 10:41:38.337 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-24 10:41:38.342 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-24 10:41:38.344 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-24 10:41:38.344 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.359 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.363 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:41:38.364 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, datname, datdba, pg_encoding_to_char(encoding) AS encoding, datcollate, datctype, datfrozenxid, datacl, acldefault('d', datdba) AS acldefault, datistemplate, datconnlimit, datminmxid, datlocprovider, datlocale, datcollversion, daticurules, (SELECT spcname FROM pg_tablespace t WHERE t.oid = dattablespace) AS tablespace, shobj_description(oid, 'pg_database') AS description FROM pg_database WHERE datname = current_database() 2024-04-24 10:41:38.366 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT provider, label FROM pg_catalog.pg_shseclabel WHERE classoid = 'pg_catalog.pg_database'::pg_catalog.regclass AND objoid = '16386' 2024-04-24 10:41:38.366 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT unnest(setconfig) FROM pg_db_role_setting WHERE setrole = 0 AND setdatabase = '16386'::oid 2024-04-24 10:41:38.367 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT rolname, unnest(setconfig) FROM pg_db_role_setting s, pg_roles r WHERE setrole = r.oid AND setdatabase = '16386'::oid 2024-04-24 10:41:38.367 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT relfrozenxid, relminmxid, relfilenode, oid FROM pg_catalog.pg_class WHERE oid IN (2613, 2683); 2024-04-24 10:41:38.369 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:38.369 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:41:38.369 UTC [38720][client backend] [002_pg_upgrade.pl][48/15:0] DETAIL: prepare: PREPARE getColumnACLs(pg_catalog.oid) AS SELECT at.attname, at.attacl, '{}' AS acldefault, pip.privtype, pip.initprivs FROM pg_catalog.pg_attribute at LEFT JOIN pg_catalog.pg_init_privs pip ON (at.attrelid = pip.objoid AND pip.classoid = 'pg_catalog.pg_class'::pg_catalog.regclass AND at.attnum = pip.objsubid) WHERE at.attrelid = $1 AND NOT at.attisdropped AND (at.attacl IS NOT NULL OR pip.initprivs IS NOT NULL) ORDER BY at.attnum 2024-04-24 10:41:38.376 UTC [38720][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.125 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:41:38.387 UTC [38734][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:41:38.388 UTC [38734][client backend] [[unknown]][49/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:41:38.388 UTC [38734][client backend] [[unknown]][49/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:41:38.390 UTC [38734][client backend] [002_pg_upgrade.pl][49/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:38.390 UTC [38734][client backend] [002_pg_upgrade.pl][49/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:41:38.391 UTC [38734][client backend] [002_pg_upgrade.pl][49/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:41:38.392 UTC [38734][client backend] [002_pg_upgrade.pl][49/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:41:38.392 UTC [38734][client backend] [002_pg_upgrade.pl][49/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:41:38.392 UTC [38734][client backend] [002_pg_upgrade.pl][49/14:0] LOG: statement: SET row_security = off 2024-04-24 10:41:38.392 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: BEGIN 2024-04-24 10:41:38.392 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:41:38.392 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, rolname FROM pg_catalog.pg_roles ORDER BY 1 2024-04-24 10:41:38.395 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT x.tableoid, x.oid, x.extname, n.nspname, x.extrelocatable, x.extversion, x.extconfig, x.extcondition FROM pg_extension x JOIN pg_namespace n ON n.oid = x.extnamespace 2024-04-24 10:41:38.397 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT classid, objid, refobjid FROM pg_depend WHERE refclassid = 'pg_extension'::regclass AND deptype = 'e' ORDER BY 3 2024-04-24 10:41:38.400 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT n.tableoid, n.oid, n.nspname, n.nspowner, n.nspacl, acldefault('n', n.nspowner) AS acldefault FROM pg_namespace n 2024-04-24 10:41:38.401 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT c.tableoid, c.oid, c.relname, c.relnamespace, c.relkind, c.reltype, c.relowner, c.relchecks, c.relhasindex, c.relhasrules, c.relpages, c.relhastriggers, c.relpersistence, c.reloftype, c.relacl, acldefault(CASE WHEN c.relkind = 'S' THEN 's'::"char" ELSE 'r'::"char" END, c.relowner) AS acldefault, CASE WHEN c.relkind = 'f' THEN (SELECT ftserver FROM pg_catalog.pg_foreign_table WHERE ftrelid = c.oid) ELSE 0 END AS foreignserver, c.relfrozenxid, tc.relfrozenxid AS tfrozenxid, tc.oid AS toid, tc.relpages AS toastpages, tc.reloptions AS toast_reloptions, d.refobjid AS owning_tab, d.refobjsubid AS owning_col, tsp.spcname AS reltablespace, false AS relhasoids, c.relispopulated, c.relreplident, c.relrowsecurity, c.relforcerowsecurity, c.relminmxid, tc.relminmxid AS tminmxid, array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption, am.amname, (d.deptype = 'i') IS TRUE AS is_identity_sequence, c.relispartition AS ispartition FROM pg_class c LEFT JOIN pg_depend d ON (c.relkind = 'S' AND d.classid = 'pg_class'::regclass AND d.objid = c.oid AND d.objsubid = 0 AND d.refclassid = 'pg_class'::regclass AND d.deptype IN ('a', 'i')) LEFT JOIN pg_tablespace tsp ON (tsp.oid = c.reltablespace) LEFT JOIN pg_am am ON (c.relam = am.oid) LEFT JOIN pg_class tc ON (c.reltoastrelid = tc.oid AND tc.relkind = 't' AND c.relkind <> 'p') WHERE c.relkind IN ('r', 'S', 'v', 'c', 'm', 'f', 'p') ORDER BY c.oid 2024-04-24 10:41:38.425 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: LOCK TABLE "public"."char_tbl", "public"."float8_tbl", "public"."int2_tbl", "public"."int4_tbl", "public"."int8_tbl", "public"."point_tbl", "public"."text_tbl", "public"."varchar_tbl", "public"."onek", "public"."onek2", "public"."tenk1", "public"."tenk2", "public"."person", "public"."emp", "public"."student", "public"."stud_emp", "public"."road", "public"."ihighway", "public"."shighway", "public"."money_data", "public"."num_data", "public"."num_exp_add", "public"."num_exp_sub", "public"."num_exp_div", "public"."num_exp_mul", "public"."num_exp_sqrt", "public"."num_exp_ln", "public"."num_exp_log10", "public"."num_exp_power_10_ln", "public"."num_result", "public"."float4_tbl", "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"."inet_tbl", "public"."box_tbl", "public"."time_tbl", "public"."path_tbl", "public"."date_tbl", "public"."timetz_tbl", "public"."polygon_tbl", "public"."lseg_tbl", "public"."timestamp_tbl", "public"."timestamptz_tbl", "public"."interval_tbl", "public"."circle_tbl", "public"."line_tbl", "public"."quad_poly_tbl", "public"."nummultirange_test", "public"."quad_box_tbl", "public"."infinite_interval_tbl", "public"."quad_box_tbl_ord_seq1", "public"."quad_box_tbl_ord_seq2", "public"."reservations", "stats_export_import"."test", "stats_export_import"."test_clone", "public"."tab_core_types", "public"."mlparted", "public"."mlparted1", "public"."mlparted11", "public"."mlparted12", "public"."mlparted2", "public"."mlparted3", "public"."mlparted4", "public"."mlparted_def", "public"."mlparted_def1", "public"."mlparted_def2", "public"."mlparted_defd", "public"."a_star", "public"."b_star", "public"."c_star", "public"."d_star", "public"."e_star", "public"."f_star", "public"."city", "public"."extra_wide_table", "public"."tbl_include_reg", "public"."quad_point_tbl", "public"."real_city", "public"."ramp", "public"."tbl_include_unique1", "public"."view_base_table", "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"."a", "public"."b", "public"."defaultexpr_tbl", "public"."c", "public"."d", "public"."check_tbl", "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"."persons3", "public"."log_table", "public"."main_table", "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"."bt_i4_heap", "public"."bt_name_heap", "public"."bt_txt_heap", "public"."hash_i4_heap", "public"."bt_f8_heap", "public"."aggtest", "public"."xacttest", "public"."arrtest", "public"."subselect_tbl", "public"."hash_name_heap", "public"."hash_txt_heap", "public"."array_op_test", "public"."hash_f8_heap", "public"."dedup_unique_test_table", "public"."agg_data_2k", "public"."agg_data_20k", "public"."sj", "public"."sk", "public"."emp1", "public"."sl", "public"."sj_t1", "public"."sj_t2", "public"."sj_t3", "public"."sj_t4", "public"."btree_tall_tbl", "public"."delete_test_table", "public"."spgist_point_tbl", "public"."gin_test_tbl", "public"."itest1", "public"."mvtest_t", "public"."gtest0", "public"."test_tablesample", "public"."gist_point_tbl", "public"."itest2", "public"."itest3", "public"."gtest1", "public"."brintest", "public"."itest4", "public"."brinopers", "public"."itest9", "public"."itest10", "public"."itest11", "public"."gtest1_1", "public"."itest13", "public"."itest5", "public"."gtestx", "public"."gtestxx_1", "public"."gtestxx_3", "public"."gtestxx_4", "public"."itest17", "public"."gtesty", "public"."gtest1_y", "public"."itest18", "public"."gtest3", "public"."gtest3a", "public"."gtest2", "public"."gtest_tableoid", "public"."gtest10", "public"."itest6", "public"."gtest10a", "public"."itest7", "public"."itest7a", "public"."itest7b", "public"."itest7c", "public"."itest7d", "public"."itest7e", "public"."gtest20", "public"."gtest20a", "public"."gtest20b", "public"."gtest21a", "public"."gtest21b", "public"."gtest22a", "public"."gtest22b", "public"."gtest22c", "public"."pitest1", "public"."pitest1_p1", "public"."pitest1_p2", "public"."pitest2", "public"."pitest2_p2", "public"."spgist_box_tbl", "public"."itest14", "public"."bug_16784", "public"."gtest23p", "public"."gtest23q", "public"."spgist_text_tbl", "public"."gtest24", "public"."gtest_parent", "public"."gtest_child", "public"."gtest_child2", "public"."gtest_child3", "public"."brin_summarize", "public"."brin_test", "public"."gtest25", "public"."gs_data_1", "public"."gtest27", "public"."spgist_domain_tbl", "public"."spgist_unlogged_tbl", "public"."gtest29", "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_bloom", "public"."brintest_multi", "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"."ndistinct", "public"."rtest_view1", "public"."rtest_view2", "public"."rtest_view3", "public"."rtest_view4", "public"."rtest_comp", "public"."rtest_unitfact", "public"."shoe_data", "public"."shoelace_data", "public"."unit", "public"."shoelace_log", "public"."shoelace_arrive", "public"."shoelace_ok", "public"."functional_dependencies", "public"."ruletest_tbl", "public"."ruletest_tbl2", "public"."rule_and_refint_t1", "public"."rule_and_refint_t2", "public"."rule_and_refint_t3", "public"."rules_src", "public"."rules_log", "public"."rule_merge1", "public"."rule_merge2", "public"."mcv_lists", "public"."mcv_lists_arrays", "public"."mcv_lists_bool", "public"."parallel_vacuum_table", "testxmlschema"."test1", "public"."clstr_tst_s", "testxmlschema"."test2", "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", "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", "public"."test_tsquery", "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"."pline", "public"."hub", "public"."hslot", "public"."system", "public"."iface", "public"."phone", "public"."utf8_inputs", "public"."query", "public"."xmldata", "public"."euc_jis_2004_inputs", "public"."shiftjis2004_inputs", "public"."check_con_tbl", "public"."gb18030_inputs", "public"."alter_idx_rename_test_parted_2", "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"."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"."transition_table_base", "public"."transition_table_level1", "public"."transition_table_level2", "public"."transition_table_status", "public"."alter_table_under_transition_tables", "public"."partitioned_table", "public"."pt_part1", "public"."test_tbl3", "public"."pt_part2", "public"."tt0", "public"."tt1", "public"."tt2", "public"."tt3", "public"."tt4", "public"."tt5", "public"."tt6", "public"."tt7", "public"."comment_test", "public"."comment_test_child", "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"."xmltest2", "public"."prt1", "public"."pagg_tab", "public"."cmdata", "public"."prt1_p1", "public"."pagg_tab_p1", "public"."pagg_tab_p2", "public"."prt1_p3", "public"."pagg_tab_p3", "public"."prt1_p2", "public"."prt2", "public"."prt2_p1", "public"."prt2_p2", "public"."prt2_p3", "public"."cmdata1", "public"."reloptions_test", "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"."prt2_e_p3", "public"."pagg_tab_m", "public"."pagg_tab_m_p1", "public"."pagg_tab_m_p2", "public"."pagg_tab_m_p3", "public"."pagg_tab_ml", "public"."pagg_tab_ml_p1", "public"."pagg_tab_ml_p2", "public"."pagg_tab_ml_p2_s1", "public"."pagg_tab_ml_p2_s2", "public"."pagg_tab_ml_p3", "public"."pagg_tab_ml_p3_s1", "public"."pagg_tab_ml_p3_s2", "public"."part", "public"."part_p1", "public"."part_p2", "public"."part_p2_p1", "public"."part_rev", "public"."cmpart", "public"."cmpart1", "public"."cmpart2", "public"."prt1_m", "public"."prt1_m_p1", "public"."prt1_m_p2", "public"."prt1_m_p3", "public"."prt2_m", "public"."prt2_m_p1", "public"."prt2_m_p2", "public"."prt2_m_p3", "public"."plt1", "public"."plt1_p1", "public"."plt1_p2", "public"."plt1_p3", "public"."cmdata2", "public"."plt2", "public"."plt2_p1", "public"."plt2_p2", "public"."plt2_p3", "public"."plt1_e", "public"."plt1_e_p1", "public"."plt1_e_p2", "public"."plt1_e_p3", "public"."pht1", "public"."stats_test_tab1", "public"."pht1_p1", "public"."pht1_p2", "public"."pht1_p3", "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"."pagg_tab_para", "public"."prt4_n_p2", "public"."pagg_tab_para_p1", "public"."pagg_tab_para_p2", "public"."pagg_tab_para_p3", "public"."prt4_n_p3", "public"."test_io_vac_strategy", "public"."test_io_bulkwrite_strategy", "public"."xy_1", "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"."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"."undroppable_objs", "public"."dropped_objects", "public"."rewritemetoo1", "public"."rewritemetoo2", "public"."rewritemetoo3", "public"."event_trigger_test", "public"."has_fast_default" IN ACCESS SHARE MODE 2024-04-24 10:41:38.459 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname, p.prolang, p.pronargs, p.proargtypes, p.prorettype, p.proacl, acldefault('f', p.proowner) AS acldefault, p.pronamespace, p.proowner FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind <> 'a' AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i') AND ( pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR EXISTS (SELECT 1 FROM pg_cast WHERE pg_cast.oid > 16383 AND p.oid = pg_cast.castfunc) OR EXISTS (SELECT 1 FROM pg_transform WHERE pg_transform.oid > 16383 AND (p.oid = pg_transform.trffromsql OR p.oid = pg_transform.trftosql)) OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e') OR p.proacl IS DISTINCT FROM pip.initprivs) 2024-04-24 10:41:38.478 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, typname, typnamespace, typacl, acldefault('T', typowner) AS acldefault, typowner, typelem, typrelid, CASE WHEN typrelid = 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE oid = typrelid) END AS typrelkind, typtype, typisdefined, typname[0] = '_' AND typelem != 0 AND (SELECT typarray FROM pg_type te WHERE oid = pg_type.typelem) = oid AS isarray FROM pg_type 2024-04-24 10:41:38.498 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.499 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('27807') 2024-04-24 10:41:38.499 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.501 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32340') 2024-04-24 10:41:38.501 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.502 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32551') 2024-04-24 10:41:38.502 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.502 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32553') 2024-04-24 10:41:38.502 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.503 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('28115') 2024-04-24 10:41:38.503 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.504 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35478') 2024-04-24 10:41:38.504 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.505 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35499') 2024-04-24 10:41:38.505 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.506 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37349') 2024-04-24 10:41:38.506 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.507 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37380') 2024-04-24 10:41:38.507 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.507 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37400') 2024-04-24 10:41:38.507 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.508 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37487') 2024-04-24 10:41:38.508 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.508 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37534') 2024-04-24 10:41:38.508 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.509 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37560') 2024-04-24 10:41:38.509 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.509 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37755') 2024-04-24 10:41:38.509 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.509 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37757') 2024-04-24 10:41:38.509 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.510 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37765') 2024-04-24 10:41:38.510 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.510 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38840') 2024-04-24 10:41:38.510 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.511 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38893') 2024-04-24 10:41:38.511 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.511 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38906') 2024-04-24 10:41:38.511 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] DETAIL: prepare: PREPARE getDomainConstraints(pg_catalog.oid) AS SELECT tableoid, oid, conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, convalidated FROM pg_catalog.pg_constraint WHERE contypid = $1 AND contype = 'c' ORDER BY conname 2024-04-24 10:41:38.512 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, lanname, lanpltrusted, lanplcallfoid, laninline, lanvalidator, lanacl, acldefault('l', lanowner) AS acldefault, lanowner FROM pg_language WHERE lanispl ORDER BY oid 2024-04-24 10:41:38.513 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, p.proowner, p.proacl AS aggacl, acldefault('f', p.proowner) AS acldefault FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE p.prokind = 'a' AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')) 2024-04-24 10:41:38.516 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, oprname, oprnamespace, oprowner, oprkind, oprcode::oid AS oprcode FROM pg_operator 2024-04-24 10:41:38.518 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, amname, amtype, amhandler::pg_catalog.regproc AS amhandler FROM pg_am 2024-04-24 10:41:38.519 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:41:38.520 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:41:38.521 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, prsname, prsnamespace, prsstart::oid, prstoken::oid, prsend::oid, prsheadline::oid, prslextype::oid FROM pg_ts_parser 2024-04-24 10:41:38.522 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, tmplname, tmplnamespace, tmplinit::oid, tmpllexize::oid FROM pg_ts_template 2024-04-24 10:41:38.522 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, dictname, dictnamespace, dictowner, dicttemplate, dictinitoption FROM pg_ts_dict 2024-04-24 10:41:38.523 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, cfgname, cfgnamespace, cfgowner, cfgparser FROM pg_ts_config 2024-04-24 10:41:38.524 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, fdwname, fdwowner, fdwhandler::pg_catalog.regproc, fdwvalidator::pg_catalog.regproc, fdwacl, acldefault('F', fdwowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(fdwoptions) ORDER BY option_name), E', ') AS fdwoptions FROM pg_foreign_data_wrapper 2024-04-24 10:41:38.525 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, srvname, srvowner, srvfdw, srvtype, srvversion, srvacl, acldefault('S', srvowner) AS acldefault, array_to_string(ARRAY(SELECT quote_ident(option_name) || ' ' || quote_literal(option_value) FROM pg_options_to_table(srvoptions) ORDER BY option_name), E', ') AS srvoptions FROM pg_foreign_server 2024-04-24 10:41:38.526 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, tableoid, defaclrole, defaclnamespace, defaclobjtype, defaclacl, CASE WHEN defaclnamespace = 0 THEN acldefault(CASE WHEN defaclobjtype = 'S' THEN 's'::"char" ELSE defaclobjtype END, defaclrole) ELSE '{}' END AS acldefault FROM pg_default_acl 2024-04-24 10:41:38.527 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:41:38.530 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:41:38.531 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, castsource, casttarget, castfunc, castcontext, castmethod FROM pg_cast c WHERE NOT EXISTS ( SELECT 1 FROM pg_range r WHERE c.castsource = r.rngtypid AND c.casttarget = r.rngmultitypid ) ORDER BY 3,4 2024-04-24 10:41:38.533 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, trftype, trflang, trffromsql::oid, trftosql::oid FROM pg_transform ORDER BY 3,4 2024-04-24 10:41:38.533 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT lanname FROM pg_language WHERE oid = 14 2024-04-24 10:41:38.533 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:41:38.534 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT e.tableoid, e.oid, evtname, evtenabled, evtevent, evtowner, array_to_string(array(select quote_literal(x) from unnest(evttags) as t(x)), ', ') as evttags, e.evtfoid::regproc as evtfname FROM pg_event_trigger e ORDER BY e.oid 2024-04-24 10:41:38.535 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT conrelid, confrelid FROM pg_constraint JOIN pg_depend ON (objid = confrelid) WHERE contype = 'f' AND refclassid = 'pg_extension'::regclass AND classid = 'pg_class'::regclass; 2024-04-24 10:41:38.537 UTC [38734][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,16513,16516,16534,16542,16545,16548,16551,16577,16580,16583,16586,16601,16648,16749,16781,16827,16834,16839,16856,16868,16981,16986,16989,16995,17000,17003,17006,17009,17014,17017,17024,17025,17030,17033,17053,17071,17119,17128,17151,17178,17313,17380,17390,17998,18001,18006,18024,18029,18034,18037,18074,18077,18082,18087,18310,18322,18334,18342,18358,18422,18490,18520,19179,19185,19189,19197,19205,19206,19214,19219,19224,19231,19234,19238,19248,19259,19265,19354,19416,19419,19448,19611,19922,20040,20302,20313,20355,20390,20407,20442,20468,20489,20529,20660,20682,20689,20719,20725,20744,20767,20780,20836,20844,20904,21065,21083,21210,21847,21921,22079,22082,22097,22103,22118,22252,22266,22271,22277,22288,22292,22304,22616,22619,23364,23367,23386,24076,24083,24089,24095,24101,24243,24246,24249,24257,24261,24274,24279,24280,24291,24302,24305,24309,24327,24999,25588,25591,25773,25789,25794,25806,25811,25817,25823,25829,25836,25842,25971,25977,26005,26022,26034,26066,26069,26099,26115,26124,26165,26187,26208,26216,26234,26309,26321,26333,26343,26383,26426,26436,26445,26460,26510,26523,26538,26579,26591,26651,26685,26745,26754,26762,26773,26799,26820,26857,26878,26896,26950,27066,27092,27104,27111,27148,27155,27161,27166,27181,27185,27202,27237,27261,27302,27316,27339,27365,27381,27438,27444,27459,27483,27513,27585,27708,27727,27736,27753,27782,27809,27839,27846,27851,27888,27962,27978,28021,28038,28062,28118,28126,28132,28201,28210,28229,28268,28275,28296,28303,28414,28535,28540,28551,28560,28567,28571,28586,28590,28686,28848,28913,28940,29208,29219,29407,29543,29606,29631,29821,30073,30085,30208,30643,30651,30654,30662,30684,30690,30698,30714,30723,30734,30749,30763,30769,30774,30785,30790,30795,30810,30814,30850,30862,30868,30878,30959,30967,30972,30975,30981,30986,30990,30994,30998,31006,31056,31061,31064,31068,31071,31074,31077,31081,31085,31090,31097,31100,31105,31109,31146,31152,31156,31160,31165,31170,31339,31344,31511,31516,31564,31612,31621,31745,32281,32284,32343,32359,32380,32446,32453,32495,32541,32554,32747,32761,32780,32809,32813,32817,32822,32831,32850,34002,34007,34012,34033,34148,34156,34165,34181,34194,34222,34225,34228,34272,34283,34292,34301,34307,34319,34483,34488,34493,34499,34502,34519,34525,34533,34542,34546,34550,34570,34577,34582,34587,34592,34597,34602,34607,34631,34636,34641,34646,34649,34652,34672,34680,34684,34688,34707,34713,34719,34723,34899,34904,34909,34914,35454,35623,35757,35811,35862,35868,35881,35900,35963,36009,36060,36073,36092,36115,36120,36130,36140,36153,36161,36166,36174,36182,36199,36260,36265,36364,36383,36414,36432,36450,36480,36564,36603,36634,36658,36670,36716,36728,36763,36790,36800,36846,36889,37140,37327,37350,37381,37392,37401,37494,37661,37690,37699,37712,37720,37977,38337,38340,38344,38347,38350,38353,38413,38417,38421,38426,38582,38693,38714,38718,38763,38766,38775,38778,38781,38784,38908,38929,38937,38945,39074,39101,39104,39110,39120,39128,39132,39135,39138,39141,39144,39147,39152,39195,39233,39429,39567,39593,39597,39682,39689,39732,39769,39778,39807,39812,39909,39912,39915,39926,39932,39938,39941,39960,39978,39997,40008,40021,40038,40155,40161,40177,40204,40247,40292,40354,40419,40477,40499,40507,40517,40520,40531,40542,40548,40572,40634,40644,40647,40650,40664,40674,40677,40680,40724,40730,40733,40739,40871,40892,40907,40923,40933,40941,40948,40968,40974,40988,40991,40996,40999,41002,41055,41061,41072,41125,41137,41152,41155,41198,41237,41240,41243,41249,41252,41265,41274,41281,41326,41337,41342,41347,41411,41414,41425,41436,41572,41578,41596,41601,41607,41618,41655,41668,41679,41733,41740,41758,41771,41855,41858,41866,41887,41906,41915,41922,41947,41957,41960,41976,41985,41996,42016,42019,42063,42129,42132,42149,42190,42200,42231,42265,42268,42277,42285,42308,42315,42326,42327,42337,42351,42361,42365,42482,42502,42618,43052,43057,43060,43063,43066,43074,43083,43088,43091,43094,43101,43106,43111,43117,43122,43133,43137,43141,43151,43155,43159,43168,43176,43424,43427,43430,43433,43438,43443,43448,43453,43458,43463,43466,43469,43472,43477,43482,43487,43492,43497,43580,43933,43938,44052,44055,44072,44112,44393}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attribute a ON (src.tbloid = a.attrelid) LEFT JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_constraint co ON (a.attrelid = co.conrelid AND co.contype = 'n' AND co.conkey = array[a.attnum]) LEFT JOIN pg_catalog.pg_constraint copk ON (copk.conrelid = src.tbloid AND copk.contype = 'p' AND copk.conkey @> array[a.attnum]) WHERE a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum 2024-04-24 10:41:38.671 UTC [38734][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('{16827,20302,20390,20529,20904,21065,25794,25811,25817,25823,25829,26034,26124,26333,26579,26651,26685,26754,26762,26799,26820,26878,26896,26950,27066,27202,27237,27261,27302,27316,27339,27365,27381,27585,27736,27809,27839,27846,27851,27888,28021,28062,28126,28201,28210,28229,28268,28275,28686,28848,31339,31344,32284,32380,32453,34007,34012,38693,38929,38937,39807,39812,44393}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_attrdef a ON (src.tbloid = a.adrelid) ORDER BY a.adrelid, a.adnum 2024-04-24 10:41:38.680 UTC [38734][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('{20468,20489,20529,21210,21921,22616,22619,26383,27202,27261,28551,28560,28686,36670,37661,37690,37699,37712,38714,38718,39195,39567,39597,39682,39689}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'c' ORDER BY c.conrelid, c.conname 2024-04-24 10:41:38.685 UTC [38734][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,16534,16542,16545,16548,16551,16577,16580,16583,16648,16749,16781,16856,16868,17006,17025,17033,17053,17071,17313,17380,19179,19185,19205,19224,19248,19259,19354,19419,19448,19611,19922,20040,20844,20904,21847,22079,22252,22271,22277,22292,22304,23364,24076,24083,24089,24095,24101,24243,24246,24249,24257,24261,24302,24305,24327,24999,25773,25789,25794,25806,25817,25823,25836,25842,25971,25977,26022,26034,26069,26124,26216,26234,26343,26460,26950,27066,27092,27111,27202,27237,27261,27302,27316,27339,27365,27381,27585,27736,27753,27782,27809,27962,27978,28021,28118,28126,28229,28535,28540,28567,28571,28586,28590,28686,28913,28940,29407,29543,29606,29631,29821,30073,30085,30208,31146,31160,31165,31170,31745,32284,32359,32380,32446,32495,32541,32747,34002,34272,34283,34292,34301,34307,34319,34483,34488,34493,34525,34533,34542,34546,34550,34577,34582,34587,34592,34597,34602,34631,34636,34641,34672,34680,34684,34688,34719,34899,34904,34909,34914,35454,35811,35868,35881,35900,35963,36009,36060,36120,36153,36199,36260,36790,38582,38693,38908,38929,38937,38945,39074,39195,39233,39429,39941,39960,40008,40038,40161,40177,40204,40292,40644,40647,40650,41281,41578,43052,43057,43060,43066,43074,43083,43088,43091,43094,43101,43106,43111,43117,43122,43133,43137,43141,43151,43155,43159,43168,43176}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_index i ON (src.tbloid = i.indrelid) JOIN pg_catalog.pg_class t ON (t.oid = i.indexrelid) JOIN pg_catalog.pg_class t2 ON (t2.oid = i.indrelid) LEFT JOIN pg_catalog.pg_constraint c ON (i.indrelid = c.conrelid AND i.indexrelid = c.conindid AND c.contype IN ('p','u','x')) LEFT JOIN pg_catalog.pg_inherits inh ON (inh.inhrelid = indexrelid) WHERE (i.indisvalid OR t2.relkind = 'p') AND i.indisready ORDER BY i.indrelid, indexname 2024-04-24 10:41:38.755 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, stxname, stxnamespace, stxowner, stxrelid, stxstattarget FROM pg_catalog.pg_statistic_ext 2024-04-24 10:41:38.756 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT c.tableoid, c.oid, conrelid, conname, confrelid, conindid, pg_catalog.pg_get_constraintdef(c.oid) AS condef FROM unnest('{17998,18001,18074,20719,21083,22252,22271,22277,22292,22304,24076,24083,24089,24095,24101,27438,27483,27736,27753,27839,28229,28913,28940,29407,29543,29606,29631,30073,30085,31160,31165,31170,32284,32359,32380,32747,32761,32780,34002,34007,34012,34033,34148,34156,34165,34181,34194,34222,34225,34228,34272,34283,34292,34301,34307,34319,34483,34488,34493,34499,34502,34519,34525,34533,34542,34546,34550,34570,34577,34582,34587,34592,34597,34602,34607,34631,34636,34641,34646,34649,34652,34672,34680,34684,34688,34707,34713,34899,34904,34909,34914,35811,35868,35900,35963,36009,36060,36120,36153,36199,36260,36790,38908,38929,38937,39074,39101,39195,39233,39593,39807,39909,39912,39932,39938,40155,40477,40520,40634,40664,40724,40871,40907,40941,40988,40996,41055,41125,41198,41249,41326,41411,41572,41618,41733,41855,41866,41915,41957,41976,42016,42129,42190,42265,42308,42326,43052,43060,43074,43088,43101,43133,43151,43424,43427,43430,43463,43466,43469}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_constraint c ON (src.tbloid = c.conrelid) WHERE contype = 'f' AND conparentid = 0 ORDER BY conrelid, conname 2024-04-24 10:41:38.758 UTC [38734][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('{21083,22252,22271,22277,22292,22304,24076,24083,24089,24095,24101,27736,27753,28229,28913,28940,29407,29543,29606,29631,30073,30085,31160,31165,31170,32284,32359,32380,32747,32761,32780,34002,34007,34012,34033,34148,34156,34165,34181,34194,34222,34225,34228,34272,34283,34292,34301,34307,34319,34483,34488,34493,34499,34502,34519,34525,34533,34542,34546,34550,34570,34577,34582,34587,34592,34597,34602,34607,34631,34636,34641,34646,34649,34652,34672,34680,34684,34688,34707,34713,34899,34904,34909,34914,35811,35868,35900,35963,36009,36060,36120,36153,36199,36260,38908,38929,38937,39074,39195,39233,39807}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_trigger t ON (src.tbloid = t.tgrelid) LEFT JOIN pg_catalog.pg_trigger u ON (u.oid = t.tgparentid) WHERE ((NOT t.tgisinternal AND t.tgparentid = 0) OR t.tgenabled != u.tgenabled) ORDER BY t.tgrelid, t.tgname 2024-04-24 10:41:38.762 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, rulename, ev_class AS ruletable, ev_type, is_instead, ev_enabled FROM pg_rewrite ORDER BY oid 2024-04-24 10:41:38.764 UTC [38734][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,16513,16516,16534,16542,16545,16548,16551,16577,16580,16583,16586,16601,16648,16749,16781,16827,16834,16839,16856,16868,16981,16986,16989,16995,17000,17003,17006,17009,17014,17017,17024,17025,17030,17033,17053,17071,17119,17128,17151,17178,17313,17380,17390,17998,18001,18006,18024,18029,18034,18037,18074,18077,18082,18087,18310,18322,18334,18342,18358,18422,18490,18520,19179,19185,19189,19197,19205,19224,19231,19248,19259,19265,19354,19416,19419,19448,19611,19922,20040,20302,20313,20355,20390,20407,20442,20468,20489,20529,20660,20682,20719,20725,20744,20767,20780,20836,20844,20904,21065,21083,21210,21847,21921,22079,22082,22097,22103,22118,22252,22266,22271,22277,22288,22292,22304,22616,22619,23364,23367,23386,24076,24083,24089,24095,24101,24243,24246,24249,24257,24261,24274,24279,24280,24291,24302,24305,24309,24327,24999,25588,25591,25773,25789,25794,25806,25811,25817,25823,25829,25836,25842,25971,25977,26005,26022,26034,26066,26069,26099,26115,26124,26234,26333,26383,26510,26523,26538,26579,26591,26651,26685,26745,26754,26762,26773,26799,26820,26857,26878,26896,26950,27066,27092,27104,27111,27148,27155,27161,27166,27181,27185,27202,27237,27261,27302,27316,27339,27365,27381,27438,27444,27459,27483,27513,27585,27708,27727,27736,27753,27782,27809,27839,27846,27851,27888,27962,27978,28021,28038,28062,28118,28126,28132,28201,28210,28229,28268,28275,28296,28303,28414,28535,28540,28551,28560,28567,28571,28586,28590,28686,28848,28913,28940,29208,29219,29407,29543,29606,29631,29821,30073,30085,30208,30643,30651,30654,30684,30690,30698,30714,30723,30734,30749,30763,30769,30774,30785,30790,30795,30810,30814,30850,30862,30868,30878,30959,30967,30972,30975,30981,31056,31061,31068,31071,31074,31090,31097,31100,31146,31152,31156,31160,31165,31170,31339,31344,31511,31516,31564,31612,31621,31745,32281,32284,32343,32359,32380,32446,32453,32495,32541,32554,32747,32761,32780,34002,34007,34012,34033,34148,34156,34165,34181,34194,34222,34225,34228,34272,34283,34292,34301,34307,34319,34483,34488,34493,34499,34502,34519,34525,34533,34542,34546,34550,34570,34577,34582,34587,34592,34597,34602,34607,34631,34636,34641,34646,34649,34652,34672,34680,34684,34688,34707,34713,34719,34723,34899,34904,34909,34914,35454,35623,35757,35811,35868,35881,35900,35963,36009,36060,36120,36153,36199,36260,36265,36364,36383,36564,36634,36670,36716,36790,36800,36846,36889,37140,37327,37350,37381,37392,37494,37661,37690,37699,37712,37720,37977,38337,38340,38344,38347,38350,38353,38413,38417,38421,38426,38582,38693,38714,38718,38763,38766,38775,38778,38781,38784,38908,38929,38937,38945,39074,39101,39104,39110,39120,39128,39132,39135,39138,39141,39144,39147,39152,39195,39233,39429,39567,39593,39597,39682,39689,39732,39769,39778,39807,39812,39909,39912,39915,39926,39932,39938,39941,39960,39978,39997,40008,40021,40038,40155,40161,40177,40204,40247,40292,40354,40419,40477,40499,40507,40517,40520,40531,40542,40548,40572,40634,40644,40647,40650,40664,40674,40677,40680,40724,40730,40733,40739,40871,40892,40907,40923,40933,40941,40948,40968,40988,40991,40996,40999,41002,41055,41061,41072,41125,41137,41152,41155,41198,41237,41240,41243,41249,41252,41265,41274,41281,41326,41337,41342,41347,41411,41414,41425,41436,41572,41578,41596,41601,41607,41618,41655,41668,41679,41733,41740,41758,41771,41855,41858,41866,41887,41906,41915,41922,41947,41957,41960,41976,41985,41996,42016,42019,42063,42129,42132,42149,42190,42200,42231,42265,42268,42277,42285,42308,42315,42326,42327,42337,42351,42361,42365,42482,42502,42618,43052,43057,43060,43063,43066,43074,43083,43088,43091,43094,43101,43106,43111,43117,43122,43133,43137,43141,43151,43155,43159,43168,43176,43424,43427,43430,43433,43438,43443,43448,43453,43458,43463,43466,43469,43472,43477,43482,43487,43492,43497,43580,43933,43938,44052,44055,44072,44112,44393}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-24 10:41:38.767 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT p.tableoid, p.oid, p.pubname, p.pubowner, p.puballtables, p.pubinsert, p.pubupdate, p.pubdelete, p.pubtruncate, p.pubviaroot FROM pg_publication p 2024-04-24 10:41:38.768 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, prpubid, prrelid, pg_catalog.pg_get_expr(prqual, prrelid) AS prrelqual, (CASE WHEN pr.prattrs IS NOT NULL THEN (SELECT array_agg(attname) FROM pg_catalog.generate_series(0, pg_catalog.array_upper(pr.prattrs::pg_catalog.int2[], 1)) s, pg_catalog.pg_attribute WHERE attrelid = pr.prrelid AND attnum = prattrs[s]) ELSE NULL END) prattrs FROM pg_catalog.pg_publication_rel pr 2024-04-24 10:41:38.769 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, pnpubid, pnnspid FROM pg_catalog.pg_publication_namespace 2024-04-24 10:41:38.770 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT s.tableoid, s.oid, s.subname, s.subowner, s.subconninfo, s.subslotname, s.subsynccommit, s.subpublications, s.subbinary, s.substream, s.subtwophasestate, s.subdisableonerr, s.subpasswordrequired, s.subrunasowner, s.suborigin, o.remote_lsn AS suboriginremotelsn, s.subenabled, s.subfailover FROM pg_subscription s LEFT JOIN pg_catalog.pg_replication_origin_status o ON o.external_id = 'pg_' || s.oid::text WHERE s.subdbid = (SELECT oid FROM pg_database WHERE datname = current_database()) 2024-04-24 10:41:38.771 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT srsubid, srrelid, srsubstate, srsublsn FROM pg_catalog.pg_subscription_rel ORDER BY srsubid 2024-04-24 10:41:38.772 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT oid, lomowner, lomacl, acldefault('L', lomowner) AS acldefault FROM pg_largeobject_metadata ORDER BY lomowner, lomacl::pg_catalog.text, oid 2024-04-24 10:41:38.773 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e' UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid) UNION ALL SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid) ORDER BY 1,2 2024-04-24 10:41:38.793 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT DISTINCT attrelid FROM pg_attribute WHERE attacl IS NOT NULL 2024-04-24 10:41:38.799 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT objoid, classoid, objsubid, privtype, initprivs FROM pg_init_privs 2024-04-24 10:41:38.800 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT description, classoid, objoid, objsubid FROM pg_catalog.pg_description ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.815 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT label, provider, classoid, objoid, objsubid FROM pg_catalog.pg_seclabel ORDER BY classoid, objoid, objsubid 2024-04-24 10:41:38.853 UTC [38734][client backend] [002_pg_upgrade.pl][49/15:0] LOG: unexpected EOF on client connection with an open transaction 2024-04-24 10:41:38.854 UTC [38734][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.466 user=postgres database=regression host=[local] command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_ctl" -w -D "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata" -o "" -m fast stop >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_server.log" 2>&1 waiting for server to shut down....2024-04-24 10:41:38.875 UTC [38517][postmaster] LOG: received fast shutdown request 2024-04-24 10:41:38.875 UTC [38517][postmaster] LOG: aborting any active transactions 2024-04-24 10:41:38.887 UTC [38521][checkpointer] LOG: shutting down 2024-04-24 10:41:38.887 UTC [38521][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-04-24 10:41:38.888 UTC [38521][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/12799260, redo lsn=0/12799260 2024-04-24 10:41:38.898 UTC [38517][postmaster] LOG: database system is shut down done server stopped === EOF === [10:41:39.130](0.029s) not ok 16 - check that locales in new cluster match original cluster [10:41:39.130](0.000s) [10:41:39.130](0.000s) # Failed test 'check that locales in new cluster match original cluster' # at t/002_pg_upgrade.pl line 479. [10:41:39.131](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=57367 host=/tmp/GAFftgcfIv dbname='postgres' -f /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_gPO9/dump2.sql [10:41:39.441](0.311s) ok 17 - dump after running pg_upgrade [10:41:39.442](0.001s) not ok 18 - old and new dumps match after pg_upgrade [10:41:39.442](0.000s) [10:41:39.443](0.000s) # Failed test 'old and new dumps match after pg_upgrade' # at t/002_pg_upgrade.pl line 498. [10:41:39.443](0.000s) # got: '1' # expected: '0' === diff of /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_gPO9/dump1.sql_filtered and /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_gPO9/dump2.sql_filtered === stdout === --- /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_gPO9/dump1.sql_filtered 2024-04-24 10:41:39.437920092 +0000 +++ /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_gPO9/dump2.sql_filtered 2024-04-24 10:41:39.437920092 +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 === [10:41:39.445](0.003s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/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" [10:41:39.552](0.107s) # Looks like you failed 5 tests of 18.