[10:39:08.984](0.035s) # testing using transfer mode --copy # Checking port 51295 # Found port 51295 Name: old_node Data directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/archives Connection string: port=51295 host=/tmp/fOGygtADtf Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log [10:39:08.995](0.011s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -A trust -N --wal-segsize 1 --allow-group-access --encoding UTF-8 --lc-collate C --lc-ctype C --locale-provider builtin --builtin-locale C.UTF-8 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: builtin default collation: C.UTF-8 LC_COLLATE: C LC_CTYPE: C LC_MESSAGES: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C.UTF-8 LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log -o --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 22282 [10:39:10.891](1.897s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [10:39:11.043](0.152s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [10:39:11.300](0.257s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [10:39:11.561](0.261s) ok 4 - created database with ASCII characters from 91 to 127 [10:39:11.561](0.001s) # running regression tests in old instance # using postmaster on /tmp/fOGygtADtf, port 51295 ok 1 - test_setup 418 ms # parallel group (20 tests): pg_lsn varchar regproc int2 name char oid uuid int4 txid text float4 money int8 enum float8 boolean bit numeric rangetypes ok 2 + boolean 412 ms ok 3 + char 138 ms ok 4 + name 137 ms ok 5 + varchar 112 ms ok 6 + text 165 ms ok 7 + int2 134 ms ok 8 + int4 154 ms ok 9 + int8 200 ms ok 10 + oid 138 ms ok 11 + float4 173 ms ok 12 + float8 254 ms ok 13 + bit 434 ms ok 14 + numeric 1120 ms ok 15 + txid 154 ms ok 16 + uuid 143 ms ok 17 + enum 230 ms ok 18 + money 183 ms ok 19 + rangetypes 1124 ms ok 20 + pg_lsn 87 ms ok 21 + regproc 130 ms # parallel group (20 tests): line lseg circle time macaddr path md5 timetz macaddr8 numerology inet date point timestamp interval timestamptz strings polygon box multirangetypes ok 22 + strings 591 ms ok 23 + md5 171 ms ok 24 + numerology 224 ms ok 25 + point 436 ms ok 26 + lseg 101 ms ok 27 + line 88 ms ok 28 + box 1056 ms ok 29 + path 163 ms ok 30 + polygon 1026 ms ok 31 + circle 105 ms ok 32 + date 260 ms ok 33 + time 111 ms ok 34 + timetz 169 ms ok 35 + timestamp 517 ms ok 36 + timestamptz 563 ms ok 37 + interval 530 ms ok 38 + inet 232 ms ok 39 + macaddr 141 ms ok 40 + macaddr8 180 ms ok 41 + multirangetypes 1079 ms # parallel group (13 tests): comments misc_sanity unicode xid expressions tstypes mvcc stats_export_import type_sanity geometry regex horology opr_sanity ok 42 + geometry 606 ms ok 43 + horology 761 ms ok 44 + tstypes 118 ms ok 45 + regex 734 ms ok 46 + type_sanity 512 ms ok 47 + opr_sanity 1106 ms ok 48 + misc_sanity 60 ms ok 49 + comments 39 ms ok 50 + expressions 107 ms ok 51 + unicode 83 ms ok 52 + xid 101 ms ok 53 + mvcc 225 ms ok 54 + stats_export_import 262 ms # parallel group (5 tests): copydml copyselect copy insert_conflict insert ok 55 + copy 233 ms ok 56 + copyselect 99 ms ok 57 + copydml 95 ms ok 58 + insert 711 ms ok 59 + insert_conflict 390 ms # parallel group (7 tests): create_function_c create_operator create_schema create_misc create_type create_procedure create_table ok 60 + create_function_c 33 ms ok 61 + create_misc 156 ms ok 62 + create_operator 62 ms ok 63 + create_procedure 166 ms ok 64 + create_table 1297 ms ok 65 + create_type 157 ms ok 66 + create_schema 116 ms # parallel group (5 tests): index_including index_including_gist create_view create_index_spgist create_index ok 67 + create_index 1642 ms ok 68 + create_index_spgist 1517 ms ok 69 + create_view 893 ms ok 70 + index_including 455 ms ok 71 + index_including_gist 765 ms # parallel group (16 tests): errors create_cast roleattributes create_aggregate hash_func drop_if_exists typed_table create_function_sql select create_am infinite_recurse vacuum constraints updatable_views inherit triggers ok 72 + create_aggregate 118 ms ok 73 + create_function_sql 358 ms ok 74 + create_cast 71 ms ok 75 + constraints 2213 ms ok 76 + triggers 4360 ms ok 77 + select 386 ms ok 78 + inherit 3044 ms ok 79 + typed_table 352 ms ok 80 + vacuum 881 ms ok 81 + drop_if_exists 164 ms ok 82 + updatable_views 2845 ms ok 83 + roleattributes 95 ms ok 84 + create_am 417 ms ok 85 + hash_func 128 ms ok 86 + errors 50 ms ok 87 + infinite_recurse 469 ms ok 88 - sanity_check 402 ms # parallel group (20 tests): select_distinct_on delete select_having case 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 358 ms ok 90 + select_distinct 999 ms ok 91 + select_distinct_on 108 ms ok 92 + select_implicit 272 ms ok 93 + select_having 220 ms ok 94 + subselect 1332 ms ok 95 + union 1028 ms ok 96 + case 267 ms ok 97 + join 3403 ms ok 98 + aggregates 3229 ms ok 99 + transactions 563 ms ok 100 + random 459 ms ok 101 + portals 698 ms ok 102 + arrays 1211 ms ok 103 + btree_index 4410 ms ok 104 + hash_index 2032 ms ok 105 + update 2241 ms ok 106 + delete 161 ms ok 107 + namespace 314 ms ok 108 + prepared_xacts 357 ms # parallel group (20 tests): init_privs drop_operator security_label password tablesample lock object_address replica_identity collate identity matview groupingsets spgist generated rowsecurity gist gin brin join_hash privileges ok 109 + brin 7036 ms ok 110 + gin 2963 ms ok 111 + gist 2911 ms ok 112 + spgist 2335 ms ok 113 + privileges 7722 ms ok 114 + init_privs 89 ms ok 115 + security_label 168 ms ok 116 + collate 995 ms ok 117 + matview 1443 ms ok 118 + lock 286 ms ok 119 + replica_identity 880 ms ok 120 + rowsecurity 2676 ms ok 121 + object_address 331 ms ok 122 + tablesample 282 ms ok 123 + groupingsets 1843 ms ok 124 + drop_operator 128 ms ok 125 + password 262 ms ok 126 + identity 1438 ms ok 127 + generated 2593 ms ok 128 + join_hash 7040 ms # parallel group (2 tests): brin_bloom brin_multi ok 129 + brin_bloom 257 ms ok 130 + brin_multi 1174 ms # parallel group (18 tests): async dbsize collate.utf8 tsrf tid alter_operator tidscan create_role tidrangescan alter_generic sysviews misc_functions incremental_sort misc create_table_like merge collate.icu.utf8 without_overlaps ok 131 + create_table_like 1448 ms ok 132 + alter_generic 385 ms ok 133 + alter_operator 199 ms ok 134 + misc 1339 ms ok 135 + async 67 ms ok 136 + dbsize 80 ms ok 137 + merge 1492 ms ok 138 + misc_functions 470 ms ok 139 + sysviews 387 ms ok 140 + tsrf 171 ms ok 141 + tid 171 ms ok 142 + tidscan 235 ms ok 143 + tidrangescan 381 ms ok 144 + collate.utf8 108 ms ok 145 + collate.icu.utf8 1852 ms ok 146 + incremental_sort 790 ms ok 147 + create_role 240 ms ok 148 + without_overlaps 1960 ms # parallel group (7 tests): collate.linux.utf8 amutils collate.windows.win1252 psql_crosstab psql rules stats_ext ok 149 + rules 2033 ms ok 150 + psql 1962 ms ok 151 + psql_crosstab 174 ms ok 152 + amutils 100 ms ok 153 + stats_ext 4293 ms ok 154 + collate.linux.utf8 54 ms ok 155 + collate.windows.win1252 125 ms ok 156 - select_parallel 9412 ms ok 157 - write_parallel 235 ms ok 158 - vacuum_parallel 196 ms # parallel group (2 tests): subscription publication ok 159 + publication 4742 ms ok 160 + subscription 107 ms # parallel group (17 tests): portals_p2 advisory_lock combocid xmlmap functional_deps tsdicts guc equivclass dependency select_views window bitmapops cluster indirect_toast foreign_data tsearch foreign_key ok 161 + select_views 513 ms ok 162 + portals_p2 134 ms ok 163 + foreign_key 5808 ms ok 164 + cluster 1115 ms ok 165 + dependency 353 ms ok 166 + guc 289 ms ok 167 + bitmapops 990 ms ok 168 + combocid 164 ms ok 169 + tsearch 1955 ms ok 170 + tsdicts 277 ms ok 171 + foreign_data 1807 ms ok 172 + window 979 ms ok 173 + xmlmap 207 ms ok 174 + functional_deps 271 ms ok 175 + advisory_lock 133 ms ok 176 + indirect_toast 1210 ms ok 177 + equivclass 331 ms # parallel group (9 tests): jsonpath_encoding json_encoding jsonpath sqljson_jsontable sqljson json sqljson_queryfuncs jsonb_jsonpath jsonb ok 178 + json 364 ms ok 179 + jsonb 638 ms ok 180 + json_encoding 87 ms ok 181 + jsonpath 142 ms ok 182 + jsonpath_encoding 79 ms ok 183 + jsonb_jsonpath 501 ms ok 184 + sqljson 256 ms ok 185 + sqljson_queryfuncs 449 ms ok 186 + sqljson_jsontable 250 ms # parallel group (18 tests): prepare returning limit plancache conversion temp sequence copy2 polymorphism rowtypes truncate largeobject with domain rangefuncs xml plpgsql alter_table ok 187 + plancache 428 ms ok 188 + limit 425 ms ok 189 + plpgsql 3150 ms ok 190 + copy2 635 ms ok 191 + temp 569 ms ok 192 + domain 1205 ms ok 193 + rangefuncs 1238 ms ok 194 + prepare 135 ms ok 195 + conversion 456 ms ok 196 + truncate 856 ms ok 197 + alter_table 4315 ms ok 198 + sequence 610 ms ok 199 + polymorphism 760 ms ok 200 + rowtypes 827 ms ok 201 + returning 258 ms ok 202 + largeobject 962 ms ok 203 + with 1017 ms ok 204 + xml 2012 ms # parallel group (15 tests): hash_part reloptions explain partition_info predicate compression partition_merge memoize partition_split stats partition_aggregate tuplesort partition_join indexing partition_prune ok 205 + partition_merge 1204 ms ok 206 + partition_split 1709 ms ok 207 + partition_join 2921 ms ok 208 + partition_prune 3396 ms ok 209 + reloptions 215 ms ok 210 + hash_part 142 ms ok 211 + indexing 3246 ms ok 212 + partition_aggregate 2117 ms ok 213 + partition_info 304 ms ok 214 + tuplesort 2459 ms ok 215 + explain 241 ms ok 216 + compression 864 ms ok 217 + memoize 1259 ms ok 218 + stats 1848 ms ok 219 + predicate 340 ms # parallel group (2 tests): oidjoins event_trigger ok 220 + oidjoins 898 ms ok 221 + event_trigger 1015 ms ok 222 - event_trigger_login 109 ms ok 223 - fast_default 266 ms ok 224 - tablespace 981 ms 1..224 # All 224 tests passed. [10:40:16.892](65.330s) ok 5 - regression tests pass # Checking port 51296 # Found port 51296 Name: new_node Data directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/archives Connection string: port=51296 host=/tmp/fOGygtADtf Log file: /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log [10:40:16.912](0.020s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -A trust -N --wal-segsize 1 --allow-group-access --encoding SQL_ASCII --locale-provider libc The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: libc LC_COLLATE: C.UTF-8 LC_CTYPE: C.UTF-8 LC_MESSAGES: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C.UTF-8 LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata # Running: pg_dumpall --no-sync -d port=51295 host=/tmp/fOGygtADtf dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_6NgJ/dump1.sql ../src/bin/pg_dump/pg_dump_sort.c:204:31: runtime error: index 47 out of bounds for type 'int [47]' ==35561==Using libbacktrace symbolizer. #0 0x5556470b47ff in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:204 #1 0x5556470e6866 in pg_qsort ../src/include/lib/sort_template.h:364 #2 0x5556470b6ded in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #3 0x5556470ab420 in main ../src/bin/pg_dump/pg_dump.c:993 #4 0x7f9685335d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x55564706dd29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) pg_dumpall: error: pg_dump failed on database "regression", exiting [10:40:19.408](2.496s) not ok 6 - dump before running pg_upgrade [10:40:19.408](0.000s) # Failed test 'dump before running pg_upgrade' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 322. ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/does/not/exist/ -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/fOGygtADtf -p 51295 -P 51296 --copy --check check for "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/does/not/exist" failed: No such file or directory Failure, exiting [10:40:19.622](0.214s) ok 7 - run of pg_upgrade --check for new instance with incorrect binary path [10:40:19.622](0.000s) ok 8 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/fOGygtADtf -p 51295 -P 51296 --copy --check [10:40:20.713](1.090s) ok 9 - invalid database causes failure status (got 1 vs expected 1) [10:40:20.713](0.000s) ok 10 - invalid database causes failure stdout /(?^:invalid)/ [10:40:20.713](0.000s) ok 11 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_old_node.log -o --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 35922 ### Stopping node "old_node" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -m fast stop waiting for server to shut down... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/fOGygtADtf -p 51295 -P 51296 --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:40:23.397](2.684s) ok 12 - run of pg_upgrade --check for new instance [10:40:23.398](0.000s) ok 13 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync -d /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -b /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -B /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin -s /tmp/fOGygtADtf -p 51295 -P 51296 --copy Performing Consistency Checks ----------------------------- Checking cluster versions ok Checking database user is the install user ok Checking database connection settings ok Checking for prepared transactions ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for data type usage ok Creating dump of global objects ok Creating dump of database schemas *failure* Consult the last few lines of "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. Failure, exiting [10:40:26.693](3.296s) not ok 14 - run of pg_upgrade for new instance [10:40:26.694](0.000s) # Failed test 'run of pg_upgrade for new instance' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 440. [10:40:26.694](0.000s) not ok 15 - pg_upgrade_output.d/ removed after pg_upgrade success [10:40:26.694](0.000s) # Failed test 'pg_upgrade_output.d/ removed after pg_upgrade success' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 449. ### Starting node "new_node" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/log/002_pg_upgrade_new_node.log -o --cluster-name=new_node start waiting for server to start.... done server started # Postmaster PID for node "new_node" is 37046 [10:40:26.856](0.162s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16386.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/fOGygtADtf --port 51295 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/dump/pg_upgrade_dump_16386.custom" 'dbname='"'"'regression[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'"'"'' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16386.log" 2>&1 === EOF === [10:40:26.856](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16385.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/fOGygtADtf --port 51295 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/dump/pg_upgrade_dump_16385.custom" 'dbname='"'"'regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ'"'"'' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16385.log" 2>&1 === EOF === [10:40:26.856](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_internal.log === ----------------------------------------------------------------- pg_upgrade run on Wed Apr 24 10:40:23 2024 ----------------------------------------------------------------- Performing Consistency Checks ----------------------------- Checking cluster versions ok Checking database user is the install user ok Checking database connection settings ok Checking for prepared transactions ok Checking for contrib/isn with bigint-passing mismatch ok Checking for valid logical replication slots ok Checking for subscription state ok Checking for data type usage ok Creating dump of global objects ok Creating dump of database schemas *failure* Consult the last few lines of "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16387.log" for the probable cause of the failure. === EOF === [10:40:26.856](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16387.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/fOGygtADtf --port 51295 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/dump/pg_upgrade_dump_16387.custom" 'dbname=regression' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16387.log" 2>&1 ../src/bin/pg_dump/pg_dump_sort.c:204:31: runtime error: index 47 out of bounds for type 'int [47]' ==36931==Using libbacktrace symbolizer. #0 0x56227051b7ff in DOTypeNameCompare ../src/bin/pg_dump/pg_dump_sort.c:204 #1 0x56227054d996 in pg_qsort ../src/include/lib/sort_template.h:354 #2 0x56227051dded in sortDumpableObjectsByTypeName ../src/bin/pg_dump/pg_dump_sort.c:192 #3 0x562270512420 in main ../src/bin/pg_dump/pg_dump.c:993 #4 0x7f8282f0ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x5622704d4d29 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump+0x4dd29) Aborted (core dumped) === EOF === [10:40:26.856](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_utility.log === ----------------------------------------------------------------- pg_upgrade run on Wed Apr 24 10:40:23 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dumpall" --host /tmp/fOGygtADtf --port 51295 --username postgres --globals-only --quote-all-identifiers --binary-upgrade -f "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/dump/pg_upgrade_dump_globals.sql" >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_utility.log" 2>&1 === EOF === [10:40:26.856](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_1.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/fOGygtADtf --port 51295 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/dump/pg_upgrade_dump_1.custom" 'dbname=template1' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_1.log" 2>&1 === EOF === [10:40:26.856](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_5.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/fOGygtADtf --port 51295 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/dump/pg_upgrade_dump_5.custom" 'dbname=postgres' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_5.log" 2>&1 === EOF === [10:40:26.856](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16384.log === command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/fOGygtADtf --port 51295 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/dump/pg_upgrade_dump_16384.custom" 'dbname='"'"'regression\\"\\  !"#$%&\'"'"'()*+,-\\\\"\\\\\\'"'"'' >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_dump_16384.log" 2>&1 === EOF === [10:40:26.857](0.000s) # === contents of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_server.log === ----------------------------------------------------------------- pg_upgrade run on Wed Apr 24 10:40:23 2024 ----------------------------------------------------------------- command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_ctl" -w -l "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_server.log" -D "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata" -o "-p 51295 -b -c max_slot_wal_keep_size=-1 -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/tmp/fOGygtADtf'" start >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_server.log" 2>&1 waiting for server to start....2024-04-24 10:40:23.831 UTC [36508][postmaster] LOG: starting PostgreSQL 17devel on x86_64-linux, compiled by gcc-10.2.1, 64-bit 2024-04-24 10:40:23.831 UTC [36508][postmaster] LOG: listening on Unix socket "/tmp/fOGygtADtf/.s.PGSQL.51295" 2024-04-24 10:40:23.854 UTC [36513][startup] LOG: database system was shut down at 2024-04-24 10:40:22 UTC 2024-04-24 10:40:23.866 UTC [36508][postmaster] LOG: database system is ready to accept connections done server started 2024-04-24 10:40:23.914 UTC [36530][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:23.914 UTC [36530][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:23.914 UTC [36530][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:23.919 UTC [36530][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:40:23.925 UTC [36532][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:23.925 UTC [36532][client backend] [[unknown]][1/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:23.925 UTC [36532][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:23.926 UTC [36532][client backend] [002_pg_upgrade.pl][1/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:23.927 UTC [36532][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:40:23.928 UTC [36532][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:40:23.942 UTC [36538][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:23.944 UTC [36538][client backend] [[unknown]][2/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:23.944 UTC [36538][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:23.947 UTC [36538][client backend] [002_pg_upgrade.pl][2/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:23.949 UTC [36538][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:40:23.955 UTC [36538][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:40:23.972 UTC [36539][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:23.973 UTC [36539][client backend] [[unknown]][3/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:23.973 UTC [36539][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:23.974 UTC [36539][client backend] [002_pg_upgrade.pl][3/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:23.974 UTC [36539][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:40:23.980 UTC [36540][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:23.981 UTC [36540][client backend] [[unknown]][4/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:23.981 UTC [36540][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:23.982 UTC [36540][client backend] [002_pg_upgrade.pl][4/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:23.982 UTC [36540][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:40:23.984 UTC [36540][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:40:23.985 UTC [36541][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:23.986 UTC [36541][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:23.986 UTC [36541][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:23.987 UTC [36541][client backend] [002_pg_upgrade.pl][5/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:23.987 UTC [36541][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:40:23.988 UTC [36541][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.002 user=postgres database=template1 host=[local] 2024-04-24 10:40:23.989 UTC [36542][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:23.990 UTC [36542][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:23.990 UTC [36542][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:23.995 UTC [36539][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.027 user=postgres database=template1 host=[local] 2024-04-24 10:40:23.995 UTC [36542][client backend] [002_pg_upgrade.pl][6/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:23.996 UTC [36542][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:40:24.011 UTC [36542][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.021 user=postgres database=postgres host=[local] 2024-04-24 10:40:24.026 UTC [36545][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.026 UTC [36545][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.026 UTC [36545][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.027 UTC [36545][client backend] [002_pg_upgrade.pl][7/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.028 UTC [36545][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:40:24.030 UTC [36545][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=postgres host=[local] 2024-04-24 10:40:24.051 UTC [36552][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.051 UTC [36552][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.051 UTC [36552][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.052 UTC [36552][client backend] [002_pg_upgrade.pl][8/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.052 UTC [36552][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:40:24.054 UTC [36552][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=postgres host=[local] 2024-04-24 10:40:24.058 UTC [36553][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.059 UTC [36553][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.059 UTC [36553][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.066 UTC [36553][client backend] [002_pg_upgrade.pl][9/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.067 UTC [36553][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:40:24.083 UTC [36553][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.027 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:40:24.089 UTC [36554][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.089 UTC [36554][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.089 UTC [36554][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.090 UTC [36554][client backend] [002_pg_upgrade.pl][10/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.091 UTC [36554][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:40:24.093 UTC [36554][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:40:24.099 UTC [36555][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.100 UTC [36555][client backend] [[unknown]][11/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.100 UTC [36555][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.105 UTC [36555][client backend] [002_pg_upgrade.pl][11/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.105 UTC [36555][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:40:24.107 UTC [36555][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:40:24.126 UTC [36557][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.127 UTC [36557][client backend] [[unknown]][12/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.127 UTC [36557][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:40:24.131 UTC [36557][client backend] [002_pg_upgrade.pl][12/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.132 UTC [36557][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:40:24.145 UTC [36557][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.026 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:40:24.147 UTC [36564][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.147 UTC [36564][client backend] [[unknown]][13/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.147 UTC [36564][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:40:24.152 UTC [36564][client backend] [002_pg_upgrade.pl][13/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.153 UTC [36564][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:40:24.160 UTC [36564][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.016 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:40:24.178 UTC [36566][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.179 UTC [36566][client backend] [[unknown]][14/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.179 UTC [36566][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:40:24.180 UTC [36566][client backend] [002_pg_upgrade.pl][14/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.180 UTC [36566][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:40:24.186 UTC [36566][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.015 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:40:24.192 UTC [36570][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.192 UTC [36570][client backend] [[unknown]][15/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.192 UTC [36570][client backend] [[unknown]][15/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.200 UTC [36570][client backend] [002_pg_upgrade.pl][15/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.200 UTC [36570][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:40:24.206 UTC [36570][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.017 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:40:24.220 UTC [36576][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.221 UTC [36576][client backend] [[unknown]][16/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.221 UTC [36576][client backend] [[unknown]][16/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.221 UTC [36576][client backend] [002_pg_upgrade.pl][16/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.223 UTC [36576][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:40:24.235 UTC [36576][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.016 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:40:24.246 UTC [36580][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.247 UTC [36580][client backend] [[unknown]][17/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.247 UTC [36580][client backend] [[unknown]][17/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.248 UTC [36580][client backend] [002_pg_upgrade.pl][17/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.248 UTC [36580][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:40:24.250 UTC [36580][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:40:24.263 UTC [36585][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.263 UTC [36585][client backend] [[unknown]][18/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.263 UTC [36585][client backend] [[unknown]][18/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.272 UTC [36585][client backend] [002_pg_upgrade.pl][18/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.273 UTC [36585][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:40:24.315 UTC [36585][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.056 user=postgres database=regression host=[local] 2024-04-24 10:40:24.334 UTC [36599][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.335 UTC [36599][client backend] [[unknown]][19/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.335 UTC [36599][client backend] [[unknown]][19/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.336 UTC [36599][client backend] [002_pg_upgrade.pl][19/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.342 UTC [36599][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:40:24.345 UTC [36599][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.018 user=postgres database=regression host=[local] 2024-04-24 10:40:24.350 UTC [36609][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.351 UTC [36609][client backend] [[unknown]][20/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.351 UTC [36609][client backend] [[unknown]][20/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.352 UTC [36609][client backend] [002_pg_upgrade.pl][20/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.352 UTC [36609][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:40:24.354 UTC [36609][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=regression host=[local] 2024-04-24 10:40:24.358 UTC [36612][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.359 UTC [36612][client backend] [[unknown]][21/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.359 UTC [36612][client backend] [[unknown]][21/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.361 UTC [36612][client backend] [002_pg_upgrade.pl][21/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.362 UTC [36612][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:40:24.362 UTC [36612][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:40:24.378 UTC [36613][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.378 UTC [36613][client backend] [[unknown]][22/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.378 UTC [36613][client backend] [[unknown]][22/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.381 UTC [36613][client backend] [002_pg_upgrade.pl][22/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.383 UTC [36613][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:40:24.386 UTC [36613][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.009 user=postgres database=template1 host=[local] 2024-04-24 10:40:24.388 UTC [36615][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.396 UTC [36615][client backend] [[unknown]][23/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.396 UTC [36615][client backend] [[unknown]][23/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.396 UTC [36615][client backend] [002_pg_upgrade.pl][23/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.397 UTC [36615][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:40:24.399 UTC [36615][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.010 user=postgres database=postgres host=[local] 2024-04-24 10:40:24.400 UTC [36622][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.401 UTC [36622][client backend] [[unknown]][24/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.401 UTC [36622][client backend] [[unknown]][24/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.403 UTC [36622][client backend] [002_pg_upgrade.pl][24/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.403 UTC [36622][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:40:24.411 UTC [36622][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:40:24.419 UTC [36623][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.420 UTC [36623][client backend] [[unknown]][25/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.420 UTC [36623][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:40:24.426 UTC [36623][client backend] [002_pg_upgrade.pl][25/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.427 UTC [36623][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:40:24.429 UTC [36623][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.011 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:40:24.435 UTC [36630][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.436 UTC [36630][client backend] [[unknown]][26/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.436 UTC [36630][client backend] [[unknown]][26/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.441 UTC [36630][client backend] [002_pg_upgrade.pl][26/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.441 UTC [36630][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:40:24.443 UTC [36630][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.013 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:40:24.451 UTC [36634][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.451 UTC [36634][client backend] [[unknown]][27/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.451 UTC [36634][client backend] [[unknown]][27/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.453 UTC [36634][client backend] [002_pg_upgrade.pl][27/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.455 UTC [36634][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:40:24.457 UTC [36634][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:40:24.461 UTC [36639][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.461 UTC [36639][client backend] [[unknown]][28/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.461 UTC [36639][client backend] [[unknown]][28/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.464 UTC [36639][client backend] [002_pg_upgrade.pl][28/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.464 UTC [36639][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:40:24.467 UTC [36639][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:40:24.468 UTC [36639][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.008 user=postgres database=template1 host=[local] 2024-04-24 10:40:24.477 UTC [36642][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.477 UTC [36642][client backend] [[unknown]][29/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.477 UTC [36642][client backend] [[unknown]][29/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.478 UTC [36642][client backend] [002_pg_upgrade.pl][29/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.478 UTC [36642][client backend] [002_pg_upgrade.pl][29/3:0] LOG: statement: SELECT datname, datallowconn FROM pg_catalog.pg_database 2024-04-24 10:40:24.479 UTC [36642][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.002 user=postgres database=template1 host=[local] 2024-04-24 10:40:24.480 UTC [36644][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.481 UTC [36644][client backend] [[unknown]][30/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.481 UTC [36644][client backend] [[unknown]][30/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.481 UTC [36644][client backend] [002_pg_upgrade.pl][30/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.482 UTC [36644][client backend] [002_pg_upgrade.pl][30/3:0] LOG: statement: SELECT * FROM pg_catalog.pg_prepared_xacts 2024-04-24 10:40:24.483 UTC [36644][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=template1 host=[local] 2024-04-24 10:40:24.484 UTC [36645][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.485 UTC [36645][client backend] [[unknown]][31/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.485 UTC [36645][client backend] [[unknown]][31/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.486 UTC [36645][client backend] [002_pg_upgrade.pl][31/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.486 UTC [36645][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:40:24.488 UTC [36645][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:40:24.489 UTC [36645][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:40:24.490 UTC [36648][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.491 UTC [36648][client backend] [[unknown]][32/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.491 UTC [36648][client backend] [[unknown]][32/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.491 UTC [36648][client backend] [002_pg_upgrade.pl][32/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.492 UTC [36648][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:40:24.494 UTC [36648][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=postgres host=[local] 2024-04-24 10:40:24.495 UTC [36649][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.496 UTC [36649][client backend] [[unknown]][33/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.496 UTC [36649][client backend] [[unknown]][33/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.496 UTC [36649][client backend] [002_pg_upgrade.pl][33/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.497 UTC [36649][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:40:24.499 UTC [36649][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.003 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:40:24.501 UTC [36652][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.501 UTC [36652][client backend] [[unknown]][34/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.501 UTC [36652][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:40:24.506 UTC [36652][client backend] [002_pg_upgrade.pl][34/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.507 UTC [36652][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:40:24.510 UTC [36652][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.009 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:40:24.516 UTC [36653][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.516 UTC [36653][client backend] [[unknown]][35/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.516 UTC [36653][client backend] [[unknown]][35/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.517 UTC [36653][client backend] [002_pg_upgrade.pl][35/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.518 UTC [36653][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:40:24.522 UTC [36653][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.006 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:40:24.524 UTC [36656][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.524 UTC [36656][client backend] [[unknown]][36/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.524 UTC [36656][client backend] [[unknown]][36/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.525 UTC [36656][client backend] [002_pg_upgrade.pl][36/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.525 UTC [36656][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:40:24.528 UTC [36656][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=regression host=[local] 2024-04-24 10:40:24.534 UTC [36659][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.534 UTC [36659][client backend] [[unknown]][37/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.534 UTC [36659][client backend] [[unknown]][37/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.535 UTC [36659][client backend] [002_pg_upgrade.pl][37/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.535 UTC [36659][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:40:24.573 UTC [36659][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:40:24.611 UTC [36659][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.077 user=postgres database=template1 host=[local] 2024-04-24 10:40:24.627 UTC [36663][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.628 UTC [36663][client backend] [[unknown]][38/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.628 UTC [36663][client backend] [[unknown]][38/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.628 UTC [36663][client backend] [002_pg_upgrade.pl][38/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.629 UTC [36663][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:40:24.673 UTC [36663][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:40:24.696 UTC [36663][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.073 user=postgres database=postgres host=[local] 2024-04-24 10:40:24.707 UTC [36671][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.708 UTC [36671][client backend] [[unknown]][39/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.708 UTC [36671][client backend] [[unknown]][39/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.708 UTC [36671][client backend] [002_pg_upgrade.pl][39/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.709 UTC [36671][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:40:24.743 UTC [36671][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:40:24.774 UTC [36671][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.071 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:40:24.776 UTC [36684][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.776 UTC [36684][client backend] [[unknown]][40/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.776 UTC [36684][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:40:24.786 UTC [36684][client backend] [002_pg_upgrade.pl][40/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.787 UTC [36684][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:40:24.845 UTC [36684][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:40:24.859 UTC [36684][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.084 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:40:24.869 UTC [36701][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.869 UTC [36701][client backend] [[unknown]][41/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.869 UTC [36701][client backend] [[unknown]][41/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.878 UTC [36701][client backend] [002_pg_upgrade.pl][41/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.878 UTC [36701][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:40:24.906 UTC [36701][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:40:24.923 UTC [36701][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.054 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:40:24.935 UTC [36724][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:24.935 UTC [36724][client backend] [[unknown]][42/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:24.935 UTC [36724][client backend] [[unknown]][42/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:40:24.943 UTC [36724][client backend] [002_pg_upgrade.pl][42/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:24.944 UTC [36724][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:40:25.133 UTC [36724][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:40:25.201 UTC [36724][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.265 user=postgres database=regression host=[local] 2024-04-24 10:40:25.214 UTC [36778][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:25.215 UTC [36778][client backend] [[unknown]][43/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:25.215 UTC [36778][client backend] [[unknown]][43/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:25.216 UTC [36778][client backend] [002_pg_upgrade.pl][43/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.216 UTC [36778][client backend] [002_pg_upgrade.pl][43/3:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:40:25.216 UTC [36778][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:40:25.218 UTC [36778][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:40:25.219 UTC [36778][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:40:25.219 UTC [36778][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:40:25.221 UTC [36778][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:40:25.221 UTC [36778][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:40:25.223 UTC [36778][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:40:25.298 UTC [36786][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:25.299 UTC [36786][client backend] [[unknown]][44/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:25.299 UTC [36786][client backend] [[unknown]][44/1:0] LOG: connection authorized: user=postgres database=template1 application_name=002_pg_upgrade.pl 2024-04-24 10:40:25.300 UTC [36786][client backend] [002_pg_upgrade.pl][44/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.300 UTC [36786][client backend] [002_pg_upgrade.pl][44/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:40:25.300 UTC [36786][client backend] [002_pg_upgrade.pl][44/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.300 UTC [36786][client backend] [002_pg_upgrade.pl][44/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:40:25.300 UTC [36786][client backend] [002_pg_upgrade.pl][44/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:40:25.300 UTC [36786][client backend] [002_pg_upgrade.pl][44/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/14:0] LOG: statement: SET row_security = off 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: BEGIN 2024-04-24 10:40:25.301 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:40:25.301 UTC [36786][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:40:25.302 UTC [36786][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:40:25.303 UTC [36786][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:40:25.305 UTC [36786][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:40:25.306 UTC [36786][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:40:25.324 UTC [36786][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:40:25.348 UTC [36786][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:40:25.354 UTC [36786][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:40:25.365 UTC [36786][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:40:25.367 UTC [36786][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:40:25.368 UTC [36786][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:40:25.369 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:40:25.369 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:40:25.370 UTC [36786][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:40:25.370 UTC [36786][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:40:25.370 UTC [36786][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:40:25.371 UTC [36786][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:40:25.371 UTC [36786][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:40:25.371 UTC [36786][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:40:25.372 UTC [36786][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:40:25.372 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:40:25.374 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:40:25.375 UTC [36786][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:40:25.376 UTC [36786][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:40:25.376 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:40:25.376 UTC [36786][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:40:25.376 UTC [36786][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:40:25.377 UTC [36786][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:40:25.380 UTC [36786][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:40:25.383 UTC [36786][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:40:25.384 UTC [36786][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:40:25.384 UTC [36786][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:40:25.385 UTC [36786][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:40:25.386 UTC [36786][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:40:25.386 UTC [36786][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:40:25.387 UTC [36786][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:40:25.387 UTC [36786][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:40:25.388 UTC [36786][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:40:25.388 UTC [36786][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:40:25.389 UTC [36786][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:40:25.389 UTC [36786][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:40:25.395 UTC [36786][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:40:25.396 UTC [36786][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:40:25.398 UTC [36786][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:40:25.415 UTC [36786][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:40:25.419 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:40:25.420 UTC [36786][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:40:25.422 UTC [36786][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:40:25.423 UTC [36786][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:40:25.423 UTC [36786][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:40:25.424 UTC [36786][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:40:25.424 UTC [36786][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:40:25.425 UTC [36786][client backend] [002_pg_upgrade.pl][44/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:40:25.425 UTC [36786][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:40:25.440 UTC [36786][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.165 user=postgres database=template1 host=[local] 2024-04-24 10:40:25.498 UTC [36823][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:25.499 UTC [36823][client backend] [[unknown]][45/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:25.499 UTC [36823][client backend] [[unknown]][45/1:0] LOG: connection authorized: user=postgres database=postgres application_name=002_pg_upgrade.pl 2024-04-24 10:40:25.500 UTC [36823][client backend] [002_pg_upgrade.pl][45/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:40:25.501 UTC [36823][client backend] [002_pg_upgrade.pl][45/14:0] LOG: statement: SET row_security = off 2024-04-24 10:40:25.502 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: BEGIN 2024-04-24 10:40:25.502 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:40:25.502 UTC [36823][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:40:25.503 UTC [36823][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:40:25.504 UTC [36823][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:40:25.505 UTC [36823][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:40:25.505 UTC [36823][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:40:25.540 UTC [36823][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:40:25.551 UTC [36823][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:40:25.559 UTC [36823][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:40:25.559 UTC [36823][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:40:25.566 UTC [36823][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:40:25.568 UTC [36823][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:40:25.569 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:40:25.569 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:40:25.570 UTC [36823][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:40:25.570 UTC [36823][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:40:25.570 UTC [36823][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:40:25.571 UTC [36823][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:40:25.571 UTC [36823][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:40:25.572 UTC [36823][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:40:25.572 UTC [36823][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:40:25.572 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:40:25.576 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:40:25.577 UTC [36823][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:40:25.580 UTC [36823][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:40:25.581 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:40:25.581 UTC [36823][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:40:25.581 UTC [36823][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:40:25.582 UTC [36823][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:40:25.591 UTC [36823][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:40:25.594 UTC [36823][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:40:25.594 UTC [36823][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:40:25.599 UTC [36823][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:40:25.599 UTC [36823][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:40:25.600 UTC [36823][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:40:25.601 UTC [36823][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:40:25.602 UTC [36823][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:40:25.602 UTC [36823][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:40:25.602 UTC [36823][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:40:25.606 UTC [36823][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:40:25.607 UTC [36823][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:40:25.607 UTC [36823][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:40:25.620 UTC [36823][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:40:25.621 UTC [36823][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:40:25.622 UTC [36823][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:40:25.639 UTC [36823][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:40:25.642 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:40:25.642 UTC [36823][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:40:25.643 UTC [36823][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:40:25.650 UTC [36823][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:40:25.651 UTC [36823][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:40:25.651 UTC [36823][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:40:25.652 UTC [36823][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:40:25.652 UTC [36823][client backend] [002_pg_upgrade.pl][45/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:40:25.652 UTC [36823][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:40:25.662 UTC [36823][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.167 user=postgres database=postgres host=[local] 2024-04-24 10:40:25.700 UTC [36853][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:25.700 UTC [36853][client backend] [[unknown]][46/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:25.700 UTC [36853][client backend] [[unknown]][46/1:0] LOG: connection authorized: user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ application_name=002_pg_upgrade.pl 2024-04-24 10:40:25.702 UTC [36853][client backend] [002_pg_upgrade.pl][46/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.703 UTC [36853][client backend] [002_pg_upgrade.pl][46/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:40:25.703 UTC [36853][client backend] [002_pg_upgrade.pl][46/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.704 UTC [36853][client backend] [002_pg_upgrade.pl][46/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:40:25.704 UTC [36853][client backend] [002_pg_upgrade.pl][46/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:40:25.705 UTC [36853][client backend] [002_pg_upgrade.pl][46/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:40:25.706 UTC [36853][client backend] [002_pg_upgrade.pl][46/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:40:25.706 UTC [36853][client backend] [002_pg_upgrade.pl][46/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:40:25.707 UTC [36853][client backend] [002_pg_upgrade.pl][46/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:40:25.707 UTC [36853][client backend] [002_pg_upgrade.pl][46/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:40:25.707 UTC [36853][client backend] [002_pg_upgrade.pl][46/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:40:25.708 UTC [36853][client backend] [002_pg_upgrade.pl][46/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:40:25.708 UTC [36853][client backend] [002_pg_upgrade.pl][46/14:0] LOG: statement: SET row_security = off 2024-04-24 10:40:25.708 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: BEGIN 2024-04-24 10:40:25.708 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:40:25.708 UTC [36853][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:40:25.710 UTC [36853][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:40:25.711 UTC [36853][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:40:25.712 UTC [36853][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:40:25.713 UTC [36853][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:40:25.720 UTC [36853][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:40:25.727 UTC [36853][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:40:25.732 UTC [36853][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:40:25.732 UTC [36853][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:40:25.734 UTC [36853][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:40:25.735 UTC [36853][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:40:25.736 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:40:25.736 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:40:25.737 UTC [36853][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:40:25.737 UTC [36853][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:40:25.737 UTC [36853][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:40:25.738 UTC [36853][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:40:25.744 UTC [36853][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:40:25.745 UTC [36853][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:40:25.745 UTC [36853][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:40:25.745 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:40:25.748 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:40:25.748 UTC [36853][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:40:25.749 UTC [36853][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:40:25.749 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:40:25.750 UTC [36853][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:40:25.750 UTC [36853][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:40:25.752 UTC [36853][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:40:25.754 UTC [36853][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:40:25.757 UTC [36853][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:40:25.757 UTC [36853][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:40:25.758 UTC [36853][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:40:25.759 UTC [36853][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:40:25.759 UTC [36853][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:40:25.760 UTC [36853][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:40:25.760 UTC [36853][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:40:25.761 UTC [36853][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:40:25.761 UTC [36853][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:40:25.762 UTC [36853][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:40:25.762 UTC [36853][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:40:25.762 UTC [36853][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:40:25.766 UTC [36853][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:40:25.768 UTC [36853][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:40:25.768 UTC [36853][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:40:25.779 UTC [36853][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:40:25.782 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:40:25.783 UTC [36853][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:40:25.784 UTC [36853][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:40:25.784 UTC [36853][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:40:25.784 UTC [36853][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:40:25.785 UTC [36853][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:40:25.785 UTC [36853][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:40:25.785 UTC [36853][client backend] [002_pg_upgrade.pl][46/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:40:25.785 UTC [36853][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:40:25.795 UTC [36853][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.095 user=postgres database=regression\"\  !"#$%&'()*+,-\\"\\\ host=[local] 2024-04-24 10:40:25.843 UTC [36871][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:25.843 UTC [36871][client backend] [[unknown]][47/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:25.843 UTC [36871][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:40:25.844 UTC [36871][client backend] [002_pg_upgrade.pl][47/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.844 UTC [36871][client backend] [002_pg_upgrade.pl][47/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/14:0] LOG: statement: SET row_security = off 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: BEGIN 2024-04-24 10:40:25.845 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:40:25.845 UTC [36871][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:40:25.850 UTC [36871][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:40:25.851 UTC [36871][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:40:25.852 UTC [36871][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:40:25.852 UTC [36871][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:40:25.868 UTC [36871][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:40:25.878 UTC [36871][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:40:25.885 UTC [36871][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:40:25.886 UTC [36871][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:40:25.888 UTC [36871][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:40:25.889 UTC [36871][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:40:25.890 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:40:25.890 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:40:25.891 UTC [36871][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:40:25.893 UTC [36871][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:40:25.894 UTC [36871][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:40:25.896 UTC [36871][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:40:25.898 UTC [36871][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:40:25.899 UTC [36871][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:40:25.899 UTC [36871][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:40:25.899 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:40:25.902 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:40:25.902 UTC [36871][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:40:25.907 UTC [36871][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:40:25.908 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:40:25.909 UTC [36871][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:40:25.910 UTC [36871][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:40:25.911 UTC [36871][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:40:25.914 UTC [36871][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:40:25.922 UTC [36871][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:40:25.927 UTC [36871][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:40:25.929 UTC [36871][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:40:25.929 UTC [36871][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:40:25.930 UTC [36871][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:40:25.931 UTC [36871][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:40:25.931 UTC [36871][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:40:25.932 UTC [36871][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:40:25.932 UTC [36871][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:40:25.933 UTC [36871][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:40:25.934 UTC [36871][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:40:25.935 UTC [36871][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:40:25.944 UTC [36871][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:40:25.945 UTC [36871][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:40:25.945 UTC [36871][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:40:25.958 UTC [36871][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:40:25.962 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:40:25.962 UTC [36871][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:40:25.963 UTC [36871][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:40:25.964 UTC [36871][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:40:25.964 UTC [36871][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:40:25.964 UTC [36871][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:40:25.965 UTC [36871][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:40:25.965 UTC [36871][client backend] [002_pg_upgrade.pl][47/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:40:25.965 UTC [36871][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:40:25.981 UTC [36871][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.141 user=postgres database=regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ host=[local] 2024-04-24 10:40:26.018 UTC [36898][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:26.019 UTC [36898][client backend] [[unknown]][48/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:26.019 UTC [36898][client backend] [[unknown]][48/1:0] LOG: connection authorized: user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ application_name=002_pg_upgrade.pl 2024-04-24 10:40:26.020 UTC [36898][client backend] [002_pg_upgrade.pl][48/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:26.020 UTC [36898][client backend] [002_pg_upgrade.pl][48/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:40:26.020 UTC [36898][client backend] [002_pg_upgrade.pl][48/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/14:0] LOG: statement: SET row_security = off 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: BEGIN 2024-04-24 10:40:26.021 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:40:26.021 UTC [36898][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:40:26.022 UTC [36898][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:40:26.023 UTC [36898][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:40:26.024 UTC [36898][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:40:26.024 UTC [36898][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:40:26.029 UTC [36898][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:40:26.043 UTC [36898][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:40:26.054 UTC [36898][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:40:26.055 UTC [36898][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:40:26.056 UTC [36898][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:40:26.058 UTC [36898][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:40:26.070 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:40:26.071 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:40:26.072 UTC [36898][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:40:26.072 UTC [36898][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:40:26.073 UTC [36898][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:40:26.073 UTC [36898][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:40:26.073 UTC [36898][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:40:26.074 UTC [36898][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:40:26.074 UTC [36898][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:40:26.074 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:40:26.077 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:40:26.077 UTC [36898][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:40:26.078 UTC [36898][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:40:26.078 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:40:26.079 UTC [36898][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:40:26.079 UTC [36898][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:40:26.080 UTC [36898][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:40:26.082 UTC [36898][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:40:26.094 UTC [36898][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:40:26.095 UTC [36898][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:40:26.095 UTC [36898][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:40:26.096 UTC [36898][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:40:26.097 UTC [36898][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:40:26.098 UTC [36898][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:40:26.098 UTC [36898][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:40:26.099 UTC [36898][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:40:26.099 UTC [36898][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:40:26.100 UTC [36898][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:40:26.100 UTC [36898][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:40:26.100 UTC [36898][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:40:26.104 UTC [36898][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:40:26.114 UTC [36898][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:40:26.115 UTC [36898][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:40:26.133 UTC [36898][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:40:26.135 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: SELECT pg_catalog.current_schemas(false) 2024-04-24 10:40:26.136 UTC [36898][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:40:26.136 UTC [36898][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:40:26.137 UTC [36898][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:40:26.137 UTC [36898][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:40:26.138 UTC [36898][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:40:26.138 UTC [36898][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:40:26.138 UTC [36898][client backend] [002_pg_upgrade.pl][48/15:0] LOG: statement: EXECUTE getColumnACLs('6100') 2024-04-24 10:40:26.138 UTC [36898][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:40:26.148 UTC [36898][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.141 user=postgres database=regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ host=[local] 2024-04-24 10:40:26.214 UTC [36943][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-04-24 10:40:26.215 UTC [36943][client backend] [[unknown]][49/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata/pg_hba.conf:117) 2024-04-24 10:40:26.215 UTC [36943][client backend] [[unknown]][49/1:0] LOG: connection authorized: user=postgres database=regression application_name=002_pg_upgrade.pl 2024-04-24 10:40:26.218 UTC [36943][client backend] [002_pg_upgrade.pl][49/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:26.218 UTC [36943][client backend] [002_pg_upgrade.pl][49/3:0] LOG: statement: SELECT pg_catalog.pg_is_in_recovery() 2024-04-24 10:40:26.221 UTC [36943][client backend] [002_pg_upgrade.pl][49/4:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); 2024-04-24 10:40:26.221 UTC [36943][client backend] [002_pg_upgrade.pl][49/5:0] LOG: statement: SET DATESTYLE = ISO 2024-04-24 10:40:26.221 UTC [36943][client backend] [002_pg_upgrade.pl][49/6:0] LOG: statement: SET INTERVALSTYLE = POSTGRES 2024-04-24 10:40:26.221 UTC [36943][client backend] [002_pg_upgrade.pl][49/7:0] LOG: statement: SET extra_float_digits TO 3 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/8:0] LOG: statement: SET synchronize_seqscans TO off 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/9:0] LOG: statement: SET statement_timeout = 0 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/10:0] LOG: statement: SET lock_timeout = 0 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/11:0] LOG: statement: SET idle_in_transaction_session_timeout = 0 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/12:0] LOG: statement: SET transaction_timeout = 0 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/13:0] LOG: statement: SET quote_all_identifiers = true 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/14:0] LOG: statement: SET row_security = off 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: BEGIN 2024-04-24 10:40:26.222 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY 2024-04-24 10:40:26.222 UTC [36943][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:40:26.224 UTC [36943][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:40:26.225 UTC [36943][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:40:26.226 UTC [36943][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:40:26.227 UTC [36943][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:40:26.260 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: LOCK TABLE "public"."char_tbl", "public"."float8_tbl", "public"."int2_tbl", "public"."int4_tbl", "public"."int8_tbl", "public"."point_tbl", "public"."text_tbl", "public"."varchar_tbl", "public"."onek", "public"."onek2", "public"."tenk1", "public"."tenk2", "public"."person", "public"."emp", "public"."student", "public"."stud_emp", "public"."road", "public"."ihighway", "public"."shighway", "public"."float4_tbl", "public"."num_data", "public"."num_exp_add", "public"."num_exp_sub", "public"."num_exp_div", "public"."num_exp_mul", "public"."numrange_test", "public"."money_data", "public"."num_exp_sqrt", "public"."num_exp_ln", "public"."num_exp_log10", "public"."num_exp_power_10_ln", "public"."num_result", "public"."textrange_test", "public"."test_range_gist", "public"."bit_defaults", "public"."num_input_test", "public"."num_typemod_test", "public"."test_range_spgist", "public"."test_range_excl", "public"."time_tbl", "public"."inet_tbl", "public"."timestamptz_tbl", "public"."line_tbl", "public"."lseg_tbl", "public"."circle_tbl", "public"."timetz_tbl", "public"."box_tbl", "public"."polygon_tbl", "public"."interval_tbl", "public"."timestamp_tbl", "public"."date_tbl", "public"."path_tbl", "public"."quad_poly_tbl", "public"."nummultirange_test", "public"."quad_box_tbl", "public"."quad_box_tbl_ord_seq1", "public"."infinite_interval_tbl", "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"."quad_point_tbl", "public"."tbl_include_reg", "public"."real_city", "public"."ramp", "public"."tbl_include_unique1", "public"."tbl_include_unique2", "public"."tbl_include_pk", "public"."tbl_include_box", "public"."tbl_include_box_pk", "public"."view_base_table", "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"."a", "public"."b", "public"."default_tbl", "public"."c", "public"."d", "public"."defaultexpr_tbl", "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"."log_table", "public"."main_table", "public"."persons3", "public"."copy_tbl", "public"."notnull_tbl2", "public"."notnull_tbl3", "public"."invalid_check_con", "public"."invalid_check_con_child", "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"."pp1", "public"."cc1", "public"."cc2", "public"."trigger_parted", "public"."trigger_parted_p1", "public"."trigger_parted_p1_1", "public"."trigger_parted_p2", "public"."trigger_parted_p2_2", "public"."aggtest", "public"."bt_i4_heap", "public"."hash_i4_heap", "public"."arrtest", "public"."subselect_tbl", "public"."xacttest", "public"."hash_name_heap", "public"."hash_txt_heap", "public"."hash_f8_heap", "public"."bt_name_heap", "public"."bt_txt_heap", "public"."bt_f8_heap", "public"."array_op_test", "public"."dedup_unique_test_table", "public"."agg_data_2k", "public"."agg_data_20k", "public"."sj", "public"."sk", "public"."emp1", "public"."sl", "public"."sj_t1", "public"."sj_t2", "public"."sj_t3", "public"."sj_t4", "public"."btree_tall_tbl", "public"."delete_test_table", "public"."test_tablesample", "public"."gist_point_tbl", "public"."gtest0", "public"."itest1", "public"."gin_test_tbl", "public"."mvtest_t", "public"."itest2", "public"."itest3", "public"."gtest1", "public"."brintest", "public"."spgist_point_tbl", "public"."itest4", "public"."brinopers", "public"."itest9", "public"."gtest1_1", "public"."itest10", "public"."itest11", "public"."gtestx", "public"."itest13", "public"."itest5", "public"."gtestxx_1", "public"."gtestxx_3", "public"."gtestxx_4", "public"."itest17", "public"."gtesty", "public"."gtest1_y", "public"."gtest3", "public"."gtest3a", "public"."itest18", "public"."gtest2", "public"."gtest_tableoid", "public"."itest6", "public"."itest7", "public"."itest7a", "public"."gtest10", "public"."itest7b", "public"."itest7c", "public"."itest7d", "public"."itest7e", "public"."gtest10a", "public"."gtest20", "public"."gtest20a", "public"."bug_16784", "public"."gtest20b", "public"."gtest21a", "public"."gtest21b", "public"."pitest1", "public"."gtest22a", "public"."pitest1_p1", "public"."gtest22b", "public"."pitest1_p2", "public"."gtest22c", "public"."pitest2", "public"."pitest2_p2", "public"."spgist_box_tbl", "public"."gs_data_1", "public"."itest14", "public"."spgist_text_tbl", "public"."gtest23p", "public"."gtest23q", "public"."gtest24", "public"."gtest_parent", "public"."gtest_child", "public"."gtest_child2", "public"."gtest_child3", "public"."brin_summarize", "public"."brin_test", "public"."gtest25", "public"."gtest27", "public"."gtest29", "public"."spgist_domain_tbl", "public"."spgist_unlogged_tbl", "public"."gtest30", "public"."gtest30_1", "public"."gtest26", "public"."gtest28a", "public"."gtest28b", "regress_rls_schema"."rls_tbl", "regress_rls_schema"."rls_tbl_force", "public"."datdba_only", "public"."brintest_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"."point_table", "public"."temporal_rng2", "public"."temporal_fk_rng2rng", "public"."temporal_fk2_rng2rng", "public"."temporal_fk_mltrng2mltrng", "public"."temporal_fk2_mltrng2mltrng", "public"."temporal_box", "public"."rtest_t1", "public"."rtest_t2", "public"."rtest_t3", "public"."rtest_system", "public"."rtest_interface", "public"."rtest_person", "public"."rtest_admin", "public"."rtest_emp", "public"."rtest_emplog", "public"."rtest_empmass", "public"."rtest_t4", "public"."rtest_t5", "public"."rtest_t6", "public"."rtest_t7", "public"."rtest_t8", "public"."rtest_t9", "public"."rtest_order1", "public"."rtest_order2", "public"."rtest_nothn1", "public"."rtest_nothn2", "public"."rtest_nothn3", "public"."rtest_nothn4", "public"."rtest_view1", "public"."rtest_view2", "public"."rtest_view3", "public"."rtest_view4", "public"."ndistinct", "public"."rtest_comp", "public"."rtest_unitfact", "public"."shoe_data", "public"."shoelace_data", "public"."unit", "public"."shoelace_log", "public"."shoelace_arrive", "public"."shoelace_ok", "public"."ruletest_tbl", "public"."ruletest_tbl2", "public"."rule_and_refint_t1", "public"."rule_and_refint_t2", "public"."rule_and_refint_t3", "public"."rules_src", "public"."rules_log", "public"."functional_dependencies", "public"."rule_merge1", "public"."rule_merge2", "public"."mcv_lists", "public"."mcv_lists_arrays", "public"."mcv_lists_bool", "public"."parallel_vacuum_table", "testxmlschema"."test1", "testxmlschema"."test2", "public"."clstr_tst_s", "public"."test_tsvector", "public"."clstr_tst", "public"."clstr_tst_inh", "public"."ec0", "public"."ec1", "public"."ec2", "testxmlschema"."test3", "public"."customer", "public"."credit_card", "public"."credit_usage", "public"."fk_notpartitioned_pk", "public"."test_tsquery", "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", "fkpart5"."fk4", "fkpart6"."pk", "fkpart6"."pk1", "fkpart6"."pk11", "fkpart6"."pk12", "public"."testjsonb", "public"."test_is_json", "public"."room", "public"."wslot", "public"."pfield", "public"."xmltest", "public"."pslot", "public"."pline", "public"."utf8_verification_inputs", "public"."hub", "public"."hslot", "public"."system", "public"."iface", "public"."phone", "public"."utf8_inputs", "public"."euc_jis_2004_inputs", "public"."check_con_tbl", "public"."shiftjis2004_inputs", "public"."query", "public"."gb18030_inputs", "public"."iso8859_5_inputs", "public"."xmldata", "public"."big5_inputs", "public"."alter_idx_rename_test_parted_2", "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"."xmltest2", "public"."test_inh_check", "public"."test_inh_check_child", "public"."test_type_diff", "public"."test_type_diff_c", "public"."test_type_diff2", "public"."test_type_diff2_c1", "public"."test_type_diff2_c2", "public"."test_type_diff2_c3", "public"."transition_table_base", "public"."transition_table_level1", "public"."transition_table_level2", "public"."transition_table_status", "public"."test_tbl3", "public"."tt0", "public"."tt1", "public"."tt2", "public"."tt3", "public"."tt4", "public"."tt5", "public"."tt6", "public"."tt7", "public"."comment_test", "public"."comment_test_child", "public"."alter_table_under_transition_tables", "public"."partitioned_table", "public"."pt_part1", "public"."pt_part2", "public"."atnotnull1", "public"."partr_def2", "public"."part_7", "public"."part_7_a_null", "public"."part_rp", "public"."part_rp100", "public"."inh_test", "public"."defpart_attach_test_2", "public"."perm_part_child", "public"."bar1", "public"."bar2", "public"."target_parted", "public"."attach_parted", "public"."attach_parted_part1", "public"."pagg_tab", "public"."pagg_tab_p1", "public"."prt1", "public"."prt1_p1", "public"."cmdata", "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"."reloptions_test", "public"."cmdata1", "public"."cmmove1", "public"."cmmove3", "public"."pagg_tab1", "public"."pagg_tab1_p1", "public"."pagg_tab1_p2", "public"."pagg_tab1_p3", "public"."pagg_tab2", "public"."cmmove2", "public"."pagg_tab2_p1", "public"."pagg_tab2_p2", "public"."pagg_tab2_p3", "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"."prt1_m", "public"."cmpart1", "public"."prt1_m_p1", "public"."cmpart2", "public"."prt1_m_p2", "public"."prt1_m_p3", "public"."prt2_m", "public"."prt2_m_p1", "public"."prt2_m_p2", "public"."prt2_m_p3", "public"."plt1", "public"."plt1_p1", "public"."plt1_p2", "public"."plt1_p3", "public"."plt2", "public"."plt2_p1", "public"."plt2_p2", "public"."plt2_p3", "public"."plt1_e", "public"."plt1_e_p1", "public"."plt1_e_p2", "public"."plt1_e_p3", "public"."cmdata2", "public"."pht1", "public"."pht1_p1", "public"."pht1_p2", "public"."pht1_p3", "public"."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"."stats_test_tab1", "public"."prt2_l_p3_p2", "public"."prt1_n", "public"."prt1_n_p1", "public"."prt1_n_p2", "public"."prt2_n", "public"."prt2_n_p1", "public"."prt2_n_p2", "public"."prt3_n", "public"."prt3_n_p1", "public"."prt3_n_p2", "public"."prt3_n_p3", "public"."prt4_n", "public"."prt4_n_p1", "public"."prt4_n_p2", "public"."prt4_n_p3", "public"."test_io_vac_strategy", "public"."test_io_bulkwrite_strategy", "public"."pagg_tab_para", "public"."pagg_tab_para_p1", "public"."pagg_tab_para_p2", "public"."pagg_tab_para_p3", "public"."xy_1", "public"."alpha", "public"."alpha_neg", "public"."alpha_pos", "public"."alpha_neg_p1", "public"."alpha_neg_p2", "public"."alpha_neg_p3", "public"."alpha_pos_p1", "public"."alpha_pos_p2", "public"."alpha_pos_p3", "public"."beta", "public"."beta_neg", "public"."boolvalues", "public"."beta_pos", "public"."beta_neg_p1", "public"."beta_neg_p2", "public"."beta_neg_p3", "public"."beta_pos_p1", "public"."beta_pos_p2", "public"."beta_pos_p3", "public"."idxpart", "public"."idxpart1", "public"."idxpart2", "public"."idxpart21", "public"."idxpart22", "public"."idxpart_another", "public"."idxpart_another_1", "public"."idxpart3", "public"."idxpart31", "public"."idxpart32", "regress_indexing"."pk", "regress_indexing"."pk1", "regress_indexing"."pk2", "regress_indexing"."pk3", "regress_indexing"."pk4", "regress_indexing"."pk5", "regress_indexing"."pk51", "regress_indexing"."pk52", "public"."covidxpart", "public"."covidxpart1", "public"."covidxpart2", "public"."covidxpart3", "public"."covidxpart4", "public"."undroppable_objs", "public"."dropped_objects", "public"."rewritemetoo1", "public"."rewritemetoo2", "public"."rewritemetoo3", "public"."event_trigger_test", "public"."has_fast_default" IN ACCESS SHARE MODE 2024-04-24 10:40:26.275 UTC [36943][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:40:26.298 UTC [36943][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:40:26.318 UTC [36943][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:40:26.318 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('27776') 2024-04-24 10:40:26.318 UTC [36943][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:40:26.319 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('28125') 2024-04-24 10:40:26.319 UTC [36943][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:40:26.320 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32227') 2024-04-24 10:40:26.320 UTC [36943][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:40:26.320 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32453') 2024-04-24 10:40:26.320 UTC [36943][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:40:26.320 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('32455') 2024-04-24 10:40:26.320 UTC [36943][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:40:26.321 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35387') 2024-04-24 10:40:26.321 UTC [36943][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:40:26.321 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('35414') 2024-04-24 10:40:26.321 UTC [36943][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:40:26.322 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37356') 2024-04-24 10:40:26.322 UTC [36943][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:40:26.322 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37440') 2024-04-24 10:40:26.322 UTC [36943][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:40:26.323 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37458') 2024-04-24 10:40:26.323 UTC [36943][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:40:26.323 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37501') 2024-04-24 10:40:26.323 UTC [36943][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:40:26.323 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37522') 2024-04-24 10:40:26.323 UTC [36943][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:40:26.323 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37536') 2024-04-24 10:40:26.323 UTC [36943][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:40:26.324 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37747') 2024-04-24 10:40:26.324 UTC [36943][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:40:26.324 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37753') 2024-04-24 10:40:26.324 UTC [36943][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:40:26.324 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('37757') 2024-04-24 10:40:26.324 UTC [36943][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:40:26.324 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38828') 2024-04-24 10:40:26.324 UTC [36943][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:40:26.325 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38918') 2024-04-24 10:40:26.325 UTC [36943][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:40:26.325 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: EXECUTE getDomainConstraints('38922') 2024-04-24 10:40:26.325 UTC [36943][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:40:26.326 UTC [36943][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:40:26.326 UTC [36943][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:40:26.335 UTC [36943][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:40:26.336 UTC [36943][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:40:26.337 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opcname, opcnamespace, opcowner FROM pg_opclass 2024-04-24 10:40:26.340 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, opfname, opfnamespace, opfowner FROM pg_opfamily 2024-04-24 10:40:26.341 UTC [36943][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:40:26.341 UTC [36943][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:40:26.341 UTC [36943][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:40:26.342 UTC [36943][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:40:26.342 UTC [36943][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:40:26.351 UTC [36943][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:40:26.352 UTC [36943][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:40:26.352 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, collname, collnamespace, collowner FROM pg_collation 2024-04-24 10:40:26.354 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT tableoid, oid, conname, connamespace, conowner FROM pg_conversion 2024-04-24 10:40:26.355 UTC [36943][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:40:26.356 UTC [36943][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:40:26.356 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT lanname FROM pg_language WHERE oid = 14 2024-04-24 10:40:26.357 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: statement: SELECT inhrelid, inhparent FROM pg_inherits 2024-04-24 10:40:26.357 UTC [36943][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:40:26.358 UTC [36943][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:40:26.359 UTC [36943][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,16537,16620,16623,16626,16630,16633,16644,16668,16684,16690,16693,16696,16699,16783,16789,16823,16844,16849,16852,16869,16985,16988,16991,16995,17001,17004,17007,17010,17013,17016,17020,17026,17029,17033,17041,17066,17115,17148,17154,17179,17329,17381,17391,17966,17969,17980,18025,18030,18035,18038,18075,18078,18083,18088,18311,18337,18351,18364,18394,18397,18513,18533,19176,19188,19192,19200,19206,19214,19218,19225,19230,19235,19240,19249,19254,19259,19267,19282,19377,19384,19446,19642,19923,20038,20295,20328,20340,20349,20397,20446,20514,20562,20610,20738,20744,20748,20789,20818,20833,20869,20888,20932,20962,20977,20981,21062,21479,22104,22188,22304,22307,22387,22390,22393,22406,22410,22553,22559,22567,22578,22588,22596,22603,22796,22799,22806,24076,24083,24089,24095,24101,24185,24186,24188,24190,24194,24195,24210,24214,24222,24240,24244,24253,24267,24991,25673,25688,25738,25754,25759,25771,25781,25792,25798,25804,25921,25927,25947,25958,25987,25991,26002,26007,26011,26019,26044,26055,26060,26123,26163,26180,26237,26292,26303,26313,26320,26353,26369,26378,26387,26396,26524,26560,26566,26579,26615,26620,26634,26667,26671,26681,26720,26738,26755,26825,26837,26843,26897,26964,26976,26989,26993,26999,27005,27015,27023,27029,27076,27169,27231,27237,27252,27277,27289,27308,27313,27323,27330,27336,27342,27375,27387,27593,27594,27620,27740,27745,27765,27778,27797,27806,27811,27852,27924,27940,28005,28050,28094,28126,28134,28181,28187,28206,28249,28253,28285,28292,28412,28533,28538,28547,28558,28565,28569,28584,28588,28671,28773,28987,29047,29244,29258,29407,29550,29569,29626,29641,30115,30133,30465,30633,30646,30654,30657,30665,30678,30685,30693,30707,30712,30717,30725,30730,30744,30749,30754,30765,30774,30777,30793,30799,30813,30818,30861,30866,30877,30886,30897,30901,30921,30930,30935,30939,30944,30949,30952,30956,30959,30962,30965,30969,30973,30978,30985,30988,30992,30996,31072,31075,31079,31084,31089,31209,31214,31249,31377,31383,31450,31498,31507,31631,32186,32233,32241,32251,32292,32380,32401,32409,32439,32456,32615,32627,32638,32655,32660,32670,32701,32705,32710,33896,33901,33906,33911,33933,34049,34057,34063,34076,34089,34117,34121,34124,34182,34193,34202,34211,34217,34229,34393,34398,34403,34409,34412,34429,34435,34443,34452,34456,34460,34479,34486,34491,34496,34501,34506,34511,34516,34540,34545,34550,34555,34558,34561,34581,34589,34593,34597,34616,34622,34628,34801,34806,34811,34816,35341,35493,35648,35654,35682,35704,35707,35762,35811,35837,35876,35907,35944,35954,36041,36140,36169,36183,36190,36220,36240,36244,36267,36280,36305,36320,36409,36428,36448,36482,36528,36533,36541,36560,36571,36612,36621,36637,36655,36671,36695,36700,36705,36947,37258,37357,37441,37454,37459,37503,37541,37583,37593,37606,37698,38109,38211,38215,38218,38222,38225,38228,38280,38286,38289,38294,38441,38564,38573,38586,38590,38640,38644,38657,38665,38668,38671,38924,38936,38944,38952,38978,38989,38993,38996,38999,39002,39005,39008,39012,39053,39093,39116,39187,39195,39207,39323,39461,39487,39491,39576,39583,39626,39663,39672,39701,39706,39803,39806,39809,39898,39925,39930,39943,39958,39973,39981,39995,40011,40093,40114,40144,40171,40184,40214,40251,40363,40461,40467,40472,40486,40495,40498,40503,40507,40510,40528,40537,40545,40550,40586,40590,40609,40636,40647,40653,40662,40665,40811,40821,40847,40851,40863,40877,40884,40894,40928,40936,40944,40947,40950,40961,41023,41036,41043,41051,41055,41069,41080,41089,41092,41099,41116,41197,41203,41218,41250,41282,41285,41290,41295,41305,41309,41323,41340,41353,41420,41425,41442,41453,41472,41475,41484,41492,41497,41500,41506,41511,41591,41602,41633,41656,41667,41676,41687,41713,41765,41784,41793,41797,41804,41812,41821,41824,41842,41903,41909,41923,41943,41953,41964,41977,41981,41999,42013,42033,42036,42041,42046,42128,42187,42273,42280,42283,42289,42489,43117,43139,43149,43152,43157,43164,43172,43180,43188,43202,43205,43208,43217,43220,43230,43241,43251,43264,43276,43281,43284,43287,43290,43293,43300,43305,43314,43326,43329,43349,43364,43374,43380,43393,43402,43409,43413,43440,43446,43450,43454,43458,43824,43829,43943,43946,43963,44003,44284}'::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:40:26.420 UTC [36943][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('{16823,20340,20446,20610,20977,21062,25759,25781,25792,25798,25804,25987,26060,26313,26560,26615,26634,26671,26681,26738,26755,26825,26837,26897,26964,27169,27231,27252,27277,27289,27313,27330,27342,27593,27745,27778,27797,27806,27811,27852,28005,28050,28134,28181,28187,28206,28249,28253,28671,28773,31209,31214,32241,32292,32380,33906,33911,38564,38936,38944,39701,39706,44284}'::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:40:26.424 UTC [36943][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('{20514,20562,20610,21479,22188,22304,22307,26320,27169,27252,28547,28558,28671,36428,37541,37583,37593,37606,38586,38590,39053,39461,39491,39576,39583}'::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:40:26.428 UTC [36943][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,16623,16626,16630,16633,16644,16684,16690,16693,16696,16783,16789,16852,16869,17004,17013,17033,17041,17066,17329,17381,19176,19188,19206,19225,19230,19254,19282,19384,19446,19642,19923,20038,20962,21062,22104,22387,22553,22567,22578,22596,22603,22796,24076,24083,24089,24095,24101,24186,24188,24210,24214,24222,24240,24244,24253,24991,25738,25754,25759,25771,25792,25798,25921,25927,25958,25987,26011,26019,26060,26123,26180,26237,26353,26396,26897,26964,26999,27076,27169,27231,27252,27277,27289,27313,27330,27342,27593,27740,27745,27765,27778,27924,27940,28005,28126,28134,28206,28533,28538,28565,28569,28584,28588,28671,28987,29047,29407,29550,29569,29626,29641,30115,30133,30465,31079,31084,31089,31249,31631,32241,32251,32292,32401,32409,32439,32615,33896,33901,34182,34193,34202,34211,34217,34229,34393,34398,34403,34435,34443,34452,34456,34460,34486,34491,34496,34501,34506,34511,34540,34545,34550,34581,34589,34593,34597,34801,34806,34811,34816,35341,35648,35682,35704,35762,35811,35837,35876,35907,35944,35954,36041,36671,38441,38564,38924,38936,38944,38952,39053,39093,39116,39323,39943,39958,39981,40011,40114,40144,40171,40184,40537,40545,40550,41353,41824,43281,43284,43287,43293,43300,43305,43314,43326,43329,43349,43364,43374,43380,43393,43402,43409,43413,43440,43446,43450,43454,43458}'::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:40:26.468 UTC [36943][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:40:26.469 UTC [36943][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('{17966,17969,18075,20789,20981,22553,22567,22578,22596,22603,24076,24083,24089,24095,24101,27308,27375,27745,27765,27797,28206,28987,29047,29407,29569,29626,29641,30115,30133,31079,31084,31089,32241,32251,32292,32615,32627,32638,33896,33906,33911,33933,34049,34057,34063,34076,34089,34117,34121,34124,34182,34193,34202,34211,34217,34229,34393,34398,34403,34409,34412,34429,34435,34443,34452,34456,34460,34479,34486,34491,34496,34501,34506,34511,34516,34540,34545,34550,34555,34558,34561,34581,34589,34593,34597,34616,34622,34801,34806,34811,34816,35648,35682,35704,35762,35811,35876,35907,35944,35954,36041,36671,38924,38936,38944,39053,39093,39116,39187,39487,39701,39803,39806,39898,39930,40093,40461,40495,40528,40586,40647,40811,40847,40877,40936,40947,41023,41036,41089,41197,41282,41305,41420,41472,41497,41591,41633,41676,41765,41793,41812,41903,41943,41977,42033,42273,43117,43139,43149,43202,43205,43217,43281,43287,43300,43314,43349,43402,43440}'::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:40:26.470 UTC [36943][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('{20981,22553,22567,22578,22596,22603,24076,24083,24089,24095,24101,27745,27765,28206,28987,29047,29407,29569,29626,29641,30115,30133,31079,31084,31089,32241,32251,32292,32615,32627,32638,33896,33906,33911,33933,34049,34057,34063,34076,34089,34117,34121,34124,34182,34193,34202,34211,34217,34229,34393,34398,34403,34409,34412,34429,34435,34443,34452,34456,34460,34479,34486,34491,34496,34501,34506,34511,34516,34540,34545,34550,34555,34558,34561,34581,34589,34593,34597,34616,34622,34801,34806,34811,34816,35648,35682,35704,35762,35811,35876,35907,35944,35954,36041,38924,38936,38944,39053,39093,39116,39701}'::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:40:26.473 UTC [36943][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:40:26.475 UTC [36943][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,16537,16620,16623,16626,16630,16633,16644,16668,16684,16690,16693,16696,16699,16783,16789,16823,16844,16849,16852,16869,16985,16988,16991,16995,17001,17004,17007,17010,17013,17016,17020,17026,17029,17033,17041,17066,17115,17148,17154,17179,17329,17381,17391,17966,17969,17980,18025,18030,18035,18038,18075,18078,18083,18088,18311,18337,18351,18364,18394,18397,18513,18533,19176,19188,19192,19200,19206,19218,19225,19230,19235,19254,19282,19377,19384,19446,19642,19923,20038,20295,20328,20340,20349,20397,20446,20514,20562,20610,20738,20744,20789,20818,20833,20869,20888,20932,20962,20977,20981,21062,21479,22104,22188,22304,22307,22387,22390,22393,22406,22410,22553,22559,22567,22578,22588,22596,22603,22796,22799,22806,24076,24083,24089,24095,24101,24185,24186,24188,24190,24194,24195,24210,24214,24222,24240,24244,24253,24267,24991,25673,25688,25738,25754,25759,25771,25781,25792,25798,25804,25921,25927,25947,25958,25987,25991,26011,26019,26044,26055,26060,26123,26237,26313,26320,26524,26560,26566,26579,26615,26620,26634,26667,26671,26681,26720,26738,26755,26825,26837,26843,26897,26964,26976,26989,26993,26999,27005,27015,27023,27029,27076,27169,27231,27237,27252,27277,27289,27308,27313,27323,27330,27336,27342,27375,27387,27593,27594,27620,27740,27745,27765,27778,27797,27806,27811,27852,27924,27940,28005,28050,28094,28126,28134,28181,28187,28206,28249,28253,28285,28292,28412,28533,28538,28547,28558,28565,28569,28584,28588,28671,28773,28987,29047,29244,29258,29407,29550,29569,29626,29641,30115,30133,30465,30633,30646,30654,30665,30678,30685,30693,30707,30712,30717,30725,30730,30744,30749,30754,30765,30774,30777,30793,30799,30813,30818,30861,30866,30877,30886,30939,30944,30949,30956,30959,30962,30978,30985,30988,31072,31075,31079,31084,31089,31209,31214,31249,31377,31383,31450,31498,31507,31631,32186,32233,32241,32251,32292,32380,32401,32409,32439,32456,32615,32627,32638,33896,33901,33906,33911,33933,34049,34057,34063,34076,34089,34117,34121,34124,34182,34193,34202,34211,34217,34229,34393,34398,34403,34409,34412,34429,34435,34443,34452,34456,34460,34479,34486,34491,34496,34501,34506,34511,34516,34540,34545,34550,34555,34558,34561,34581,34589,34593,34597,34616,34622,34628,34801,34806,34811,34816,35341,35493,35648,35682,35704,35707,35762,35811,35837,35876,35907,35944,35954,36041,36169,36409,36428,36482,36528,36541,36571,36612,36655,36671,36700,36947,37258,37357,37441,37454,37503,37541,37583,37593,37606,37698,38109,38211,38215,38218,38222,38225,38228,38280,38286,38289,38294,38441,38564,38573,38586,38590,38640,38644,38657,38665,38668,38671,38924,38936,38944,38952,38978,38989,38993,38996,38999,39002,39005,39008,39012,39053,39093,39116,39187,39195,39207,39323,39461,39487,39491,39576,39583,39626,39663,39672,39701,39706,39803,39806,39809,39898,39925,39930,39943,39958,39973,39981,39995,40011,40093,40114,40144,40171,40184,40214,40251,40363,40461,40467,40472,40486,40495,40498,40503,40507,40510,40528,40537,40545,40550,40586,40590,40609,40636,40647,40653,40662,40665,40811,40821,40847,40851,40863,40877,40884,40894,40936,40944,40947,40950,40961,41023,41036,41043,41051,41055,41069,41080,41089,41092,41099,41116,41197,41203,41218,41250,41282,41285,41290,41295,41305,41309,41323,41340,41353,41420,41425,41442,41453,41472,41475,41484,41492,41497,41500,41506,41511,41591,41602,41633,41656,41667,41676,41687,41713,41765,41784,41793,41797,41804,41812,41821,41824,41842,41903,41909,41923,41943,41953,41964,41977,41981,41999,42013,42033,42036,42041,42046,42128,42187,42273,42280,42283,42289,42489,43117,43139,43149,43152,43157,43164,43172,43180,43188,43202,43205,43208,43217,43220,43230,43241,43251,43264,43276,43281,43284,43287,43290,43293,43300,43305,43314,43326,43329,43349,43364,43374,43380,43393,43402,43409,43413,43440,43446,43450,43454,43458,43824,43829,43943,43946,43963,44003,44284}'::pg_catalog.oid[]) AS src(tbloid) JOIN pg_catalog.pg_policy pol ON (src.tbloid = pol.polrelid) 2024-04-24 10:40:26.494 UTC [36943][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:40:26.495 UTC [36943][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:40:26.497 UTC [36943][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:40:26.497 UTC [36943][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:40:26.498 UTC [36943][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:40:26.499 UTC [36943][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:40:26.499 UTC [36943][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:40:26.516 UTC [36943][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:40:26.520 UTC [36943][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:40:26.521 UTC [36943][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:40:26.533 UTC [36943][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:40:26.563 UTC [36943][client backend] [002_pg_upgrade.pl][49/15:0] LOG: unexpected EOF on client connection with an open transaction 2024-04-24 10:40:26.563 UTC [36943][client backend] [002_pg_upgrade.pl][:0] LOG: disconnection: session time: 0:00:00.351 user=postgres database=regression host=[local] command: "/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/pg_ctl" -w -D "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata" -o "" -m fast stop >> "/tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104023.412/log/pg_upgrade_server.log" 2>&1 2024-04-24 10:40:26.590 UTC [36508][postmaster] LOG: received fast shutdown request 2024-04-24 10:40:26.590 UTC [36508][postmaster] LOG: aborting any active transactions waiting for server to shut down....2024-04-24 10:40:26.592 UTC [36511][checkpointer] LOG: shutting down 2024-04-24 10:40:26.592 UTC [36511][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-04-24 10:40:26.593 UTC [36511][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/12741140, redo lsn=0/12741140 2024-04-24 10:40:26.599 UTC [36508][postmaster] LOG: database system is shut down done server stopped === EOF === [10:40:26.898](0.042s) not ok 16 - check that locales in new cluster match original cluster [10:40:26.899](0.000s) # Failed test 'check that locales in new cluster match original cluster' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 479. [10:40:26.899](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=51296 host=/tmp/fOGygtADtf dbname='postgres' -f /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_6NgJ/dump2.sql [10:40:27.394](0.495s) ok 17 - dump after running pg_upgrade [10:40:27.395](0.001s) not ok 18 - old and new dumps match after pg_upgrade [10:40:27.395](0.000s) # Failed test 'old and new dumps match after pg_upgrade' # at /tmp/cirrus-ci-build/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 498. [10:40:27.395](0.000s) # got: '1' # expected: '0' === diff of /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_6NgJ/dump1.sql_filtered and /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_6NgJ/dump2.sql_filtered === stdout === --- /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_6NgJ/dump1.sql_filtered 2024-04-24 10:40:27.390563123 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_6NgJ/dump2.sql_filtered 2024-04-24 10:40:27.394563118 +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:40:27.415](0.020s) 1..18 ### Stopping node "new_node" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata -m immediate stop waiting for server to shut down... done server stopped # No postmaster PID for node "new_node" [10:40:27.443](0.027s) # Looks like you failed 5 tests of 18.