Re: to_timestamp function calculation error
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: myzhen <zhenmingyang@yeah.net>
Cc: pgsql-bugs@postgresql.org
Date: 2024-12-17T15:31:50Z
Lists: 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 will cause to_timestamp to return an AD date. I believe this is intentional. regards, tom lane