Re: Large object support in ecpg - Mailing list pgsql-interfaces

From Bosco Rama
Subject Re: Large object support in ecpg
Date
Msg-id 4C75AEF8.80605@boscorama.com
Whole thread Raw
In response to Large object support in ecpg  (Bosco Rama <postgres@boscorama.com>)
Responses Re: Large object support in ecpg
Re: Large object support in ecpg
List pgsql-interfaces
Hi again,

Bosco Rama wrote:
> 
> This is probably an FAQ but is there any direct support of large
> objects in ECPG?

So from the lack of response I assume not.  I certainly couldn't find
any reference to large objects in the ecpg docs, web or any forums.

The issue I have is that I want to integrate a large object into a
transaction started in a function using ecpg.  This means I have to
use ecpg to perform the large object 'write' (I'd prefer a stream
methodology) or 'import'.  Either that or I need to grab a reference
to the connection used by the ecpg lib and use it in some PQ code.
I'm not sure I can do either of those as it stands now.

I guess I could also try ecpg against a transaction started in PQ code
but that seems even more fraught with danger.  And is even less obvious.

BTW, we are using 8.4.4 right now.

Any words of wisdom from the ecpg cognoscenti?

Thanks for any help with this.

Bosco.


pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [DOCS] ECPG Documentation Improvement
Next
From: Satoshi Nagayasu
Date:
Subject: Re: Large object support in ecpg