Re: boolean defaults - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: boolean defaults
Date
Msg-id 03a301c35af4$a58ce420$2800a8c0@mars
Whole thread Raw
In response to boolean defaults  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
Doh - forget I even asked that!  Setting default to something involving
current_time easily gives a variable default...

Chris

----- Original Message ----- 
From: "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
To: "Hackers" <pgsql-hackers@postgresql.org>
Sent: Tuesday, August 05, 2003 9:46 AM
Subject: [HACKERS] boolean defaults


> Hi,
>
> Is it possible to get a default value on a boolean column to be anything
> other than 't', 'f', true or false?
>
> eg.  If I go 'default 3 > 1', that's resolved to default true.
>
> I just need to know for phpPgAdmin...
>
> Chris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: boolean defaults
Next
From: Rod Taylor
Date:
Subject: Re: boolean defaults