pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cristiano <sumariva@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5765: pg_dump fail to find upper case table name
Date: Wed, 24 Nov 2010 11:34:08 GMT
Message-ID: <201011241134.oAOBY8YQ016066@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      5765
Logged by:          Cristiano
Email address:      sumariva@gmail.com
PostgreSQL version: 8.4.4
Operating system:   Linux
Description:        pg_dump fail to find upper case table name
Details: 

The following command line did not worked.
Using a table with lower case chars( no quoting ) works.
Also happen on pg_dump windows version.
Tested on 8.4.4 and 8.4.3

pg_dump --host www --port 5432 --username postgres --format plain
--column-inserts --verbose --file "streetTypes.sql" --table
public."streetTypes" "geocoding-dev"
Password:
pg_dump: No matching tables were found
pg_dump: *** aborted because of error

Test case: just create an table that need quoting.
CREATE TABLE "Test"() WITH ( OIDS=FALSE );

Call pg_dump to export.

pg_dump --host localhost --port 5432 --username postgres --format plain
--column-inserts --verbose --file "test.sql" --table public."Test" "test-db"



view thread (6+ messages)  latest in thread

Message-ID: <201011241134.oAOBY8YQ016066@wwwmaster.postgresql.org>
Permalink:  ../201011241134.oAOBY8YQ016066@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201011241134.oAOBY8YQ016066@wwwmaster.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: sumariva@gmail.com
  Subject: Re: BUG #5765: pg_dump fail to find upper case table name
  In-Reply-To: <201011241134.oAOBY8YQ016066@wwwmaster.postgresql.org>
  References: <201011241134.oAOBY8YQ016066@wwwmaster.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