| From: | "Gaetano Mendola" <gmendola(at)mm(dot)eutelsat(dot)org> | 
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
| Cc: | <pgsql-admin(at)postgresql(dot)org> | 
| Subject: | Re: strange behaviour | 
| Date: | 2002-04-27 17:13:17 | 
| Message-ID: | 00d001c1ee0e$d314e7c0$d5a9fea9@GMENDOLA2 | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-admin | 
"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Gaetano Mendola" <mendola(at)bigfoot(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gaetano Mendola | 2002-04-27 17:15:52 | Re: strange behaviour | 
| Previous Message | Tom Lane | 2002-04-27 15:17:19 | Re: strange behaviour |