From: lbottorff@harveycounty.com
To: pgsql-admin@postgresql.org
Subject: Default not triggering
Date: Mon, 26 Feb 2001 11:41:33 -0600
Message-ID: <862569FF.00613057.00@mail.harveycounty.com> (raw)
I'd like to do a copy of a text file into a table. I follow the procedure and it
works fine, except default values for empty fields are never enacted. I have a
timestamp field which uses "DEFAULT CURRENT_TIMESTAMP". It never gets fired
during a "copy from...", although it works fine for "insert into..." Is there
any way to have copy respect/respond to my defaults?
LB
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: lbottorff@harveycounty.com
Subject: Re: Default not triggering
In-Reply-To: <862569FF.00613057.00@mail.harveycounty.com>
References: <862569FF.00613057.00@mail.harveycounty.com>
* 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