> timestamp(current_date, current_time)
> does work under 7.1 but under 7.2 there is an parser error!
Please check the release notes and the SQL standard for why you can not
call a function timestamp() directly; the syntax is now reserved for
specifying a data type, not a function call.
For this particular case, you should be using the SQL-standard
CURRENT_TIMESTAMP.
You can convert date, time to timestamp by casting date to timestamp and
then adding the time.
- Thomas