SPI_EXEC(3)

πŸ“¦ version 13.23, in opensuse-leap 16.0

SPI_EXEC(3) β€” execute a read/write command πŸ’…

🌸 NAME 🌸

SPI_exec β€” execute a read/write command. That's literally the whole vibe of this page, bestie. ✨

✨ SYNOPSIS ✨

int SPI_exec(const char * command, long count)

πŸŽ€ DESCRIPTION πŸŽ€

Okay so here's the tea: SPI_exec is the same as SPI_execute, except that SPI_execute's read_only parameter is always taken as false. No cap β€” that's the whole difference. 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • const char * command β€” string containing the command to execute. This is the actual command you're handing over, bestie. Slay. ✨
  • long count β€” maximum number of rows to return, or 0 for no limit. So if you want no limit, you set it to 0 β€” iconic. πŸ’–

πŸ‘‘ RETURN VALUE πŸ‘‘

See SPI_execute. That's the return-value situation β€” the details live over there, iykyk. πŸ’…


xoxo, this page is from the PostgreSQL 13.23 docs, dated 2025 πŸ’–

πŸ“¦ where this page comes from