BUG #17630: pg_dump error

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: killerwzb(at)163(dot)com
Subject: BUG #17630: pg_dump error
Date: 2022-10-09 09:22:38
Message-ID: 17630-0947c0a5aa573243@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17630
Logged by: camel
Email address: killerwzb(at)163(dot)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(at)localhost bin]$ ./psql -U postgres
psql (16devel)
Type "help" for help.

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

The second step:
[wangzhibin(at)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(at)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(at)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Christophe Pettus 2022-10-09 22:20:40 Re: BUG #17630: pg_dump error
Previous Message PG Bug reporting form 2022-10-07 23:39:43 BUG #17629: PostgreSQL repository not working on RHEL 8.6