Re: Field with default not being set on copy from.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Field with default not being set on copy from.
Date: 2003-01-03 22:04:47
Message-ID: 11957.1041631487@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jean-Luc Lachance <jllachan(at)nsd(dot)ca> writes:
> The last part of my message should have read:
> I am running 7.2.3

Ah. In that case, you are right: COPY fills missing fields with nulls,
not default values. This is fixed in 7.3.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2003-01-03 22:13:17 Re: How to backup a postgreSQL of 80 GByte ?
Previous Message Jean-Luc Lachance 2003-01-03 22:02:38 Re: Field with default not being set on copy from.