]> granicus.if.org Git - postgresql/commit
Remove the useless and rather inconsistent return values of EncodeDateOnly,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 May 2009 02:17:50 +0000 (02:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 May 2009 02:17:50 +0000 (02:17 +0000)
commit99bf328237d89e0fd22821a940d4af0506353218
treeaeed09d9ca32b894070046f6d32ef98280107c21
parent8af641ac1f5c6972f9f282c1ab54f6fe4ed05a52
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.
src/backend/utils/adt/datetime.c
src/backend/utils/adt/timestamp.c
src/include/utils/datetime.h