Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 17BCF1337B90 for ; Wed, 24 Nov 2010 07:34:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 48550-03 for ; Wed, 24 Nov 2010 11:34:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 6BDC81337B64 for ; Wed, 24 Nov 2010 07:34:08 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id oAOBY8N6016067 for ; Wed, 24 Nov 2010 11:34:08 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id oAOBY8YQ016066; Wed, 24 Nov 2010 11:34:08 GMT (envelope-from www) Date: Wed, 24 Nov 2010 11:34:08 GMT Message-Id: <201011241134.oAOBY8YQ016066@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5765: pg_dump fail to find upper case table name From: "Cristiano" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201011/150 X-Sequence-Number: 28730 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"