Re: Volatility of pg_xact_commit_timestamp() and pg_last_committed_xact()

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Volatility of pg_xact_commit_timestamp() and pg_last_committed_xact()
Date: 2015-07-22 18:48:31
Message-ID: 20150722184831.GM5596@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas wrote:
> On Thu, Jul 16, 2015 at 9:49 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> > Volatilities of pg_xact_commit_timestamp() and pg_last_committed_xact()
> > are now STABLE. But ISTM that those functions can return different results
> > even within a single statement. So we should change the volatilities of them
> > to VOLATILE?
>
> Sounds right to me.

Will fix.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-07-22 18:55:15 Re: [PATCH] postgres_fdw extension support
Previous Message Andres Freund 2015-07-22 18:45:03 Re: pgbench stats per script & other stuff