Re: BUG #5765: pg_dump fail to find upper case table name - Mailing list pgsql-bugs

From Pavel Golub
Subject Re: BUG #5765: pg_dump fail to find upper case table name
Date
Msg-id 1585841013.20101124172440@gf.microolap.com
Whole thread Raw
In response to Re: BUG #5765: pg_dump fail to find upper case table name  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-bugs
Hello, Kevin.

You wrote:

KG> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote:
KG>
>> 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
KG>
KG> Perhaps some of that should be moved up to the definition of the -t
KG> switch?  It wouldn't seem too out of place to me to put it somewhere
KG> near this sentence:
KG>
KG> | When using wildcards, be careful to quote the pattern if needed to
KG> | prevent the shell from expanding the wildcards.

+100

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




--
With best wishes,
 Pavel                          mailto:pavel@gf.microolap.com

pgsql-bugs by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: BUG #5764: installation error (incomplete process)
Next
From: "Grzegorz Daniluk"
Date:
Subject: BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char