Re: psql questions: SQL, progname, copyright dates - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: psql questions: SQL, progname, copyright dates
Date
Msg-id 0ba2fa98d54a300fb44abf38ef9b294d@biglumber.com
Whole thread Raw
In response to Re: psql questions: SQL, progname, copyright dates  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: psql questions: SQL, progname, copyright dates  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg Stark wrote:
> Well there's always \dtS and \dvS I don't see why typing \dfS is any harder.
>
> It would be nice for this to be more visible in the documentation and the \?
> output though. I've only just found it after months of pulling hair out
> looking for something just like it
Robert Treat replied:
> Wow you're not kidding. I've been using postgresql for I don't know how
> many years and I don't think I'd ever noticed that before.  ISTM that we
> can make \df return only user function and \dfS return the system
> functions, and this would be consitant with how we handle other options.
> Just make sure to reword \? out put to make it clear that adding S will
> show system objects.
So it seems there are two possible solutions to the problem of segregating
user and system objects: change the order by or change the backslash operators.
I like the latter way, as it seems consistent with what we already are doing
(e.g. \dt \di) How about if we change the rest of the \d operators that support
custom objects to support the "S" option? I would affect the following:
\da \dc \dd \df \do \dT
I would rewrite the \? docs to make this more clear as well.
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200409051221
-----BEGIN PGP SIGNATURE-----
iD8DBQFBOz0TvJuQZxSWSsgRAmdhAKCke2FfyB58/2dGoQF3Z+qmfNq3swCglmk9
aHa4jh1T2fzfCQ7XRQIlhLM=
=r5Qb
-----END PGP SIGNATURE-----




pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: Adding columns in the middle of tables
Next
From: Ryan Kirkpatrick
Date:
Subject: Re: contrib/start-scripts/linux on Debian