# Checking port 51732 # Found port 51732 Name: main Data directory: /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/t_002_pg_dump_main_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/t_002_pg_dump_main_data/backup Archive directory: /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/t_002_pg_dump_main_data/archives Connection string: port=51732 host=/var/folders/n8/pp_chp6x3jlfy1n94r6hdjv40000gn/T/piw3aAEJg5 Log file: /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/log/002_pg_dump_main.log [04:08:33.833](0.075s) # initializing database system by copying initdb template # Running: cp -RPp /Users/admin/pgsql/build/tmp_install/initdb-template /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/t_002_pg_dump_main_data/pgdata # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/t_002_pg_dump_main_data/pgdata ### Starting node "main" # Running: pg_ctl -w -D /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/t_002_pg_dump_main_data/pgdata -l /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/log/002_pg_dump_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 25762 #### Begin standard error psql::44: NOTICE: merging column "col1" with inherited definition psql::44: NOTICE: merging column "col2" with inherited definition psql::247: NOTICE: return type dump_test.int42 is only a shell psql::263: NOTICE: argument type dump_test.int42 is only a shell psql::330: WARNING: subscription was created, but is not connected HINT: To initiate replication, you must manually create the replication slot, enable the subscription, and refresh the subscription. psql::334: WARNING: wal_level is insufficient to publish logical changes HINT: Set wal_level to "logical" before creating subscriptions. psql::338: WARNING: subscription was created, but is not connected HINT: To initiate replication, you must manually create the replication slot, enable the subscription, and refresh the subscription. psql::342: WARNING: wal_level is insufficient to publish logical changes HINT: Set wal_level to "logical" before creating subscriptions. psql::344: WARNING: wal_level is insufficient to publish logical changes HINT: Set wal_level to "logical" before creating subscriptions. psql::346: WARNING: wal_level is insufficient to publish logical changes HINT: Set wal_level to "logical" before creating subscriptions. psql::350: WARNING: subscription was created, but is not connected HINT: To initiate replication, you must manually create the replication slot, enable the subscription, and refresh the subscription. psql::554: NOTICE: merging column "col1" with inherited definition #### End standard error # Running: pg_dump -p 51732 qqq [04:08:36.357](2.524s) ok 1 - connecting to a non-existent database: exit code not 0 [04:08:36.358](0.000s) ok 2 - connecting to a non-existent database: matches # Running: pg_dump -d regression_invalid [04:08:36.368](0.010s) ok 3 - connecting to an invalid database: exit code not 0 [04:08:36.368](0.000s) ok 4 - connecting to an invalid database: matches # Running: pg_dump -p 51732 --role=regress_dump_test_role [04:08:36.385](0.017s) ok 5 - connecting with an unprivileged user: exit code not 0 [04:08:36.385](0.000s) ok 6 - connecting with an unprivileged user: matches # Running: pg_dump -p 51732 -n nonexistent [04:08:36.404](0.019s) ok 7 - dumping a non-existent schema: exit code not 0 [04:08:36.404](0.000s) ok 8 - dumping a non-existent schema: matches # Running: pg_dump -p 51732 -t nonexistent [04:08:36.445](0.041s) ok 9 - dumping a non-existent table: exit code not 0 [04:08:36.446](0.000s) ok 10 - dumping a non-existent table: matches # Running: pg_dump -p 51732 --strict-names -n nonexistent* [04:08:36.493](0.047s) ok 11 - no matching schemas: exit code not 0 [04:08:36.493](0.000s) ok 12 - no matching schemas: matches # Running: pg_dump -p 51732 --strict-names -t nonexistent* [04:08:36.514](0.021s) ok 13 - no matching tables: exit code not 0 [04:08:36.514](0.000s) ok 14 - no matching tables: matches # Running: pg_dumpall --exclude-database . [04:08:36.546](0.032s) ok 15 - pg_dumpall: option --exclude-database rejects multipart pattern ".": exit code not 0 [04:08:36.546](0.000s) ok 16 - pg_dumpall: option --exclude-database rejects multipart pattern ".": matches # Running: pg_dumpall --exclude-database myhost.mydb [04:08:36.581](0.034s) ok 17 - pg_dumpall: option --exclude-database rejects multipart database names: exit code not 0 [04:08:36.581](0.000s) ok 18 - pg_dumpall: option --exclude-database rejects multipart database names: matches # Running: pg_dump -p 51732 -n pg_catalog pg_dump: warning: typtype of data type "any" appears to be invalid pg_dump: warning: typtype of data type "anyarray" appears to be invalid pg_dump: warning: typtype of data type "anycompatible" appears to be invalid pg_dump: warning: typtype of data type "anycompatiblearray" appears to be invalid pg_dump: warning: typtype of data type "anycompatiblemultirange" appears to be invalid pg_dump: warning: typtype of data type "anycompatiblenonarray" appears to be invalid pg_dump: warning: typtype of data type "anycompatiblerange" appears to be invalid pg_dump: warning: typtype of data type "anyelement" appears to be invalid pg_dump: warning: typtype of data type "anyenum" appears to be invalid pg_dump: warning: typtype of data type "anymultirange" appears to be invalid pg_dump: warning: typtype of data type "anynonarray" appears to be invalid pg_dump: warning: typtype of data type "anyrange" appears to be invalid pg_dump: warning: typtype of data type "cstring" appears to be invalid pg_dump: warning: typtype of data type "event_trigger" appears to be invalid pg_dump: warning: typtype of data type "fdw_handler" appears to be invalid pg_dump: warning: typtype of data type "index_am_handler" appears to be invalid pg_dump: warning: typtype of data type "internal" appears to be invalid pg_dump: warning: typtype of data type "language_handler" appears to be invalid pg_dump: warning: typtype of data type "pg_ddl_command" appears to be invalid pg_dump: warning: typtype of data type "record" appears to be invalid pg_dump: warning: typtype of data type "table_am_handler" appears to be invalid pg_dump: warning: typtype of data type "trigger" appears to be invalid pg_dump: warning: typtype of data type "tsm_handler" appears to be invalid pg_dump: warning: typtype of data type "unknown" appears to be invalid pg_dump: warning: typtype of data type "void" appears to be invalid pg_dump: error: prepared statement failed: ERROR: syntax error at or near "%" LINE 1: ..._histogram => %L::real[]) coalesce($2, format('%I.%I', a.nsp... ^ [04:08:37.242](0.661s) not ok 19 - pg_dump: option -n pg_catalog [04:08:37.242](0.000s) # Failed test 'pg_dump: option -n pg_catalog' # at /Users/admin/pgsql/src/bin/pg_dump/t/002_pg_dump.pl line 4762. # Running: pg_dumpall -p 51732 --exclude-database "myhost.mydb" -- -- PostgreSQL database cluster dump -- SET default_transaction_read_only = off; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; -- -- Roles -- CREATE ROLE admin; ALTER ROLE admin WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION BYPASSRLS; CREATE ROLE regress_dump_test_role; ALTER ROLE regress_dump_test_role WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB NOLOGIN NOREPLICATION NOBYPASSRLS; CREATE ROLE "regress_quoted \"" role"; ALTER ROLE "regress_quoted \"" role" WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB NOLOGIN NOREPLICATION NOBYPASSRLS; -- -- User Configurations -- -- -- Tablespaces -- CREATE TABLESPACE regress_dump_tablespace OWNER regress_dump_test_role LOCATION ''; -- -- Databases -- -- -- Database "template1" dump -- \connect template1 -- -- PostgreSQL database dump -- -- Dumped from database version 17devel -- Dumped by pg_dump version 17devel SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET transaction_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET xmloption = content; SET client_min_messages = warning; SET row_security = off; -- -- PostgreSQL database dump complete -- -- -- Database "dump_test" dump -- -- -- PostgreSQL database dump -- -- Dumped from database version 17devel -- Dumped by pg_dump version 17devel SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET transaction_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET xmloption = content; SET client_min_messages = warning; SET row_security = off; -- -- Name: dump_test; Type: DATABASE; Schema: -; Owner: admin -- CREATE DATABASE dump_test WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PROVIDER = libc LOCALE = 'en_US.UTF-8'; ALTER DATABASE dump_test OWNER TO admin; \connect dump_test SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET transaction_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET xmloption = content; SET client_min_messages = warning; SET row_security = off; -- -- Name: DATABASE dump_test; Type: ACL; Schema: -; Owner: admin -- REVOKE CONNECT,TEMPORARY ON DATABASE dump_test FROM PUBLIC; GRANT TEMPORARY ON DATABASE dump_test TO PUBLIC; GRANT CREATE ON DATABASE dump_test TO regress_dump_test_role; -- -- PostgreSQL database dump complete -- -- -- Database "dump_test2" dump -- -- -- PostgreSQL database dump -- -- Dumped from database version 17devel -- Dumped by pg_dump version 17devel SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET transaction_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET xmloption = content; SET client_min_messages = warning; SET row_security = off; -- -- Name: dump_test2; Type: DATABASE; Schema: -; Owner: admin -- CREATE DATABASE dump_test2 WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PROVIDER = libc LOCALE = 'C'; ALTER DATABASE dump_test2 OWNER TO admin; \connect dump_test2 SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET transaction_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET xmloption = content; SET client_min_messages = warning; SET row_security = off; -- -- PostgreSQL database dump complete -- -- -- Database "postgres" dump -- \connect postgres pg_dump: error: prepared statement failed: ERROR: syntax error at or near "%" LINE 1: ..._histogram => %L::real[]) coalesce($2, format('%I.%I', a.nsp... ^ pg_dumpall: error: pg_dump failed on database "postgres", exiting [04:08:38.402](1.160s) not ok 20 - pg_dumpall: option --exclude-database handles database names with embedded dots [04:08:38.402](0.000s) # Failed test 'pg_dumpall: option --exclude-database handles database names with embedded dots' # at /Users/admin/pgsql/src/bin/pg_dump/t/002_pg_dump.pl line 4770. # Running: pg_dump --schema myhost.mydb.myschema [04:08:38.421](0.019s) ok 21 - pg_dump: option --schema rejects three-part schema names: exit code not 0 [04:08:38.421](0.000s) ok 22 - pg_dump: option --schema rejects three-part schema names: matches # Running: pg_dump --schema otherdb.myschema [04:08:38.436](0.015s) ok 23 - pg_dump: option --schema rejects cross-database multipart schema names: exit code not 0 [04:08:38.436](0.000s) ok 24 - pg_dump: option --schema rejects cross-database multipart schema names: matches # Running: pg_dump --schema . [04:08:38.450](0.014s) ok 25 - pg_dump: option --schema rejects degenerate two-part schema name: ".": exit code not 0 [04:08:38.450](0.000s) ok 26 - pg_dump: option --schema rejects degenerate two-part schema name: ".": matches # Running: pg_dump --schema "some.other.db".myschema [04:08:38.470](0.019s) ok 27 - pg_dump: option --schema rejects cross-database multipart schema names with embedded dots: exit code not 0 [04:08:38.470](0.000s) ok 28 - pg_dump: option --schema rejects cross-database multipart schema names with embedded dots: matches # Running: pg_dump --schema .. [04:08:38.491](0.021s) ok 29 - pg_dump: option --schema rejects degenerate three-part schema name: "..": exit code not 0 [04:08:38.491](0.000s) ok 30 - pg_dump: option --schema rejects degenerate three-part schema name: "..": matches # Running: pg_dump --table myhost.mydb.myschema.mytable [04:08:38.522](0.032s) ok 31 - pg_dump: option --table rejects four-part table names: exit code not 0 [04:08:38.522](0.000s) ok 32 - pg_dump: option --table rejects four-part table names: matches # Running: pg_dump --table otherdb.pg_catalog.pg_class [04:08:38.544](0.022s) ok 33 - pg_dump: option --table rejects cross-database three part table names: exit code not 0 [04:08:38.545](0.000s) ok 34 - pg_dump: option --table rejects cross-database three part table names: matches # Running: pg_dump -p 51732 --table "some.other.db".pg_catalog.pg_class [04:08:38.563](0.018s) ok 35 - pg_dump: option --table rejects cross-database three part table names with embedded dots: exit code not 0 [04:08:38.563](0.000s) ok 36 - pg_dump: option --table rejects cross-database three part table names with embedded dots: matches # Running: pg_dump --no-sync --format=custom --file=/Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/tmp_test_MIEW/binary_upgrade.dump -w --schema-only --binary-upgrade -d postgres pg_dump: error: prepared statement failed: ERROR: syntax error at or near "%" LINE 1: ..._histogram => %L::real[]) coalesce($2, format('%I.%I', a.nsp... ^ [04:08:38.734](0.171s) not ok 37 - binary_upgrade: pg_dump runs [04:08:38.735](0.000s) # Failed test 'binary_upgrade: pg_dump runs' # at /Users/admin/pgsql/src/bin/pg_dump/t/002_pg_dump.pl line 4849. # Running: pg_restore -Fc --verbose --file=/Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/tmp_test_MIEW/binary_upgrade.sql /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/tmp_test_MIEW/binary_upgrade.dump pg_restore: error: could not read from input file: end of file [04:08:38.753](0.018s) not ok 38 - binary_upgrade: pg_restore runs [04:08:38.753](0.000s) # Failed test 'binary_upgrade: pg_restore runs' # at /Users/admin/pgsql/src/bin/pg_dump/t/002_pg_dump.pl line 4886. could not read "/Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/tmp_test_MIEW/binary_upgrade.sql": No such file or directory at /Users/admin/pgsql/src/bin/pg_dump/t/002_pg_dump.pl line 4897. # Postmaster PID for node "main" is 25762 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /Users/admin/pgsql/build/testrun/pg_dump/002_pg_dump/data/t_002_pg_dump_main_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" [04:08:38.870](0.117s) # Tests were run but no plan was declared and done_testing() was not seen. [04:08:38.870](0.000s) # Looks like your test exited with 2 just after 38.