Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 456C59FA0B7 for ; Wed, 20 Dec 2006 02:59:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 46175-05 for ; Wed, 20 Dec 2006 02:59:37 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id AB87C9F9DAD for ; Wed, 20 Dec 2006 02:59:36 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id B9C0E74606; Wed, 20 Dec 2006 06:59:27 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 4DACDFF04; Wed, 20 Dec 2006 06:59:26 +0000 (GMT) Message-ID: <4588DF4D.7000704@archonet.com> Date: Wed, 20 Dec 2006 06:59:25 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Ashish Ahlawat Cc: Ragnar , Dirk Griffioen , pgsql-sql@postgresql.org Subject: Re: Fetching BLOBs References: <682126990612191925r61a3f89av93e93af3bc8e985b@mail.gmail.com> In-Reply-To: <682126990612191925r61a3f89av93e93af3bc8e985b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/152 X-Sequence-Number: 27108 Ashish Ahlawat wrote: > Hi team > > I have a very intersting question to all of you. Pls help me to build this > query, I want to fetch more that 70,000 BLOB from different customer > servers. the issue is there are some BOLB files with common names on all > servers. So I want merge these files into a single BLOB during fetching > data. I am able to fetch the BLOB data from all cust servers but > unfortunatelly it overwrite previous file. The lo_export() function makes you supply the filename, so you can name the destination file however you like. I must be misunderstanding you - can you provide an example of what you're doing at the moment? -- Richard Huxton Archonet Ltd