Re: to_timestamp function calculation error - Mailing list pgsql-bugs

From Tom Lane
Subject Re: to_timestamp function calculation error
Date
Msg-id 2236659.1734449510@sss.pgh.pa.us
Whole thread Raw
In response to to_timestamp function calculation error  (myzhen <zhenmingyang@yeah.net>)
List pgsql-bugs
myzhen <zhenmingyang@yeah.net> writes:
> When calling the to_timestamp function, if the actual parameter passed is a negative year and you specify BC, this
willcause to_timestamp to return an AD date. 

I believe this is intentional.

            regards, tom lane



pgsql-bugs by date:

Previous
From: myzhen
Date:
Subject: to_timestamp function calculation error
Next
From: Evgeny Kuzin
Date:
Subject: Is it possible to make ReorderBufferRestoreCleanup faster?