Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4C578474E61 for ; Sun, 3 Nov 2002 18:42:11 -0500 (EST) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by postgresql.org (Postfix) with ESMTP id D0A5D474E44 for ; Sun, 3 Nov 2002 18:42:10 -0500 (EST) Received: from sdn-ap-007caburbp0112.dialsprint.net ([63.184.64.112] helo=naomi.eldocomp.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 188UNP-0004sr-00; Sun, 03 Nov 2002 15:41:55 -0800 Message-Id: <5.1.0.14.2.20021103164103.00a09070@imap.eldocomp.com> X-Sender: nwalke@imap.eldocomp.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 03 Nov 2002 16:41:54 -0700 To: Bruce Momjian , Naomi Walker From: Naomi Walker Subject: Re: loading and unloading rows Cc: Bhuvan A , pgsql-admin@postgresql.org In-Reply-To: <200211030123.gA31Ncc01206@candle.pha.pa.us> References: <5.1.0.14.2.20021102133720.00a24250@imap.eldocomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/39 X-Sequence-Number: 6227 Can we add unload/load functionality to the list, please? > > >Yes, agreed, it would be nice to have WHERE as part of COPY. In fact, I > > >like Informix's solution, which merges data in/out with INSERT/SELECT: > > > > > > UNLOAD TO '/tmp/x' > > > SELECT * > > > FROM tab; > > > > > >and > > > > > > LOAD FROM '/tmp/x' > > > INSERT INTO tab;