Commit Graph

232 Commits (146604ec43bcd6f977c31775a91022cf9737daf5)

Author SHA1 Message Date
Tom Lane 22d98e7934 Fix overflow in extract(epoch from interval) for intervals exceeding 68 years. 18 years ago
Tom Lane bdd6b62245 Switch over to using the src/timezone functions for formatting timestamps 18 years ago
Bruce Momjian b6ed78b2bd Properly adjust age() seconds to match the sign of the larger units. 18 years ago
Tom Lane 7af3a6fc6f Fix up hash functions for datetime datatypes so that they don't take 18 years ago
Tom Lane 23347231a5 Tweak the API for per-datatype typmodin functions so that they are passed 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane c432061963 Change the timestamps recorded in transaction commit/abort xlog records 19 years ago
Tom Lane 957d08c81f Implement rate-limiting logic on how often backends will attempt to send 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian 3e803f7273 Add "isodow" option to EXTRACT() and date_part() where Sunday = 7. 19 years ago
Bruce Momjian 4ebb0cf9c3 Add two new format fields for use with to_char(), to_date() and 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 5725b9d9af Support type modifiers for user-defined types, and pull most knowledge 19 years ago
Tom Lane a46ca619f8 Suppress a few 'uninitialized variable' warnings that gcc emits only at 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Bruce Momjian 786c3c0355 Fix imprecision from interval rounding of multiplication/division. 19 years ago
Bruce Momjian fc51c9186a Properly round months into days and into seconds for interval 19 years ago
Bruce Momjian a22d76d96a Allow include files to compile own their own. 19 years ago
Tom Lane 27c3e3de09 Remove redundant gettimeofday() calls to the extent practical without 20 years ago
Bruce Momjian e6004f0151 Add statement_timestamp(), clock_timestamp(), and 20 years ago
Bruce Momjian d69b163247 Attached is the new patch. To summarize: 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane e96925fba7 Fix up comment munged by pg_indent. (Not pg_indent's fault; should have 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane cecb607559 Make SQL arrays support null elements. This commit fixes the core array 20 years ago
Bruce Momjian 69f16b562a Add comment documenting actual failure case of using 20 years ago
Tom Lane 6a9b93a0e1 Remove justify_hours call from interval_mul and interval_div, and make 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 313ed1ed94 Fix (hopefully for the last time) problems with datetime values displaying 20 years ago
Tom Lane f2ebd01ef0 timestamptz_izone should return the input, not NULL, when the input 20 years ago
Tom Lane a239af02c3 Fix the various forms of AT TIME ZONE to accept either timezones found 20 years ago
Tom Lane 2613b74785 Factor out the common subexpression month_remainder * DAYS_PER_MONTH 20 years ago
Bruce Momjian ca4cf09232 Back out pfrees for justify_hour function calls. 20 years ago
Bruce Momjian 4ea18a11fa Fix memory leak when using justify_hours. 20 years ago
Tom Lane a43ea120bf Code & docs review for server instrumentation patch. File timestamps 20 years ago
Bruce Momjian 5b5013f502 Fix justify_days() for integer datestamp, clean up code. 20 years ago
Bruce Momjian 8b60f8e6c9 Fix rounding problem in interval_div by using rint(), and improve 20 years ago
Bruce Momjian f76f24dfff Improve computations of interval_div to prevent rounding problem on AIX. 20 years ago
Bruce Momjian 3dbbbbf8e9 Andrew pointed out that the current fix didn't handle dates that were 20 years ago
Bruce Momjian 5ddeffb676 Fix AT TIME ZONE for timestamps without time zones: 20 years ago
Bruce Momjian 261026575d Fix AT TIME ZONE for timestamps without time zones: 20 years ago
Bruce Momjian 3758affc9b More removal of unneeded parentheses. 20 years ago
Bruce Momjian ca256f3254 More spacing adjustments 20 years ago
Bruce Momjian d5f1e08c0c Code spacing improvement, particularly *tm spacing. 20 years ago
Bruce Momjian e6b72d6af6 Update DAYS_PER_MONTH comment. 20 years ago
Bruce Momjian b4bdab8105 Fix integer timestamp build for macro changes. 20 years ago
Bruce Momjian 9dbd00b0e2 Remove unnecessary parentheses in assignments. 20 years ago
Bruce Momjian a536b2dd80 Add time/date macros for code clarity: 20 years ago
Bruce Momjian db05f4a7eb Add 'day' field to INTERVAL so 1 day interval can be distinguished from 20 years ago
Bruce Momjian 826604f9e6 Fix interval division and multiplication, before: 20 years ago