pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Cristiano <sumariva@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5765: pg_dump fail to find upper case table name
Date: Wed, 24 Nov 2010 09:04:48 -0600
Message-ID: <4CECD5300200002500037DF0@gw.wicourts.gov> (raw)
In-Reply-To: <4CED12E2.8030902@enterprisedb.com>
References: <201011241134.oAOBY8YQ016066@wwwmaster.postgresql.org>
	<4CED12E2.8030902@enterprisedb.com>

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



view thread (6+ messages)  latest in thread

Message-ID: <4CECD5300200002500037DF0@gw.wicourts.gov>
Permalink:  ../4CECD5300200002500037DF0@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4CECD5300200002500037DF0@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, heikki.linnakangas@enterprisedb.com, sumariva@gmail.com
  Subject: Re: BUG #5765: pg_dump fail to find upper case table name
  In-Reply-To: <4CECD5300200002500037DF0@gw.wicourts.gov>
  References: <201011241134.oAOBY8YQ016066@wwwmaster.postgresql.org> <4CED12E2.8030902@enterprisedb.com> <4CECD5300200002500037DF0@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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