summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
AgeCommit message (Expand)Author
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
2005-05-23Add datetime macros for constants, for clarity:Bruce Momjian
2005-05-23Remove unnecessary parentheses in datetime/timestamp code.Bruce Momjian
2005-04-19Attached patch gets rid of the global timezone in the following steps:Bruce Momjian
2005-04-01Fix wrong week returnded by date_trunc('week') for early dates inBruce Momjian
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
2004-12-01Fix timestamptz_age() to do calculation in local timezone not GMT, per bug 1332.Tom Lane
2004-11-20Patch of 2004-03-30 corrected date_part(timestamp) for extractingTom Lane
2004-11-01timestamptz_trunc() should only recalculate the timezone when truncatingTom Lane
2004-08-30Another pgindent run with lib typedefs added.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian