Field with default not being set on copy from.

From: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Field with default not being set on copy from.
Date: 2003-01-03 16:48:10
Message-ID: 3E15BECA.BAFC73DF@nsd.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello all,

It seems that a field declared with a default is not being set when
executing copy from with less field then the table has.

Should I use a rule or a trigger to for setting the default value?

I run 7.3.1

JLL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2003-01-03 16:50:19 Re: Datatype SET or enumeration type ?
Previous Message Joerg Hessdoerfer 2003-01-03 16:26:56 Re: postmaster.pid