agora inbox for pgsql-interfaces@postgresql.org  
help / color / mirror / Atom feed
From: Bosco Rama <postgres@boscorama.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: Large object support in ecpg
Date: Wed, 25 Aug 2010 17:02:00 -0700
Message-ID: <4C75AEF8.80605@boscorama.com> (raw)
In-Reply-To: <4C5B3878.4000101@boscorama.com>
References: <4C5B3878.4000101@boscorama.com>

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.



view thread (5+ messages)  latest in thread

Message-ID: <4C75AEF8.80605@boscorama.com>
Permalink:  ../4C75AEF8.80605@boscorama.com/
Also on:    postgresql.org/message-id/4C75AEF8.80605@boscorama.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: postgres@boscorama.com
  Subject: Re: Large object support in ecpg
  In-Reply-To: <4C75AEF8.80605@boscorama.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox