BUG #17630: pg_dump error - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17630: pg_dump error
Date
Msg-id 17630-0947c0a5aa573243@postgresql.org
Whole thread Raw
Responses Re: BUG #17630: pg_dump error
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17630
Logged by:          camel
Email address:      killerwzb@163.com
PostgreSQL version: 14.5
Operating system:   centos7
Description:

Hi guys:
    I create table with a upper name ,it is "TABLE2" .I use pg_dump to dump
the table to a custom file,but i get some error.

The first step:
[wangzhibin@localhost bin]$ ./psql -U postgres
psql (16devel)
Type "help" for help.

postgres=# create table "TABLE2" (t1 int);
CREATE TABLE

The second step:
[wangzhibin@localhost bin]$ ./pg_dump --verbose --host localhost --port 5432
--username postgres --dbname=postgres --format custom --file ~/db.bak
--table TABLE2
pg_dump: last built-in OID is 16383
pg_dump: error: no matching tables were found
[wangzhibin@localhost bin]$ ./pg_dump --verbose --host localhost --port 5432
--username postgres --dbname=postgres --format custom --file ~/db.bak
--table "TABLE2"
pg_dump: last built-in OID is 16383
pg_dump: error: no matching tables were found
[wangzhibin@localhost bin]$ ./pg_dump --verbose --host localhost --port 5432
--username postgres --dbname=postgres --format custom --file ~/db.bak
--table "table2"
pg_dump: last built-in OID is 16383
pg_dump: error: no matching tables were found


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17629: PostgreSQL repository not working on RHEL 8.6
Next
From: Christophe Pettus
Date:
Subject: Re: BUG #17630: pg_dump error