Re: Re: BETWEEN clause

Поиск
Список
Период
Сортировка
От Joel Burton
Тема Re: Re: BETWEEN clause
Дата
Msg-id Pine.LNX.4.21.0104241819550.22793-100000@olympus.scw.org
обсуждение исходный текст
Ответ на Re: Re: BETWEEN clause  (Paul Tomblin <ptomblin@xcski.com>)
Ответы Re: Re: BETWEEN clause  (Paul Tomblin <ptomblin@xcski.com>)
Список pgsql-general
On Tue, 24 Apr 2001, Paul Tomblin wrote:

> Quoting Bruce Momjian (pgman@candle.pha.pa.us):
> >
> > If someone can think of a clearer way to present it, we are all ears.
>
> Speaking for myself, the problem isn't that the information in \? isn't
> helpful, it's that I was expecting something more like "SHOW TABLE" or
> "DESCRIBE" which is how it's done on the previous couple of SQL dbmses
> I've used.

The challenge is that, for some databases, the database server itself
parses these commands, where, for PG, \d is turned into perfectly normal
PG queries to the system catalogs. (psql -E will let you see this
happening.)

I like our way much better -- once you've learned a bit about the system
tables, you can use them in any query, etc. However, many new users do try
DESCRIBE, etc.

Would it be worthwhile for psql / PG parser to notice these attempts and
bleat out some help? It doesn't quite seem worthwhile to me, but perhaps
others think it is.

--
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington


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

Предыдущее
От: Paul Tomblin
Дата:
Сообщение: Re: Re: BETWEEN clause
Следующее
От: will trillich
Дата:
Сообщение: inheritance