Use common parser and encoder for timestamp data type.

Thomas G. Lockhart <lockhart@fourpalms.org>

Commit: 8507ddb9c63bc341e52c82acf52770ecd423a994
Author: Thomas G. Lockhart <lockhart@fourpalms.org>
Date: 1997-07-01T00:22:46Z
Releases: 7.1.1
Use common parser and encoder for timestamp data type.
Remove older date and time code (retain NEW_DATE_CODE and NEW_TIME_CODE).
Use common encoder for date and time.
Fix datetime +/- timespan math bug.

Files

PathChange+/−
src/backend/utils/adt/datetime.c modified +22 −6
src/backend/utils/adt/dt.c modified +582 −24
src/backend/utils/adt/timestamp.c modified +21 −3