Re: Views and functions returning sets of records

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Views and functions returning sets of records
Дата
Msg-id 20080322165551.GA19460@KanotixBox
обсуждение исходный текст
Ответ на Re: Views and functions returning sets of records  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Views and functions returning sets of records  (Giorgio Valoti <giorgio_v@mac.com>)
Список pgsql-performance
Tom Lane <tgl@sss.pgh.pa.us> schrieb:

> 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.

*smile*


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

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