Re: Views, views, views! (long)

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Views, views, views! (long)
Дата
Msg-id 20050506160702.GM88920@decibel.org
обсуждение исходный текст
Ответ на Re: Views, views, views! (long)  ("Greg Sabino Mullane" <greg@turnstep.com>)
Ответы Re: Views, views, views! (long)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, May 06, 2005 at 11:34:49AM -0000, Greg Sabino Mullane wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> > And what about users who's interface to PostgreSQL is psql?
> 
> Backslash commands.

There's a ton of cases the backslash commands don't cover, which others
have given examples of. Even if we went to town and added a whole bunch
of extra backslash commands, there's still going to be things that just
aren't covered.

Aside from that, it's currently rather silly that every admin tool has
to code up a very complex set of queries to get info from the system
catalog. It makes much more sense to put that complexity into a set of
system views that are maintained as part of the backend, instead of
pushing that effort out to everyone who writes tools.
-- 
Jim C. Nasby, Database Consultant               decibel@decibel.org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Database properties not being duplicated
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pl/pgsql enabled by default