Re: Showing index details with \d on psql

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Showing index details with \d on psql
Date: 2001-10-13 02:43:47
Message-ID: 200110130243.WAA08825@tisch.mail.mindspring.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I like the idea of this but the format, as you say, could use
> improvement. Can I recommend having a "*" next to the columns
> involved in the index and have the column names listed next to
> the index names? That would look better and be clearer, I think.

Agreed - it's probably more intuitive for someone to ask
"is this column in an index?" and "what does this index cover?"
rather than "which index is this column in?" Attached patch is
against 7.1.2. As a side benfit, it does multiple stars for
columns that belong to multiple indices, which is a nice feature
to be able to spot right away.

Greg Sabino Mullane
greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200110122041

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iQA/AwUBO8eqrbybkGcUlkrIEQI+BwCeMkkc2UfyJs+vaJNWS9BFSdZInvAAnjIF
vRuRPuHJWmQ8dqxorK72wLgM
=VdAI
-----END PGP SIGNATURE-----

Attachment Content-Type Size
unknown_filename text/plain 2.5 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Paul A Vixie 2001-10-13 04:05:29 Re: IPv6 Support for INET/CIDR types.
Previous Message Bruce Momjian 2001-10-13 01:07:36 Re: IPv6 Support for INET/CIDR types.