create table test (
tz timestamptz
);
insert into test values ('0001-01-01 00:00:00Z');
will cause Parse error: Can't cast string to timestamp (expected format is YYYY-MM-DD HH:MM:SS[.D+{up to 6 digits}] or YYYY-MM-DD HH:MM or YYYY-MM-DD or ISO 8601 format).
'1969-01-01 00:00:00Z' is ok.
will cause
Parse error: Can't cast string to timestamp (expected format is YYYY-MM-DD HH:MM:SS[.D+{up to 6 digits}] or YYYY-MM-DD HH:MM or YYYY-MM-DD or ISO 8601 format)
.'1969-01-01 00:00:00Z'
is ok._Originally posted by @xuefengze in https://github.com/risingwavelabs/risingwave/pull/13496#discussion_r1402886878_