Re: [HACKERS] default localtimestamp at time zone

2010-12-16 Thread Tom Lane
Peter Eisentraut writes: > 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? I'm not really thrilled ab

[HACKERS] default localtimestamp at time zone

2010-12-16 Thread Peter Eisentraut
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 obvious