Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E4D551337B39 for ; Wed, 24 Nov 2010 12:30:21 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 42202-10 for ; Wed, 24 Nov 2010 16:30:14 +0000 (UTC) X-Greylist: delayed 01:00:23.454807 by SQLgrey-1.7.6 Received: from mail-px0-f174.google.com (mail-px0-f174.google.com [209.85.212.174]) by mail.postgresql.org (Postfix) with ESMTP id 4EFB01337B34 for ; Wed, 24 Nov 2010 12:30:13 -0400 (AST) Received: by pxi15 with SMTP id 15so2444777pxi.19 for ; Wed, 24 Nov 2010 08:30:13 -0800 (PST) Received: by 10.204.62.17 with SMTP id v17mr8825525bkh.67.1290612265168; Wed, 24 Nov 2010 07:24:25 -0800 (PST) Received: from [192.168.1.104] (253-39-133-95.pool.ukrtel.net [95.133.39.253]) by mx.google.com with ESMTPS id d12sm3795921bkw.19.2010.11.24.07.24.22 (version=SSLv3 cipher=OTHER); Wed, 24 Nov 2010 07:24:23 -0800 (PST) Date: Wed, 24 Nov 2010 17:24:40 +0200 From: Pavel Golub Reply-To: Pavel Golub Organization: Microolap X-Priority: 3 (Normal) Message-ID: <1585841013.20101124172440@gf.microolap.com> To: "Kevin Grittner" CC: pgsql-bugs@postgresql.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201011/155 X-Sequence-Number: 28735 Hello, Kevin. You wrote: KG> Heikki Linnakangas 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