Re: Function returning subset of columns from table (return type)

Поиск
Список
Период
Сортировка
От brian
Тема Re: Function returning subset of columns from table (return type)
Дата
Msg-id 47A66B43.3010904@zijn-digital.com
обсуждение исходный текст
Ответ на Re: Function returning subset of columns from table (return type)  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-general
Gurjeet Singh wrote:
>
> All's okay, except you should not have declared it IMMUTABLE, because the
> results depend on a database query.
>
> From the docs:
> IMMUTABLE indicates that the function cannot modify the database and always
> returns the same result when given the same argument values; that is, it does
> not do database lookups or otherwise use information not directly present in
> its argument list
>

Yes, my bad. Make that STABLE.

b

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

Предыдущее
От: "Christopher Browne"
Дата:
Сообщение: Re: postgresql book - practical or something newer?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Performance problems with Postgresql/ZFS/Non-global zones on Solaris?