Re: BUG #5765: pg_dump fail to find upper case table name

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: BUG #5765: pg_dump fail to find upper case table name
Дата
Msg-id 4CECD5300200002500037DF0@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: BUG #5765: pg_dump fail to find upper case table name  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: BUG #5765: pg_dump fail to find upper case table name  (Pavel Golub <pavel@microolap.com>)
Re: BUG #5765: pg_dump fail to find upper case table name  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote:

> Manual says (at the bottom of
> http://www.postgresql.org/docs/8.4/static/app-pgdump.html):
>
>> To specify an upper-case or mixed-case name in -t and related
>> switches, you need to double-quote the name; else it will be
>> folded to lower case (see Patterns). But double quotes are
>> special to the shell, so in turn they must be quoted. Thus, to
>> dump a single table with a mixed-case name, you need something
>> like
>>
>> $ pg_dump -t '"MixedCaseName"' mydb > mytab.sql

Perhaps some of that should be moved up to the definition of the -t
switch?  It wouldn't seem too out of place to me to put it somewhere
near this sentence:

| When using wildcards, be careful to quote the pattern if needed to
| prevent the shell from expanding the wildcards.

While examples are useful, information which is only provided there
is easily missed when someone goes to read up on a particular
switch.

-Kevin

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #5765: pg_dump fail to find upper case table name
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #5764: installation error (incomplete process)