Re: BUG #1582: boolean DEFAULT TRUE results in FALSE for NULL values

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Eric McGough" <emcgough(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1582: boolean DEFAULT TRUE results in FALSE for NULL values
Date: 2005-04-10 20:07:35
Message-ID: 13008.1113163655@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Eric McGough" <emcgough(at)yahoo(dot)com> writes:
> -- This table and COPY command should result in all
> -- three columns defaulting to TRUE based on NULL
> -- inputs, but they all result in FALSE. Not sure why?

No, it's filling with NULL, which is what the input specifies.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-04-10 20:10:29 Re: BUG #1592: "with hold" cursor problem
Previous Message Tom Lane 2005-04-10 19:57:04 Re: BUG #1577: round(dp) function does not round to nearest integer properly