SyntaxFix
Write A Post
Hire A Developer
Questions
A function is not even needed. Just put parentheses around the default expression:
create temporary table test( id int, ts timestamp without time zone default (now() at time zone 'utc') );