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

From: Naoya Anzai <nao-anzai(at)xc(dot)jp(dot)nec(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Cc: 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 00:04:29
Message-ID: 116262CF971C844FB6E793F8809B51C6E9224B@BPXM02GP.gisp.nec.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > 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.

Regards,

Naoya

---
Naoya Anzai
Engineering Department
NEC Solution Inovetors, Ltd.
E-Mail: nao-anzai(at)xc(dot)jp(dot)nec(dot)com
---

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2015-06-03 00:48:20 Re: checkpointer continuous flushing
Previous Message Tomas Vondra 2015-06-02 22:20:21 Re: nested loop semijoin estimates