Re: strange behaviour

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: strange behaviour
Дата
Msg-id 00d001c1ee0e$d314e7c0$d5a9fea9@GMENDOLA2
обсуждение исходный текст
Ответ на strange behaviour  ("Gaetano Mendola" <mendola@bigfoot.com>)
Список pgsql-admin
"Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> "Gaetano Mendola" <mendola@bigfoot.com> writes:
> > It is normal that inside sp_foo() the sp_now() is not anymore called ?
>
> You *did* mark it cachable.  timeofday() is pretty much the classic
> example of functions that shouldn't be marked cachable.

Yes I know, but is not so clear why in a select like:

select sp_now(), sp_foo();

the first call to sp_now() is not cached and inside sp_foo() yes,
this behaviour was more clear for me if both sp_now() was
cached.


Ciao
Gaetano


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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: smart copy?
Следующее
От: Jane Richards
Дата:
Сообщение: How do I get encrypted password access from a cgi application