Received: from VL-MS-MR003.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by postgresql.org (Postfix) with ESMTP id 32C10476067 for ; Thu, 4 Apr 2002 04:25:17 -0500 (EST) Received: from mochima.com ([24.202.14.35]) by VL-MS-MR003.sc1.videotron.ca (Netscape Messaging Server 4.15 MR003 Jul 24 2001 16:23:26) with ESMTP id GU1E6601.JDT; Thu, 4 Apr 2002 04:25:18 -0500 Message-ID: <3CAC1BD9.2030600@mochima.com> Date: Thu, 04 Apr 2002 04:24:41 -0500 From: Carlos Moreno User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: jtv , pgsql-interfaces Subject: Re: libpq++: trouble getting "copy table from" to work... References: <3CABF95D.5010909@mochima.com> <20020404110805.A11481@xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200204/6 X-Sequence-Number: 2548 Thanks for your reply, Jeroen, >May I suggest checking out libpqxx, an alternative to libpq++ that does >expose 'copy from stdin'? It's at > > http://members.ams.chello.nl/j.vermeulen31/proj-libpqxx.html > >The stuff you're looking for is in the TableWriter class. > Hmmm... I've been *very* tempted to check out this library, but have been too busy with a project that is already using libpq++ (not that it is excessively long, but still, changing everything scares me, mainly because I'm already overflowed with the tasks that were due yesterday! :-( ) One always wonders... Is it more the time that I'm going to spend learning/understanding this new library and translating all the code to it? Or will I end up hating myself and wishing I had decided to go with this new library when I keep hitting walls here and there? (the reluctance to switch is even higher when you are in the middle of urgent "repairs" to an already functional system...) BTW, I didn't find any links to the documentation from the link you gave me... I recall you mentioning some docs that were available. Could you send me a pointer to it? Thanks! Carlos --