Re: [GENERAL] pg_dump and quoted identifiers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] pg_dump and quoted identifiers
Дата
Msg-id 3859.1481648551@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] pg_dump and quoted identifiers  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: [GENERAL] pg_dump and quoted identifiers
Список pgsql-general
Thomas Kellerer <spam_eater@gmx.net> writes:
>     postgres=# create table "Statuses" (id integer);
>     CREATE TABLE

>     -bash-4.1$ pg_dump -d postgres -t "Statuses"
>     pg_dump: no matching tables were found

This is expected since those quotes are eaten by the shell.

>     -bash-4.1$ pg_dump -d postgres -t '"Statuses"'
>     pg_dump: no matching tables were found

>     -bash-4.1$ pg_dump -d postgres -t 'public."Statuses"'
>     pg_dump: no matching tables were found

These cases work for me.  Maybe your shell is doing something weird
with the quotes?

            regards, tom lane


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

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: [GENERAL] CRM where pg is a first class citizen?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] pg_dump and quoted identifiers