SPI_EXEC(3)

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

✨ SPI_EXEC(3) ✨

okay so bestie, we’re flipping through the PostgreSQL 14.24 Documentation and this little icon is SPI_exec(3) β€” the function that’s here to execute a read/write command πŸ’… no cap.


πŸ’– NAME πŸ’–

SPI_exec β€” execute a read/write command 🫢

πŸŽ€ SYNOPSIS πŸŽ€

int SPI_exec(const char * command, long count)

🌸 DESCRIPTION 🌸

SPI_exec is literally the same as SPI_execute, except that SPI_execute’s read_only parameter is always taken as false. periodt. πŸ”₯

πŸ¦‹ ARGUMENTS πŸ¦‹

  • const char * command β€” a string containing the command to execute ✨
  • long count β€” the maximum number of rows to return, or 0 for no limit 🎯

πŸ‘‘ RETURN VALUE πŸ‘‘

See SPI_execute. iykyk πŸ’œ


mwah πŸ’– β€” from PostgreSQL 14.24, dated 2026, bestie 🌈

πŸ“¦ where this page comes from