From: | "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> |
---|---|
To: | "Hackers" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: boolean defaults |
Date: | 2003-08-05 01:55:29 |
Message-ID: | 03a301c35af4$a58ce420$2800a8c0@mars |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-08-05 03:01:32 | Re: Thread-safe configuration option appears to |
Previous Message | Rod Taylor | 2003-08-05 01:54:59 | Re: boolean defaults |