Chris Bowlby <excalibur@hub.org> writes:
> Noticing an issue with the datetime funciton when being used with
> 'epoch', it is giving different results then before..
There is no "datetime function". What you have there is a
soon-to-be-obsolete alias for the timestamp datatype. What you
probably actually want is timestamptz (timestamp with timezone)
which is the current equivalent to the old datetime datatype...
regards, tom lane