summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/date.c
AgeCommit message (Expand)Author
2011-11-03Support range data types.Heikki Linnakangas
2011-09-09Move Timestamp/Interval typedefs and basic macros into datatype/timestamp.h.Tom Lane
2011-04-10pgindent run before PG 9.1 beta 1.Bruce Momjian
2011-03-12Use macros for time-based constants, rather than constants.Bruce Momjian
2011-01-01Stamp copyrights for year 2011.Bruce Momjian
2010-12-29Avoid unexpected conversion overflow in planner for distant date values.Tom Lane
2010-09-20Remove cvs keywords from all files.Magnus Hagander
2010-02-26pgindent run for 9.0Bruce Momjian
2010-02-18date_recv should accept infinities.Itagaki Takahiro
2010-01-02Update copyright for the year 2010.Bruce Momjian
2009-10-26Fix range check in date_recv that tried to limit accepted values to onlyHeikki Linnakangas
2009-09-04Tigthen binary receive functions so that they reject values that the textHeikki Linnakangas
2009-07-29Fix time_part and timetz_part (ie, EXTRACT() for those datatypes) toTom Lane
2009-06-118.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef listBruce Momjian
2009-05-26Add range checks to time_recv() and timetz_recv(), to prevent binary inputTom Lane
2009-01-01Update copyright for 2009.Bruce Momjian
2008-10-14Extend the date type to support infinity and -infinity, analogously toTom Lane
2008-07-07Fix AT TIME ZONE (in all three variants) so that we first try to interpretTom Lane
2008-03-25Simplify and standardize conversions between TEXT datums and ordinary CTom Lane
2008-03-21Get rid of a bunch of #ifdef HAVE_INT64_TIMESTAMP conditionals by inventingTom Lane
2008-02-17Replace time_t with pg_time_t (same values, but always int64) in on-diskTom Lane
2008-01-01Update copyrights in source tree to 2008.Bruce Momjian
2007-11-15pgindent run for 8.3.Bruce Momjian
2007-09-26In the integer-datetimes case, date2timestamp and date2timestamptz needTom Lane
2007-08-04Switch over to using the src/timezone functions for formatting timestampsTom Lane
2007-07-06Fix up hash functions for datetime datatypes so that they don't takeTom Lane
2007-06-15Tweak the API for per-datatype typmodin functions so that they are passedTom Lane
2007-06-05Downgrade implicit casts to text to be assignment-only, except for the onesTom Lane
2007-06-02Fix erroneous error reporting for overlength input in text_date(),Tom Lane
2007-05-30Tweak: use memcpy() in text_time(), rather than manually copying bytesNeil Conway
2007-02-27Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).Tom Lane
2007-02-16Add two new format fields for use with to_char(), to_date() andBruce Momjian
2007-01-05Update CVS HEAD for 2007 copyright. Back branches are typically notBruce Momjian
2006-12-30Support type modifiers for user-defined types, and pull most knowledgeTom Lane
2006-07-14Remove 576 references of include files that were not needed.Bruce Momjian
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-02-09Reject out-of-range dates in date_in().Tom Lane
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-10-09Fix (hopefully for the last time) problems with datetime values displayingTom Lane
2005-09-09Fix the various forms of AT TIME ZONE to accept either timezones foundTom Lane
2005-07-23Andrew pointed out that the current fix didn't handle dates that wereBruce Momjian
2005-07-22More minor spacing improvements.Bruce Momjian
2005-07-22Code spacing improvement, particularly *tm spacing.Bruce Momjian
2005-07-21Update DAYS_PER_MONTH comment.Bruce Momjian
2005-07-21Remove unnecessary parentheses in assignments.Bruce Momjian
2005-07-21Add time/date macros for code clarity:Bruce Momjian
2005-07-20Add 'day' field to INTERVAL so 1 day interval can be distinguished fromBruce Momjian
2005-07-12Change 5e0 to 5.0, for consistency.Bruce Momjian
2005-07-10Change typreceive function API so that receive functions get the sameTom Lane
2005-06-15This patch makes it possible to use the full set of timezones when doingBruce Momjian