default modifiers for 7.2b4 - Mailing list pgsql-general

From mike
Subject default modifiers for 7.2b4
Date
Msg-id 01d101c18b50$c5e2e370$4100000a@generator
Whole thread Raw
Responses Re: default modifiers for 7.2b4
List pgsql-general
has the default clause been changed for 7.2b4 so as not use a statement as such:
 
create table news(
id serial,
date date DEFAULT 'select now()::date' NOT NULL,
topic varchar(256),
body text
);
 
the above query results in ERROR:  Bad date external representation 'select now()::date', yet if I use this on a production 7.1.2 machine it works fine.
 
Mike

pgsql-general by date:

Previous
From: Masaru Sugawara
Date:
Subject: Re: getting most recent row efficiently
Next
From: Tom Lane
Date:
Subject: Re: default modifiers for 7.2b4