Re: SHOW TABLES

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: SHOW TABLES
Дата
Msg-id AANLkTilphFfME3k4FJ2__GuLjvtf75nAeyCOB4t8okEl@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SHOW TABLES  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: SHOW TABLES  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: SHOW TABLES  (Simon Riggs <simon@2ndQuadrant.com>)
Re: SHOW TABLES  ("Marc G. Fournier" <scrappy@hub.org>)
Re: SHOW TABLES  (Dimitri Fontaine <dfontaine@hi-media.com>)
Re: SHOW TABLES  (Hans-Jürgen Schönig <postgres@cybertec.at>)
Список pgsql-hackers
On Thu, Jul 15, 2010 at 18:35, Simon Riggs <simon@2ndquadrant.com> wrote:
> On Thu, 2010-07-15 at 17:38 +0200, Magnus Hagander wrote:
>
>> Is there an actual common use-case for having these commands available
>> for *non-psql* interfaces?
>
> There are many interfaces out there and people writing new ones
> everyday. We just wrote an interface for Android, for example.
>
> It is arguably *more* important to do this from non-psql interfaces.
>
> There should be one command to "display a list of tables" and it needs
> to be easily guessable for those who have forgotten.

The downside is that you are then limited to what can be returned as a
resultset. A "\d table" in psql returns a hell of a lot more than
that. So do we keep two separate formats for this? Or do we remove the
current, useful, output format in favor of a much worse formt just to
support more clients?


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Re: SHOW TABLES
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: SHOW TABLES