Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0AE3B632DB4 for ; Thu, 26 Aug 2010 14:28:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 21584-01-7 for ; Thu, 26 Aug 2010 17:28:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tempest.mainecoon.com (tempest.mainecoon.com [69.12.217.123]) by mail.postgresql.org (Postfix) with ESMTP id 551476342EC for ; Thu, 26 Aug 2010 14:28:08 -0300 (ADT) Received: from [10.1.1.2] (fw.boscorama.com [75.101.8.88]) by tempest.mainecoon.com (Postfix) with ESMTPSA id BA6D76EA108 for ; Thu, 26 Aug 2010 10:28:06 -0700 (PDT) Message-ID: <4C76A426.4050904@boscorama.com> Date: Thu, 26 Aug 2010 10:28:06 -0700 From: Bosco Rama User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Re: Large object support in ecpg References: <4C5B3878.4000101@boscorama.com> <4C75AEF8.80605@boscorama.com> <4C765D4F.4010606@gmail.com> In-Reply-To: <4C765D4F.4010606@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201008/10 X-Sequence-Number: 6938 Satoshi Nagayasu wrote: > > I had some experiences on using large objects in ECPG > with using ECPGget_PGconn(). However, ECPGget_PGconn() is > not recommended in ECPG application, so it's "at your own risk". > > For more details, please download my document from below, > and check "Large Objects" section to handle large objects. > > http://code.google.com/p/ecpgdocs/downloads/detail?name=ecpg_html.zip&can=2&q=#makechanges Thanks for this. I wonder why a google search didn't find this? Anyway, that describes pretty much what I figured I'd have to do. However, I would really like a sanctioned method. It seems that using the above function is not deemed 'proper'. But if this is the only way to do it, then I guess I'll need to be a bad boy. :-) Thanks again. Bosco.