From kneupper@hal-pc.org Fri Oct 9 17:05:35 2015 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkb6t-0007po-BP for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Oct 2015 17:05:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zkb6s-000275-TG for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Oct 2015 17:05:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZkayE-0001gp-P9 for pgsql-bugs@postgresql.org; Fri, 09 Oct 2015 16:56:38 +0000 Received: from mail.hal-pc.org ([66.187.70.28]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zkay5-0004vZ-Vq for pgsql-bugs@postgresql.org; Fri, 09 Oct 2015 16:56:36 +0000 Received: from mail.hal-pc.org (localhost [127.0.0.1]) by mail.hal-pc.org (Postfix) with ESMTP id CB5502B3E82F for ; Fri, 9 Oct 2015 11:56:24 -0500 (CDT) Received: from [192.168.0.103] (unknown [50.252.43.225]) by mail.hal-pc.org (Postfix) with ESMTPS id BF5C12B3E82D for ; Fri, 9 Oct 2015 11:56:24 -0500 (CDT) Message-ID: <5617F1C1.5010109@hal-pc.org> Date: Fri, 09 Oct 2015 11:56:33 -0500 From: Doug Kneupper User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: PG_Dump Mixed case table names Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Pg-Spam-Score: -1.2 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org I have looked on the internet for a solution to this.  I have found a few.
None of them worked.
I'm using Windows7 and any combination of quotes (both single and double)
do not work.  I have also tried with the slash, that does not work either.
I'm using 1.20 from the Pgadmin III download.


Doug Kneupper
From david.g.johnston@gmail.com Fri Oct 9 17:22:59 2015 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkbNi-00007k-SR for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Oct 2015 17:22:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZkbNh-0004UV-Ss for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Oct 2015 17:22:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZkbN4-0003nZ-0B for pgsql-bugs@postgresql.org; Fri, 09 Oct 2015 17:22:18 +0000 Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZkbMx-0005t8-Bq for pgsql-bugs@postgresql.org; Fri, 09 Oct 2015 17:22:16 +0000 Received: by igbni9 with SMTP id ni9so7911648igb.1 for ; Fri, 09 Oct 2015 10:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Nbybh8FTHvhIGYC/u0sPxvTs1UfSk6021yDUx6hjZ7w=; b=XoCjPYrBa5nbAiJ4aWu8QfErTeS1vFLpQXbZq+RpCB1HwHboQDrEH6sRYwtXPKuQ7q uQEKZRvd/FaGqhWIyF5OVheuh0P0W8lbjiTDr/jlEBvcYDd+d9nI+noBRjn2VXnmmFth njxCqPeP1fP5PBwhMhdyb3NDkQx0ZzVOT/HojYrPvIn5b6turY1OE/PmDJYcHD+uQsT8 aHt9oaPGdbyOlCI33QxobDbAy89jG2N4a3D2HJpNI4gKDK7WSxUrfAg6jg0sjqSMhfI2 iPqERFxbG7hJlMjpU19HIcg+ZNGrh/lNBVsHhdvayM1K8rCBMo5Tp5zNaLflGDplbAuG OKOw== MIME-Version: 1.0 X-Received: by 10.50.50.68 with SMTP id a4mr493121igo.49.1444411330604; Fri, 09 Oct 2015 10:22:10 -0700 (PDT) Received: by 10.36.62.134 with HTTP; Fri, 9 Oct 2015 10:22:10 -0700 (PDT) In-Reply-To: <5617F1C1.5010109@hal-pc.org> References: <5617F1C1.5010109@hal-pc.org> Date: Fri, 9 Oct 2015 13:22:10 -0400 Message-ID: Subject: Re: PG_Dump Mixed case table names From: "David G. Johnston" To: Doug Kneupper Cc: "pgsql-bugs@postgresql.org" Content-Type: multipart/alternative; boundary=089e0111bb6a4535c40521af38f3 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --089e0111bb6a4535c40521af38f3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Oct 9, 2015 at 12:56 PM, Doug Kneupper wrote: > I have looked on the internet for a solution to this. I have found a few= . > None of them worked. > I'm using Windows7 and any combination of quotes (both single and double) > do not work. I have also tried with the slash, that does not work either= . > I'm using 1.20 from the Pgadmin III download. > =E2=80=8BYou need to provide more detail - specifically, what it is you are= doing. Names, when quoted, always use double-quotes. For simple names the quotes are optional but if omitted then the provided value is case-folded to lower case. Thus: ColumnName =3D> columnname. In order to use special characters (spaces, symbols, leading digit) you must use double-quotes. When using double-quotes the case of the supplied value is preserved. "ColumnName" =3D> "ColumnName"=E2=80=8B The quotes are not part of the identifier but are only used during parsing. Thus: =E2=80=8BColumnName and "columnname"=E2=80=8B represent the same name. David J. --089e0111bb6a4535c40521af38f3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Fri, Oc= t 9, 2015 at 12:56 PM, Doug Kneupper <kneupper@hal-pc.org> wrote:
=20 =20 =20
I have looked on the internet for a solution to this.=C2=A0 I have found a few.
None of them worked.
I'm using Windows7 and any combination of quotes (both single and double)
do not work.=C2=A0 I have also tried with the slash, that does not wo= rk either.
I'm using 1.20 from the Pgadmin III download.

=E2=80=8BYou need to provide mo= re detail - specifically, what it is you are doing.

Names, when quoted, alway= s use double-quotes.=C2=A0 For simple names the quotes are optional but if = omitted then the provided value is case-folded to lower case.=C2=A0 Thus: = =C2=A0ColumnName =3D> columnname.

=
In order to use special characters (spac= es, symbols, leading digit) you must use double-quotes.

When using double-quo= tes the case of the supplied value is preserved. =C2=A0"ColumnName&quo= t; =3D> "ColumnName"=E2=80=8B

The quotes are not part of the ide= ntifier but are only used during parsing.=C2=A0 Thus:

=E2=80=8BColumnName and "columnna= me"=E2=80=8B represent the same name.

David J.


--089e0111bb6a4535c40521af38f3--