Re: BUG #1582: boolean DEFAULT TRUE results in FALSE for NULL values - Mailing list pgsql-bugs

From Bruno Wolff III
Subject Re: BUG #1582: boolean DEFAULT TRUE results in FALSE for NULL values
Date
Msg-id 20050411022429.GA23646@wolff.to
Whole thread Raw
In response to BUG #1582: boolean DEFAULT TRUE results in FALSE for NULL values  ("Eric McGough" <emcgough@yahoo.com>)
List pgsql-bugs
On Tue, Apr 05, 2005 at 21:11:12 +0100,
  Eric McGough <emcgough@yahoo.com> wrote:
>
> COPY my_table FROM STDIN WITH DELIMITER AS '|';
> \N|\N|\N
> \.

COPY doesn't provide a way to use default values for just some rows.
You can get the default for a column by leaving it out of an explicit
column list. But that will apply for all rows.

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #1580: pg_dumpall aborts when cwd is unreadable
Next
From: Benjamin Reed
Date:
Subject: Re: BUG #1584: undefined symbol _tas