Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
SPI_prepare_params
Prev Up45.1. Interface FunctionsHome Next

SPI_prepare_params

SPI_prepare_params — prepare a statement, without executing it yet

Synopsis

SPIPlanPtr SPI_prepare_params(const char *command,                              ParserSetupHookparserSetup,                              void *parserSetupArg,                              intcursorOptions)

Description

SPI_prepare_params creates and returns a prepared statement for the specified command, but doesn't execute the command. This function is equivalent toSPI_prepare_cursor, with the addition that the caller can specify parser hook functions to control the parsing of external parameter references.

This function is now deprecated in favor ofSPI_prepare_extended.

Arguments

const char *command

command string

ParserSetupHookparserSetup

Parser hook setup function

void *parserSetupArg

pass-through argument forparserSetup

intcursorOptions

integer bit mask of cursor options; zero produces default behavior

Return Value

SPI_prepare_params has the same return conventions asSPI_prepare.


Prev Up Next
SPI_prepare_extended Home SPI_getargcount
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