SPI_getargtypeid — return the data type OID for an argument of
a plan prepared by SPI_prepare
Oid SPI_getargtypeid(void *plan, intargIndex)
SPI_getargtypeid returns the OID representing the type
id for the argIndex'th argument of a plan prepared by
SPI_prepare. First argument is at index zero.