Received: from sss.sss.pgh.pa.us (sss.pgh.pa.us [206.210.65.6]) by hub.org (8.9.2/8.9.1) with ESMTP id JAA33590 for ; Thu, 4 Mar 1999 09:49:55 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.sss.pgh.pa.us (8.9.1/8.9.1) with ESMTP id JAA28016; Thu, 4 Mar 1999 09:48:30 -0500 (EST) To: "V. A." cc: "Postgres-Interface" Subject: Re: [INTERFACES] libpq++ - copy - default values In-reply-to: Your message of Thu, 4 Mar 1999 14:16:13 +0100 <00af01be6641$2e5851c0$0200a8c0@Tischrechner.rrz.uni-koeln.de> Date: Thu, 04 Mar 1999 09:48:30 -0500 Message-ID: <28014.920558910@sss.pgh.pa.us> From: Tom Lane "V. A." writes: > My problem is, that I don't know how I can tell the copy-command to > leave the first field untouched, so that it gets the default value from a > sequence.... You can't. COPY is for plain verbatim dumping and reloading of data. Use INSERT if you need to have any calculations done. regards, tom lane