Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g3sFL-0007by-Dt for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Sep 2018 00:27:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g3sFJ-00040G-IR for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Sep 2018 00:27:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g3sFJ-0003zs-80 for pgsql-hackers@lists.postgresql.org; Sun, 23 Sep 2018 00:27:33 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g3sFC-0006Ob-50 for pgsql-hackers@postgresql.org; Sun, 23 Sep 2018 00:27:31 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1g3sFA-0006FI-EH; Sat, 22 Sep 2018 20:27:24 -0400 Date: Sat, 22 Sep 2018 20:27:24 -0400 From: Bruce Momjian To: Michael Paquier Cc: Andres Freund , PostgreSQL-development Subject: Re: transction_timestamp() inside of procedures Message-ID: <20180923002724.GA9574@momjian.us> References: <20180920234040.GC29981@momjian.us> <20180921045536.GJ1338@paquier.xyz> <20180921051206.bzfiew4nthmunpbj@alap3.anarazel.de> <20180921053425.GM1338@paquier.xyz> <20180921102822.GA22699@momjian.us> <20180921223502.GA18319@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180921223502.GA18319@momjian.us> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Sep 21, 2018 at 06:35:02PM -0400, Bruce Momjian wrote: > Does the SQL standard have anything to say about CURRENT_TIMESTAMP in > procedures? Do we need another function that does advance on procedure > commit? I found a section in the SQL standards that talks about it, but I don't understand it. Can I quote the paragraph here? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +