Are transactions available in the SPI interface?
pgsql-interfaces by date:
Соглашаюсь с условиями обработки персональных данных