pg_dump -t and mixed case table names - Mailing list pgsql-general

From Tina Messmann
Subject pg_dump -t and mixed case table names
Date
Msg-id 3CD18FFE.60009@xinux.de
Whole thread Raw
Responses Re: pg_dump -t and mixed case table names
List pgsql-general
hello List,
i have a cuple of tables with mixed cased names.
I want to dump the schema from these tables (not from the whole database)
with pg_dump, but it's not working for me :(

Example:

test=# \d "TestTable"
        Table "TestTable"
Column |     Type      | Modifiers
--------+---------------+-----------
id     | integer       |
name   | character(10) |

Now i want to dump the schema from only this table:
postgres@trill:~$ pg_dump -s -t "TestTable" test
--
-- Selected TOC Entries:
--
postgres@trill:~$

Is it impossible to dump a table whose name is mixed cased with the -t
option?
Do i have to rename the table to lower case names to do this?
Why can i create a table with a mixed case name and then it is not
possible to dump it?
(with the -t option, when dumping the whole database, it's no problem)
Am i missing something?

My system: Debian Woody - postgresql 7.2.1 (debian package)

Regards
Tina










pgsql-general by date:

Previous
From: knut.suebert@web.de
Date:
Subject: Re: Joe Celko Function
Next
From: Scott Marlowe
Date:
Subject: Re: FATAL: stuck spinlock