From: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
To: V. A. <a2891891@smail.Uni-Koeln.DE>
Cc: Postgres-Interface <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] libpq++ - copy - default values
Date: Thu, 04 Mar 1999 14:08:55 +0000
Message-ID: <36DE93F7.ACFC09F1@alumni.caltech.edu> (raw)
References: <00af01be6641$2e5851c0$0200a8c0@Tischrechner.rrz.uni-koeln.de>
> 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....
> Can anyone tell me, how I can do this?
afaik "copy" always fills all columns. You might get better results
using a series of inserts, which do allow default values to be used.
- Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: lockhart@alumni.caltech.edu, a2891891@smail.Uni-Koeln.DE
Subject: Re: [INTERFACES] libpq++ - copy - default values
In-Reply-To: <36DE93F7.ACFC09F1@alumni.caltech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox