summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/datetime.c
AgeCommit message (Expand)Author
2008-11-12Clean up the ancient decision to show only two fractional-seconds digitsTom Lane
2008-11-11Add support for input and output of interval values formatted per ISO 8601;Tom Lane
2008-11-09Add a new GUC variable called "IntervalStyle" that decouples interval outputTom Lane
2008-11-08Fix recently added code for SQL years-months interval syntax so thatTom Lane
2008-10-02Fix improper display of fractional seconds in interval valuesTom Lane
2008-09-24Fix integral timestamps so the output is consistent in all cases toBruce Momjian
2008-09-16Clean up a couple of weird corner cases in interval parsing: make -yyyy-mm beTom Lane
2008-09-11Adjust the parser to accept the typename syntax INTERVAL ... SECOND(n)Tom Lane
2008-09-10Make our parsing of INTERVAL literals spec-compliant (or at least a heck ofTom Lane
2008-06-09Fix datetime input functions to correctly detect integer overflow whenTom Lane
2008-05-12Restructure some header files a bit, in particular heapam.h, by removing someAlvaro Herrera
2008-03-25Simplify and standardize conversions between TEXT datums and ordinary CTom Lane
2008-02-25Reject year zero during datetime input, except when it's a 2-digit yearTom Lane
2008-02-25Fix datetime input to behave correctly for Feb 29 in years BC.Tom 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-08-04Switch over to using the src/timezone functions for formatting timestampsTom Lane
2007-06-12Fix DecodeDateTime to allow timezone to appear before year. This hadTom Lane
2007-05-29Fix a bug in input processing for the "interval" type. Previously,Neil Conway
2007-05-27Code cleanup: use "bool" for Boolean variables, rather than "int".Neil Conway
2007-03-01Fix date/time formats for XML Schema output.Peter Eisentraut
2007-02-19Add "isodow" option to EXTRACT() and date_part() where Sunday = 7.Bruce Momjian
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-10-18Fix up timetz input so that a date is required only when the specifiedTom Lane
2006-10-17Fix up some problems in handling of zic-style time zone names in datetimeTom Lane
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-09-16Rename the recently-added pg_timezonenames view to pg_timezone_abbrevs,Tom Lane
2006-09-04Fix interval input parser so that fractional weeks and months areTom Lane
2006-07-25Remove hard-wired lists of timezone abbreviations in favor of providingTom Lane
2006-07-14Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane
2006-06-07Allow timezone names in SQL strings,Bruce Momjian
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2005-12-02Remove comment on errno=0 lines, but add mention to port/strtol.c function.Bruce Momjian
2005-12-01Comment "errno = 0" in a more generic way.Bruce Momjian
2005-12-01Add comments about why errno is set to zero.Bruce Momjian
2005-12-01Check for overflow in strtol() while parsing datetime inputs.Tom Lane
2005-11-22Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-10-14Allow times of 24:00:00 to match rounding behavior:Bruce Momjian
2005-10-09Fix (hopefully for the last time) problems with datetime values displayingTom Lane
2005-07-23Andrew pointed out that the current fix didn't handle dates that wereBruce 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-12Change 5e0 to 5.0, for consistency.Bruce Momjian
2005-06-29Clean up the rather historically encumbered interface to now() andTom Lane
2005-05-27Display only 9 subsecond digits instead of 10 for time values, forBruce Momjian