Re: [HACKERS] More snapshot-management fun

2016-11-12 Thread Tom Lane
I wrote: > * ProcArrayInstallImportedXmin and ProcArrayInstallRestoredXmin will > forcibly overwrite MyPgXact->xmin with some random xmin or other. > While they take pains to ensure that doesn't cause the global xmin > horizon to go backwards, and while we're on the subject, I doubt that those pai

[HACKERS] More snapshot-management fun

2016-11-12 Thread Tom Lane
While pursuing the unprotected-use-of-CatalogSnapshot problem I noted earlier, I came across a couple of related issues: * ProcArrayInstallImportedXmin and ProcArrayInstallRestoredXmin will forcibly overwrite MyPgXact->xmin with some random xmin or other. While they take pains to ensure that doesn