Re: SPI question (or not): trying to read from Large Objects from within a function - Mailing list pgsql-general

From Tom Lane
Subject Re: SPI question (or not): trying to read from Large Objects from within a function
Date
Msg-id 14994.1073450401@sss.pgh.pa.us
Whole thread Raw
In response to SPI question (or not): trying to read from Large Objects from within a function  (David Helgason <david@uti.is>)
Responses Re: SPI question (or not): trying to read from Large Objects from within a function
List pgsql-general
David Helgason <david@uti.is> writes:
> I'm having trouble finding out how to find the current PGconn
> connection inside a C function.

What makes you think that "*the* current PGconn" is a valid concept?
libpq has always supported multiple active connections.

            regards, tom lane

pgsql-general by date:

Previous
From: Paul Mc Gee
Date:
Subject: Loading a dumped databse from cd
Next
From: David Helgason
Date:
Subject: Re: SPI question (or not): trying to read from Large Objects from within a function