Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id DF3EB475B4C for ; Sat, 27 Apr 2002 11:17:20 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3RFHKF20708; Sat, 27 Apr 2002 11:17:20 -0400 (EDT) To: "Gaetano Mendola" Cc: pgsql-admin@postgresql.org Subject: Re: strange behaviour In-reply-to: <00c301c1edd1$b9cc5b50$d5a9fea9@GMENDOLA2> References: <00c301c1edd1$b9cc5b50$d5a9fea9@GMENDOLA2> Comments: In-reply-to "Gaetano Mendola" message dated "Sat, 27 Apr 2002 11:55:55 +0200" Date: Sat, 27 Apr 2002 11:17:19 -0400 Message-ID: <20705.1019920639@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/273 X-Sequence-Number: 4161 "Gaetano Mendola" 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. regards, tom lane