pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #8092: pg_dump need sur quoting schema name
3+ messages / 3 participants
[nested] [flat]
* BUG #8092: pg_dump need sur quoting schema name
@ 2013-04-18 13:23 xavier.mouton-dubosc@notalus.fr
2013-04-18 15:00 ` Re: BUG #8092: pg_dump need sur quoting schema name Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 3+ messages in thread
From: xavier.mouton-dubosc@notalus.fr @ 2013-04-18 13:23 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 8092
Logged by: Xavier Mouton-Dubosc
Email address: xavier.mouton-dubosc@notalus.fr
PostgreSQL version: 9.2.4
Operating system: Linux Ubuntu 12.10
Description:
When I dump "default" schema
pg_dump -s --schema="default" --username="user" --host="localhost"
--quote-all-identifiers --serializable-deferrable "base"
works well. But when I try to dump "other" schema
pg_dump -s --schema="other" [...]
I have this error:
pg_dump: No matching schemas were found
I have to surquote schema name to have it working
pg_dump -s --schema="\"other\"" [...]
seems strange
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #8092: pg_dump need sur quoting schema name
2013-04-18 13:23 BUG #8092: pg_dump need sur quoting schema name xavier.mouton-dubosc@notalus.fr
@ 2013-04-18 15:00 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2013-04-18 15:45 ` Re: BUG #8092: pg_dump need sur quoting schema name Xavier Mouton-Dubosc <xavier.mouton-dubosc@notalus.fr>
0 siblings, 1 reply; 3+ messages in thread
From: Alvaro Herrera @ 2013-04-18 15:00 UTC (permalink / raw)
To: xavier.mouton-dubosc@notalus.fr; +Cc: pgsql-bugs
xavier.mouton-dubosc@notalus.fr wrote:
> works well. But when I try to dump "other" schema
> pg_dump -s --schema="other" [...]
>
> I have this error:
> pg_dump: No matching schemas were found
>
> I have to surquote schema name to have it working
> pg_dump -s --schema="\"other\"" [...]
>
> seems strange
Does your "other" schema have uppercase letters or some such?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #8092: pg_dump need sur quoting schema name
2013-04-18 13:23 BUG #8092: pg_dump need sur quoting schema name xavier.mouton-dubosc@notalus.fr
2013-04-18 15:00 ` Re: BUG #8092: pg_dump need sur quoting schema name Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2013-04-18 15:45 ` Xavier Mouton-Dubosc <xavier.mouton-dubosc@notalus.fr>
0 siblings, 0 replies; 3+ messages in thread
From: Xavier Mouton-Dubosc @ 2013-04-18 15:45 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: pgsql-bugs
Yes.
structure is kind of [a-zA-Z0-9\-_]{4,}
Le 18/04/2013 17:00, Alvaro Herrera a écrit :
> xavier.mouton-dubosc@notalus.fr wrote:
>
>> works well. But when I try to dump "other" schema
>> pg_dump -s --schema="other" [...]
>>
>> I have this error:
>> pg_dump: No matching schemas were found
>>
>> I have to surquote schema name to have it working
>> pg_dump -s --schema="\"other\"" [...]
>>
>> seems strange
> Does your "other" schema have uppercase letters or some such?
>
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2013-04-18 15:45 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-04-18 13:23 BUG #8092: pg_dump need sur quoting schema name xavier.mouton-dubosc@notalus.fr
2013-04-18 15:00 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2013-04-18 15:45 ` Xavier Mouton-Dubosc <xavier.mouton-dubosc@notalus.fr>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox