Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 659E5475A1E for ; Fri, 10 Jan 2003 07:14:08 -0500 (EST) Received: from mxzilla2.xs4all.nl (mxzilla2.xs4all.nl [194.109.6.50]) by postgresql.org (Postfix) with ESMTP id 9F4434758DC for ; Fri, 10 Jan 2003 07:14:07 -0500 (EST) Received: from xs1.xs4all.nl (xs1.xs4all.nl [194.109.3.11]) by mxzilla2.xs4all.nl (8.12.3/8.12.3) with ESMTP id h0ACDbvW073153; Fri, 10 Jan 2003 13:13:38 +0100 (CET) Received: (from jtv@localhost) by xs1.xs4all.nl (8.11.6/8.11.6) id h0ACDbH07079; Fri, 10 Jan 2003 13:13:37 +0100 (CET) (envelope-from jtv) Date: Fri, 10 Jan 2003 13:13:37 +0100 From: "Jeroen T. Vermeulen" To: Key88 SF Cc: pgsql-interfaces@postgresql.org Subject: Re: libpqxx Large Objects Message-ID: <20030110121337.GA4639@xs4all.nl> Mail-Followup-To: Key88 SF , pgsql-interfaces@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/58 X-Sequence-Number: 3558 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