pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: killerwzb@163.com
Subject: BUG #17630: pg_dump error
Date: Sun, 09 Oct 2022 09:22:38 +0000
Message-ID: <17630-0947c0a5aa573243@postgresql.org> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <17630-0947c0a5aa573243@postgresql.org>
Permalink:  ../17630-0947c0a5aa573243@postgresql.org/
Also on:    postgresql.org/message-id/17630-0947c0a5aa573243@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, killerwzb@163.com
  Subject: Re: BUG #17630: pg_dump error
  In-Reply-To: <17630-0947c0a5aa573243@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox