| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера