| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | Thomas Kellerer <spam_eater(at)gmx(dot)net> |
| Cc: | "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: pg_dump and quoted identifiers |
| Date: | 2016-12-13 16:43:10 |
| Message-ID: | CAFj8pRCT3aChVtTaaYM_3c-Q3QYy0CG80uf-Zx=A2q4s6DNmmA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
2016-12-13 17:38 GMT+01:00 Thomas Kellerer <spam_eater(at)gmx(dot)net>:
> Inspired by this question:
>
> http://dba.stackexchange.com/q/158044/1822
>
> I tried that for myself, and it seems that pg_dump indeed can not parse
> quoted identifiers:
>
> psql (9.6.1)
> Type "help" for help.
>
> postgres=# create table "Statuses" (id integer);
> CREATE TABLE
> postgres=# \q
>
> -bash-4.1$ pg_dump -d postgres -t "Statuses"
> pg_dump: no matching tables were found
>
> -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
>
> Running 9.6.1 on CentOS 6 but under Windows this is the same.
>
> Any ideas?
>
pg_dump -t '"Statuses"' postgres
Regards
Pavel
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ivan Sergio Borgonovo | 2016-12-13 16:58:22 | CRM where pg is a first class citizen? |
| Previous Message | Torsten Förtsch | 2016-12-13 16:40:43 | Re: is this a known bug in 9.6? |