Re: MySQL-ism help patch for psql

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dimitri Fontaine <dfontaine@hi-media.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut <peter_e@gmx.net>, Bruce Momjian <bruce@momjian.us>, David Christensen <david@endpoint.com>, Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>, Jeff Davis <pgsql@j-davis.com>, pgsql-hackers@postgresql.org, Magnus Hagander <magnus@hagander.net>
Date: 2010-01-20T16:53:35Z
Lists: pgsql-hackers
Dimitri Fontaine <dfontaine@hi-media.com> writes:
> I'll give my vote to Peter's idea that show tables; should better act as
> if you typed \d.

We have previously considered and rejected this type of approach, for
example in the pgsql-bugs discussion I referenced upthread.

> I don't see what the gain is to refuse being nice to MySQL newcomers
> when someone actually does the work.

Nobody has actually done such work, nor offered to.  If it did show up
it would be a large and ugly patch that would have a good chance of
being rejected.  The proposed patch to just provide a helpful message
is only a dozen or two lines, which is about the right amount of effort
to expend in this direction IMHO.

			regards, tom lane