Re: libpqxx Large Objects - Mailing list pgsql-interfaces

From Jeroen T. Vermeulen
Subject Re: libpqxx Large Objects
Date
Msg-id 20030110121337.GA4639@xs4all.nl
Whole thread Raw
In response to Re: libpqxx Large Objects  ("Key88 SF" <key88sf@hotmail.com>)
List pgsql-interfaces
On Thu, Jan 09, 2003 at 11:09:58PM +0000, Key88 SF wrote:
> In order to call the large object functions, one needs to be able to get 
> the PGconn connection object contained within a Connection object. Could a 
> simple accessor method be added for the next revision?

I'd rather add a special-purpose large object interface than provide
a getter that breaks open the whole abstraction level.  What libpqxx
does underneath its interface is not always simple, and it depends on
provable properties that may not remain provable if the PGconn is
exposed.  Besides, this kind of accessor would eventually come back
to haunt me.


Jeroen



pgsql-interfaces by date:

Previous
From: "Key88 SF"
Date:
Subject: Re: libpqxx Large Objects
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: libpqxx Large Objects