summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
AgeCommit message (Expand)Author
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
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-09timestamptz_izone should return the input, not NULL, when the inputTom Lane
2005-09-09Fix the various forms of AT TIME ZONE to accept either timezones foundTom Lane
2005-08-25Factor out the common subexpression month_remainder * DAYS_PER_MONTHTom Lane
2005-08-25Back out pfrees for justify_hour function calls.Bruce Momjian
2005-08-25Fix memory leak when using justify_hours.Bruce Momjian
2005-08-12Code & docs review for server instrumentation patch. File timestampsTom Lane
2005-07-30Fix justify_days() for integer datestamp, clean up code.Bruce Momjian
2005-07-24Fix rounding problem in interval_div by using rint(), and improveBruce Momjian
2005-07-23Improve computations of interval_div to prevent rounding problem on AIX.Bruce Momjian
2005-07-23Andrew pointed out that the current fix didn't handle dates that wereBruce Momjian
2005-07-23Fix AT TIME ZONE for timestamps without time zones:Bruce Momjian
2005-07-22Fix AT TIME ZONE for timestamps without time zones:Bruce Momjian
2005-07-22More removal of unneeded parentheses.Bruce Momjian
2005-07-22More spacing adjustmentsBruce Momjian
2005-07-22Code spacing improvement, particularly *tm spacing.Bruce Momjian
2005-07-21Update DAYS_PER_MONTH comment.Bruce Momjian
2005-07-21Fix integer timestamp build for macro changes.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-20Fix interval division and multiplication, before:Bruce Momjian