Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4600EB5DBE9 for ; Thu, 8 Sep 2011 11:40:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 30293-08 for ; Thu, 8 Sep 2011 14:40:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 04AD2B5DBCB for ; Thu, 8 Sep 2011 11:40:36 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p88EeVXx022066; Thu, 8 Sep 2011 10:40:31 -0400 (EDT) To: Bruce Momjian cc: Susanne Ebrecht , Robert Haas , Grzegorz Szpetkowski , pgsql-docs@postgresql.org Subject: Re: createuser/dropuser username In-reply-to: <201109080137.p881bSj10401@momjian.us> References: <201109080137.p881bSj10401@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 07 Sep 2011 21:37:28 -0400" Date: Thu, 08 Sep 2011 10:40:31 -0400 Message-ID: <22065.1315492831@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/29 X-Sequence-Number: 6950 Bruce Momjian writes: > Tom Lane wrote: >> Bruce Momjian writes: >>> It removes quoting for table references in clusterdb and index/table >>> references in reindexdb, >> Uh, surely that breaks things. Or did you miss my statement that the >> current behavior is what is intended? > I saw that, but how is that consistent with other command-line tools? > What is the logic that has some tools preserve case and others not? If there are any that fail to preserve case, those are the ones to be fixed. Making the working ones match the broken ones is not the correct direction. > Really? Pg_dump doesn't preserve case for table names: > pg_dump -t Test test pg_dump is a special case because the arguments are patterns to match, not fixed names. regards, tom lane