Hi!

As suggested before by Heikki Linnakangas, I've added a patch for making
2PC transaction state 64-bit.
At first, my intention was to rebuild all twophase interface to use
FullTransactionId. But doing this in a proper
manner would lead to switching from TransactionId to FullTransactionId in
PGPROC and patch become too
big to handle here.

So I decided to keep it simple for now and use wrap logic trick and calc
FullTransactionId on current epoch,
since the span of active xids cannot exceed one epoch at any given time.


Patches 1 and 2 are the same as above.

-- 
Best regards,
Maxim Orlov.

Attachment: v57-0002-Use-larger-segment-file-names-for-pg_notify.patch
Description: Binary data

Attachment: v57-0003-Make-use-FullTransactionId-in-2PC-filenames.patch
Description: Binary data

Attachment: v57-0001-Index-SLRUs-by-64-bit-integers-rather-than-by-32.patch
Description: Binary data

Reply via email to