Re: [HACKERS] Are we losing momentum?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Sean Chittenden <sean(at)chittenden(dot)org>, Curt Sampson <cjs(at)cynic(dot)net>, Brent Verner <brent(at)rcfile(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Are we losing momentum?
Date: 2003-04-17 14:05:20
Message-ID: 10266.1050588320@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Sean Chittenden writes:
>> I don't think these should be hacked into the backend/libpq, but I
>> think it'd be a huge win to hack in "show *" support into psql for
>> MySQL users so they can type:
>>
>> SHOW (databases|tables|views|functions|triggers|schemas);

> Well, we (will) have the information schema, and if you like you can put
> it in the path and write
> select * from tables;
> etc., which seems just as good.

I think Sean's idea is not to make it "just as easy as MySQL", it's to
make it "the *same* as MySQL", for the benefit of those that refuse to
learn differently. Them as won't adjust to "\dt" in place of "show
tables" aren't likely to adjust to "select * from tables" either.
Not even (maybe especially not) if it's arguably a standard.

I think the idea has some merit; although I wonder whether it wouldn't
be smarter to put the code in the backend so that you don't need a
parser in psql. The SHOW code could fall back to looking at these
possibilities after it fails to find a match to a GUC variable name.

regards, tom lane

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Jean-Louis Leroy 2003-04-17 14:50:24 LSM 2003
Previous Message Ian Barwick 2003-04-17 12:50:47 Re: Are we losing momentum?

Browse pgsql-general by date

  From Date Subject
Next Message Georg Steffers 2003-04-17 14:07:18 Re: problem with pl/pgsql
Previous Message dewins murillo 2003-04-17 13:23:21 Nuevo PostgreSQL Panel de Control

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-04-17 14:14:46 Re: GLOBAL vs LOCAL temp tables
Previous Message Tom Lane 2003-04-17 13:56:01 Re: pg_clog woes with 7.3.2 - Episode 2

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-04-17 17:40:36 Re: Win32 defines
Previous Message Ian Barwick 2003-04-17 12:50:47 Re: Are we losing momentum?