default localtimestamp at time zone - Mailing list pgsql-hackers

From Peter Eisentraut
Subject default localtimestamp at time zone
Date
Msg-id 1292515702.13736.2.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: default localtimestamp at time zone  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Oddly, this doesn't work:

create table test (x timestamp default localtimestamp at time zone 'UTC');
ERROR:  42601: syntax error at or near "at"

(Parentheses help.)

The attached patch fixes it.  Is there any reason for this omission?

(The patch also works in past releases, so it was not obviously a parser
problem.)

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] queriing the version of libpq
Next
From: Magnus Hagander
Date:
Subject: Re: [GENERAL] queriing the version of libpq