Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
SPI_rollback
Prev Up45.4. Transaction ManagementHome Next

SPI_rollback

SPI_rollback, SPI_rollback_and_chain — abort the current transaction

Synopsis

void SPI_rollback(void)
void SPI_rollback_and_chain(void)

Description

SPI_rollback rolls back the current transaction. It is approximately equivalent to running the SQL commandROLLBACK. After the transaction is rolled back, a new transaction is automatically started using default transaction characteristics, so that the caller can continue using SPI facilities.

SPI_rollback_and_chain is the same, but the new transaction is started with the same transaction characteristics as the just finished one, like with the SQL commandROLLBACK AND CHAIN.

These functions can only be executed if the SPI connection has been set as nonatomic in the call toSPI_connect_ext.


Prev Up Next
SPI_commit Home SPI_start_transaction
pdfepub
Go to Postgres Pro Standard 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp