Re: \d type queries - why not views in system catalog?!?

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: \d type queries - why not views in system catalog?!?
Дата
Msg-id 03AF4E498C591348A42FC93DEA9661B8259A94@mail.vale-housing.co.uk
обсуждение исходный текст
Ответ на \d type queries - why not views in system catalog?!?  (Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com>)
Ответы Re: \d type queries - why not views in system catalog?!?  (Greg Copeland <greg@CopelandConsulting.Net>)
Список pgsql-hackers

> -----Original Message-----
> From: Greg Copeland [mailto:greg@CopelandConsulting.Net]
> Sent: 13 January 2003 20:56
> To: Robert Treat
> Cc: greg@turnstep.com; PostgresSQL Hackers Mailing List
> Subject: Re: [HACKERS] \d type queries - why not views in
> system catalog?!?
>
>
> Oh!
>
> That's an excellent idea.  Seemingly addresses the issue and
> has value-add.  I'm not aware of any gotchas here.  Is there
> something that is being overlooked?

Why use functions instead of views? Most UIs will want to format the
output as they see fit so a recordset would be the appropriate output.
Yes, a function could do this, but surely views would be simpler to
implement and maintain.

Regards, Dave.


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

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Re: \d type queries - why not views in system catalog?!?
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: \d type queries - why not views in system catalog?!?