Re: pg_dump -t broken for mixed case table names in

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: pg_dump -t broken for mixed case table names in
Дата
Msg-id 456C3E6A.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: pg_dump -t broken for mixed case table names in beta3?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Thanks much; it might have been a while before I tried that nested
quoting technique.  I think it's worth documenting.  Would you like me
to try to put a doc patch together, or would it be better for someone
else to do so?
-Kevin
>>> Tom Lane <tgl@sss.pgh.pa.us> 11/28/06 1:43 PM >>> 
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Unless I'm missing something, pg_dump is not allowing selective dump
of
> a table where the table name is mixed case.

You do it like this:
$ pg_dump - s - t '"DbTranLogRecord"' dtr

A bit ugly but the conflict between shell and SQL quoting rules
sometimes forces us into compromises :- (

Perhaps it's worth having an example for this in the pg_dump man page?
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Short writes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Short writes