summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
AgeCommit message (Expand)Author
2010-01-02Update copyright for the year 2010.Bruce Momjian
2009-11-10interval_abs():Bruce Momjian
2009-09-04Tigthen binary receive functions so that they reject values that the textHeikki Linnakangas
2009-07-06Use floor() not rint() when reducing precision of fractional seconds inTom Lane
2009-06-118.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef listBruce Momjian
2009-06-01Change AdjustIntervalForTypmod to not discard higher-order field values on theTom Lane
2009-05-26Remove the useless and rather inconsistent return values of EncodeDateOnly,Tom Lane
2009-04-04Rewrite interval_hash() so that the hashcodes are equal for values thatTom Lane
2009-03-15Clean up the code for to_timestamp's conversion of year plus ISO day numberTom Lane
2009-01-01Update copyright for 2009.Bruce Momjian
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-10-14Fix EncodeSpecialTimestamp to throw error on unrecognized input, rather thanTom 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-07-07Fix AT TIME ZONE (in all three variants) so that we first try to interpretTom Lane
2008-05-04Add timestamp and timestamptz versions of generate_series().Tom Lane
2008-05-04Add pg_conf_load_time() function to report when the Postgres configurationTom 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-16Fix overflow in extract(epoch from interval) for intervals exceeding 68 years.Tom Lane
2007-08-04Switch over to using the src/timezone functions for formatting timestampsTom Lane
2007-07-18Properly adjust age() seconds to match the sign of the larger units.Bruce Momjian
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-04-30Change the timestamps recorded in transaction commit/abort xlog recordsTom Lane
2007-04-30Implement rate-limiting logic on how often backends will attempt to sendTom Lane
2007-02-27Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).Tom Lane
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-12-30Support type modifiers for user-defined types, and pull most knowledgeTom Lane
2006-11-11Suppress a few 'uninitialized variable' warnings that gcc emits only atTom Lane
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-09-05Fix imprecision from interval rounding of multiplication/division.Bruce Momjian
2006-09-03Properly round months into days and into seconds for intervalBruce Momjian
2006-07-13Allow include files to compile own their own.Bruce Momjian
2006-06-20Remove redundant gettimeofday() calls to the extent practical withoutTom Lane
2006-04-25Add statement_timestamp(), clock_timestamp(), andBruce Momjian
2006-03-06Attached is the new patch. To summarize:Bruce Momjian
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2005-11-22Fix up comment munged by pg_indent. (Not pg_indent's fault; should haveTom Lane
2005-11-22Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian
2005-11-17Make SQL arrays support null elements. This commit fixes the core arrayTom Lane
2005-10-27Add comment documenting actual failure case of usingBruce Momjian
2005-10-25Remove justify_hours call from interval_mul and interval_div, and makeTom Lane