Re: boolean defaults - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: boolean defaults
Date
Msg-id 1060048498.91190.32.camel@jester
Whole thread Raw
In response to boolean defaults  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
On Mon, 2003-08-04 at 21:46, Christopher Kings-Lynne wrote:
> Hi,
>
> Is it possible to get a default value on a boolean column to be anything
> other than 't', 'f', true or false?

NULL of course :)  1 or 0 also works.

And regardless of how hard MS Access tries, -1 is not true.

pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: boolean defaults
Next
From: Bruce Momjian
Date:
Subject: Re: Thread-safe configuration option appears to