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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump -t broken for mixed case table names in beta3?
Дата
Msg-id 5470.1164742997@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump -t broken for mixed case table names in beta3?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: pg_dump -t broken for mixed case table names in  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: pg_dump -t broken for mixed case table names in beta3?  (David Fetter <david@fetter.org>)
Список pgsql-hackers
"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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [pgsql-www] FAQs and Port Status
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Short writes