이 문서는 지원되지 않는 버전의 PostgreSQL을위한 것입니다.
당신은에 대해 같은 페이지를 보려고 할 수 있습니다스포츠 토토 베트맨 : 문서 : 17 : SPI_PREPARE_CURSOR버전 또는 위에 나열된 다른 지원 버전 중 하나입니다.

SPI_PREPARE_CURSOR

이름

SPI_PREPARE_CURSOR- 아직 실행하지 않고 진술 준비

시놉시스

spiplanptr spi_prepare_cursor (const char *명령, intNARGS,
                              OID *Argtypes, intcursoroptions)

설명

SPI_PREPARE_CURSOR동일합니다SPI_PREPARE, except that it also allows specification of the planner's"커서 옵션"매개 변수. 이것은 값이 표시되는 비트 마스크입니다.노드/parsenodes.h옵션필드deLareCursOrstMt. SPI_PREPARE항상 커서 옵션을 0으로 가져옵니다.

인수

const char *명령

명령 문자열

intNARGS

입력 매개 변수 수 ($ 1, $ 2등)

OID *Argtypes

를 포함하는 배열에 대한 포인터OID매개 변수의 데이터 유형

intcursoroptions

커서 옵션의 정수 비트 마스크; Zero는 기본 동작을 생성합니다

반환 값

SPI_PREPARE_CURSOR|SPI_PREPARE.

노트

유용한 비트에서 설정cursoroptions포함cursor_opt_scroll, cursor_opt_no_scroll, cursor_opt_fast_plan, cursor_opt_generic_plancursor_opt_custom_plan. 특히cursor_opt_hold무시됩니다.