Re: FWD: Re: Updated backslash consistency patch

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: 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 16:25:23
Message-ID: 200901151625.n0FGPNo23249@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas wrote:
> Bruce Momjian wrote:
> > Peter Eisentraut wrote:
> >> Bruce Momjian wrote:
> >>>> Here's an updated version of the psql backslash patch that should
> >>>> apply cleanly to the current HEAD. To recap, this makes all the \dX
> >>>> commands (most importantly to most: \df) work like \dt does, in that it
> >>>> requires a \dXS to see system items. See the archives for much more
> >>>> discussion on the issue.
> >>> Patch applied, thanks.
> >> This patch has annoyed me twice in two days now, and similarly with
> >> other people I know. Having to type \dfS now is about the worst loss of
> >> usability in psql that I can recall. Can we reconsider or revert this?
> >
> > Well, \dT is even worse. ;-) (How many users have user-defined types?)
> >
> > The basic goal of the patch was to make 'S' consistent for all \d
> > backslash commands, and we had a lot of discussion about it, and many
> > people asked for it (I can't find my user functions). It is hard to
> > argue that our previous behavior was logical (though perhaps useful).
>
> Consistency is nice, but I'm used to typing \df pg_foobar() as well.
> Could we make plain "\df" list only user functions, but "\df XXX" search
> for system functions as well? And the same for all \d* commands, for the
> consistency.

That makes sense; let me work on that.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-01-15 16:34:16 Re: Hot standby, RestoreBkpBlocks and cleanup locks
Previous Message Stephen Frost 2009-01-15 16:22:06 Re: New patch for Column-level privileges