Eko Pranoto <koprapostgres(at)telkom(dot)net> writes:> select datetime(now()) as result' LANGUAGE 'sql';
"datetime" isn't a standard type name anymore. Use "timestamp".
regards, tom lane