PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。
SPI_exec — 执行一个读/写命令
int SPI_exec(const char * command, long count)
command
count
SPI_exec 和 SPI_execute 相同,但后者的 read_only 参数的值总是取 false。
SPI_exec
SPI_execute
read_only
false
const char * command
包含待执行命令的字符串
long count
要返回的最大行数,或者用 0 表示不限制
0
见 SPI_execute。
阅读 上游文档. 通过 PostgreSQL 文档反馈表单.