Re: FWD: Re: Updated backslash consistency patch

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: FWD: Re: Updated backslash consistency patch
Date: 2009-01-15 21:26:37
Message-ID: 603c8f070901151326o42fe6b1bp6056779e839fefc1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 15, 2009 at 3:03 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>> The real problem here is that the 'S' suffix for \dt is a bad precedent
>> for everything else. If you want consistency then we need to change
>> that end of things. I think that the idea of a switch to omit system
>> objects, rather than include them, might work.
>
> I disagree. Most users, most of the time, do not want to see system
> objects. So all of the \d commands should omit system objects by default,
> and we should have one consistent switch across all \d commands to include
> system objects.
>
> Actually, I personally would prefer a *general* switch, that is:
>
> \system on
> \system off
>
> ... which would turn on and off the display of system objects with all \d
> commands, over extending \d with an array of Hungarian notation suffixes.

I think the general switch is a good idea, because then everyone can
get the behavior they want using ~/.psqlrc.

But I still want the Hungarian suffixes because being able to get a
different behavior just once is handy.

...Robert

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-01-15 21:34:09 Re: FWD: Re: Updated backslash consistency patch
Previous Message Brendan Jurd 2009-01-15 21:05:45 pg_dump versus views and opclasses