Search Postgresql Archives

Re: pg_dump and quoted identifiers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Kellerer <spam_eater@xxxxxxx> 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux