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
p
Hi all,
I've got a function in PG set up, the libpq C call goes like this:
PERFORM funcName(''t1'', ''t2'', ''t3'', ''t4'', NEW.someInteger,
NEW.someBoolean)
funcName looks like this:
create function funcName(text, text, text, text, int, boolean)
returns int as '/var/lib/postgres/