Re: fix crash with Python 3.11

Sho Kato (Fujitsu) <kato-sho@fujitsu.com>

From: "kato-sho@fujitsu.com" <kato-sho@fujitsu.com>
To: Jacob Champion <pchampion@vmware.com>, "peter.eisentraut@enterprisedb.com" <peter.eisentraut@enterprisedb.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2022-01-14T05:30:27Z
Lists: pgsql-hackers
Hello,

I run vcregeress plcheck on Windows Server 2016 with python 3.11.0a3 and python 3.9.7 which are installed using installer.
All tests are passed. I'm not familiar with PL/Python but I think it's good.

regards, sho kato

Commits

  1. Re-add SPICleanup for ABI compatibility in stable branch

  2. Fix SPI's handling of errors during transaction commit.

  3. Don't use static storage for SaveTransactionCharacteristics().