[PATCH] Add initial xid/mxid/mxoff to initdb - Mailing list pgsql-hackers

From Maxim Orlov
Subject [PATCH] Add initial xid/mxid/mxoff to initdb
Date
Msg-id CACG=ezaa4vqYjJ16yoxgrpa-=gXnf0Vv3Ey9bjGrRRFN2YyWFQ@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Add initial xid/mxid/mxoff to initdb
Re: [PATCH] Add initial xid/mxid/mxoff to initdb
List pgsql-hackers
Hi!

During work on 64-bit XID patch [1] we found handy to have initdb options to set initial xid/mxid/mxoff values to arbitrary non default values. It helps test different scenarios: related to wraparound, pg_upgrade from 32-bit XID to 64-bit XID, etc.

We realize, this patch can be singled out as an independent patch from the whole patchset in [1] and be useful irrespective of 64-bit XID in cases of testing of wraparound and so on.

In particular, we employed this patch to test recent changes in logical replication of subxacts [2] and found no problems in it near the point of publisher wraparound.

Please share your opinions and reviews are always welcome.


--
Best regards,
Maxim Orlov.
Attachment

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [PATCH] Log details for client certificate failures
Next
From: "Imseih (AWS), Sami"
Date:
Subject: Re: Add index scan progress to pg_stat_progress_vacuum