SPI_exec(3)

SPI_exec3

Execute a read/write command

Usage

int SPI_exec(const char * command, long count)

Overview

SPI_exec is the same as SPI_execute, with the latter's read_only parameter always taken as false.

Arguments

const char * command

string containing command to execute

long count

maximum number of rows to return, or 0 for no limit

Return value

See SPI_execute.

From postgresql 18.6-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.