Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
SPI_push
Prev Up44.1. Interface FunctionsHome Next

SPI_push

SPI_push — push SPI stack to allow recursive SPI usage

Synopsis

void SPI_push(void)

Description

SPI_push should be called before executing another procedure that might itself wish to use SPI. AfterSPI_push, SPI is no longer in aconnected state, and SPI function calls will be rejected unless a freshSPI_connect is done. This ensures a clean separation between your procedure's SPI state and that of another procedure you call. After the other procedure returns, callSPI_pop to restore access to your own SPI state.

Note thatSPI_execute and related functions automatically do the equivalent ofSPI_push before passing control back to the SQL execution engine, so it is not necessary for you to worry about this when using those functions. Only when you are directly calling arbitrary code that might containSPI_connect calls do you need to issueSPI_push andSPI_pop.


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

[8]ページ先頭

©2009-2025 Movatter.jp