Re: Should we add xid_current() or a int8->xid cast?

Mark Dilger <hornschnorter@gmail.com>

From: Mark Dilger <hornschnorter@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: btfujiitkp <btfujiitkp@oss.nttdata.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-12-02T17:55:59Z
Lists: pgsql-hackers

On 11/30/19 5:14 PM, Thomas Munro wrote:
> On Sun, Dec 1, 2019 at 12:22 PM Mark Dilger <hornschnorter@gmail.com> wrote:
>> These two patches (v3) no longer apply cleanly.  Could you please
>> rebase?
> 
> Hi Mark,
> Thanks.  Here's v4.

Thanks, Thomas.

The new patches apply cleanly and pass 'installcheck'.

-- 
Mark Dilger



Commits

  1. Introduce xid8-based functions to replace txid_XXX.

  2. Add SQL type xid8 to expose FullTransactionId to users.

  3. Replace the former method of determining snapshot xmax --- to wit, calling