summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
AgeCommit message (Expand)Author
2008-07-07Fix AT TIME ZONE (in all three variants) so that we first try to interpretTom Lane
2007-09-16Fix overflow in extract(epoch from interval) for intervals exceeding 68 years.Tom 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
2005-07-12Improve comments for AdjustIntervalForTypmod.Bruce 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-07-04Fix date_trunct for December dates that are in the next year, e.g.:Bruce Momjian
2005-06-30Fix build break on BSD, OSX, and other systems: add missing <sys/time.h>Neil Conway
2005-06-29Clean up the rather historically encumbered interface to now() andTom Lane
2005-06-15This patch makes it possible to use the full set of timezones when doingBruce Momjian
2005-06-14Add pg_postmaster_start_time() function.Bruce Momjian
2005-05-26Adjust datetime parsing to be more robust. We now pass the length of theNeil Conway
2005-05-24Remove more extraneous parentheses in date/time functions.Bruce Momjian
2005-05-23More macro cleanups for date/time.Bruce Momjian