Re: pgstat SRF?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgstat SRF?
Дата
Msg-id 10560.1208786754@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgstat SRF?  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pgstat SRF?  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> While looking over the statistics-for-functions patch
> (http://archives.postgresql.org/pgsql-patches/2008-03/msg00300.php), I
> came back to a thought I've had before - why do we keep one function
> per column for pgstat functions, instead of using a set returning
> function? Is there some actual reason for this, or is it just legacy
> from a time when it was (much) harder to write SRFs?

I think it's so that you can build your own stats views instead of being
compelled to select the data someone thought was good for you.
        regards, tom lane


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

Предыдущее
От: "Brendan Jurd"
Дата:
Сообщение: Re: TODO, FAQs to Wiki?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: TODO, FAQs to Wiki?