Re: why does txid_current() assign new transaction-id?

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Naoya Anzai <nao-anzai(at)xc(dot)jp(dot)nec(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Akio Iwaasa <aki-iwaasa(at)vt(dot)jp(dot)nec(dot)com>
Subject: Re: why does txid_current() assign new transaction-id?
Date: 2015-06-03 11:34:38
Message-ID: CAB7nPqTxrunRMez-HauhrH_k_B6ir+UgzvS+MRxWg3MnHGsazA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 3, 2015 at 12:13 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:

> On Wed, Jun 3, 2015 at 9:04 AM, Naoya Anzai <nao-anzai(at)xc(dot)jp(dot)nec(dot)com>
> wrote:
> >> > diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
> >> > index 89a609f..6485b42 100644
> >> > --- a/doc/src/sgml/func.sgml
> >> > +++ b/doc/src/sgml/func.sgml
> >> > @@ -16233,7 +16233,7 @@ SELECT collation for ('foo' COLLATE "de_DE");
> >> > <row>
> >> >
> <entry><literal><function>txid_current()</function></literal></entry>
> >> > <entry><type>bigint</type></entry>
> >> > - <entry>get current transaction ID</entry>
> >> > + <entry>get current transaction ID, assigning a new one if
> current transaction does not have one</entry>
> >> ^
> the
> >
> > That looks good.
>
> Committed. Thanks!
>

Thanks for picking up the fix.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-06-03 12:04:34 Re: auto_explain sample rate
Previous Message Craig Ringer 2015-06-03 10:54:24 Re: auto_explain sample rate