Remove the useless and rather inconsistent return values of EncodeDateOnly,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 99bf328237d89e0fd22821a940d4af0506353218
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-05-26T02:17:50Z
Releases: 8.4.0
Remove the useless and rather inconsistent return values of EncodeDateOnly,
EncodeTimeOnly, EncodeDateTime, EncodeInterval.  These don't have any good
reason to fail, and their callers were mostly not checking anyway.

Files

PathChange+/−
src/backend/utils/adt/datetime.c modified +9 −25
src/backend/utils/adt/timestamp.c modified +2 −3
src/include/utils/datetime.h modified +5 −5