Kris Kiger writes:
> I'm not sure if there is a good way to pass parameters through libpq,
> or will I have to use something like SPI to grab them? Use of libpq is
> preferable, but not absolute. I appreciate the input!
There is no choice: libpq connects to a remote database as a client; SPI
performs database actions from within a server-side function.
--
Peter Eisentraut peter_e(at)gmx(dot)net