On Fri, 8 Aug 2003, Pavel Stehule wrote:

> In this version I can't convert returned value to time. timeofday() return 
> text. I need convert to timestamp before. It is normal behavior? I 
> expected timestamp as returned type.

It is documented to return a string for historical reasons:

http://www.postgresql.org/docs/7.3/static/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT

You probably want now() instead of that function.

-- 
/Dennis


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to