Re: Sending a libpq C function variables through function

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Kris Kiger <kris(at)musicrebellion(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Sending a libpq C function variables through function
Date: 2003-12-03 06:11:12
Message-ID: Pine.LNX.4.44.0312030709530.10900-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Együd Csaba 2003-12-03 06:35:03 downgrading to 7.3.2 from 7.4.1 under Cygwin
Previous Message Ashok Chauhan 2003-12-03 05:30:14 incremental backup