Re: boolean defaults
От | Christopher Kings-Lynne |
---|---|
Тема | Re: boolean defaults |
Дата | |
Msg-id | 03a301c35af4$a58ce420$2800a8c0@mars обсуждение исходный текст |
Ответ на | boolean defaults ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>) |
Список | 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 по дате отправления: