public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: Susanne Ebrecht <[email protected]>
Cc: Robert Haas <[email protected]>
Cc: Grzegorz Szpetkowski <[email protected]>
Cc: [email protected]
Subject: Re: createuser/dropuser username
Date: Thu, 08 Sep 2011 10:40:31 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Bruce Momjian <[email protected]> writes:
> Tom Lane wrote:
>> Bruce Momjian <[email protected]> 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



view thread (18+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: createuser/dropuser username
  In-Reply-To: <[email protected]>

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

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox