From: | Thom Brown <thombrown(at)gmail(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: SHOW TABLES |
Date: | 2010-07-15 16:03:06 |
Message-ID: | AANLkTinnE5fUrFDf8_n3ReP_oqKJy4Kki1SAsZG1wvN5@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 15 July 2010 16:52, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
>
> Thom Brown wrote:
>>
>> Looks like the last time this was discussed, there wasn't any clear
>> conclusion. Someone created a patch and it's still on the TODO list:
>> http://archives.postgresql.org/pgsql-hackers/2010-01/msg01845.php
>>
>>
>>
>
> This is not at all what Simon proposed. He wants to make it a backend
> command, not a psql command.
>
My bad. But I find the following slightly odd:
"The biggest turn off that most people experience when using PostgreSQL
is that psql does not support memorable commands.
I would like to implement the following commands as SQL, allowing them
to be used from any interface."
If it's only a psql problem, why implement it as SQL? Is it just so
we're not adding keywords specifically to psql? In that case, it
shouldn't support QUIT.
But I agree with the principal of improving usability. There's the
issue of schema with SHOW TABLES though. It would either have to show
tables and their associated schema in separate columns, or have an
extended "SHOW TABLES IN [SCHEMA] my_schema" syntax.
I personally think LIST <object type> makes more sense, although I
guess the point is that SHOW would be familiar to MySQL defectors ;)
Thom
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2010-07-15 16:05:00 | Re: SHOW TABLES |
Previous Message | Guillaume Lelarge | 2010-07-15 16:02:10 | Re: SHOW TABLES |