pgsql-bugs(at)postgresql(dot)org writes:
> timestamp(timestamp('a timestamp)) no longer works
timestamp(x) is a type name now. In place of timestamp(foo) use
"timestamp"(foo)
foo::timestamp
CAST(foo AS timestamp)
And yes, this is pointed out in the migration notes...
regards, tom lane