Re: Sending a libpq C function variables through function - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: Sending a libpq C function variables through function
Date
Msg-id Pine.LNX.4.44.0312030709530.10900-100000@peter.localdomain
Whole thread Raw
In response to Sending a libpq C function variables through function call  (Kris Kiger <kris@musicrebellion.com>)
List pgsql-admin
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@gmx.net


pgsql-admin by date:

Previous
From: Renney Thomas
Date:
Subject: PGSQL and DNCL
Next
From: Ashok Chauhan
Date:
Subject: incremental backup