But SPI_exec() takes string containing an SQL command :-(I need to pass previously prepared HeapTuple variable.Best regards :-)