Re: Views and functions returning sets of records

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Views and functions returning sets of records
Дата
Msg-id 29705.1206203639@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Views and functions returning sets of records  (Giorgio Valoti <giorgio_v@mac.com>)
Ответы Re: Views and functions returning sets of records  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список pgsql-performance
Giorgio Valoti <giorgio_v@mac.com> writes:
> maybe it�s a naive question but I was wondering if there is any
> difference, from a performance point of view, between a view and a
> function performing the same task,

Yes.  Usually the view will win.

            regards, tom lane

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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Views and functions returning sets of records
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Views and functions returning sets of records