Commit Graph

232 Commits (146604ec43bcd6f977c31775a91022cf9737daf5)

Author SHA1 Message Date
Tom Lane d685417fbb Avoid repeated computation of the constants date2j(1970, 1, 1) and 23 years ago
Bruce Momjian d7f10705b4 Attached is a patch that limits the range tested by horology to 23 years ago
Tom Lane 31e69ccb21 Add explicit tests for division by zero to all user-accessible integer 23 years ago
Tom Lane 191ef2b407 Change EXTRACT(EPOCH FROM timestamp) so that a timestamp without time zone 23 years ago
Tom Lane 80d6a277c9 Simplify timezone-handling code per proposal to pghackers: get rid of 23 years ago
Tom Lane b3d7af46a9 Fix sloppy comment. 23 years ago
Tom Lane fb715e05f5 Repair inconsistent rounding behavior for timestamp, time, interval, 23 years ago
Tom Lane 5eb6de5991 Remove NO_MKTIME_BEFORE_1970. I had speculated that it was not needed 23 years ago
Tom Lane e303a2dbe8 Add last-ditch defense against attempts to compile datetime code with 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Tom Lane b3506006b5 EXTRACT(EPOCH FROM timestamp) gave wrong answers in the int64-timestamp 23 years ago
Bruce Momjian 97ac103289 Remove sys/types.h in files that include postgres.h, and hence c.h, 23 years ago
Tom Lane 5cabcfccce Modify array operations to include array's element type OID in the 23 years ago
Thomas G. Lockhart b71310d8e0 Add guard code to protect from buffer overruns on long date/time input 23 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago
Thomas G. Lockhart cc2ce83633 Fix lookup tables used for rounding interval data values when not using 24 years ago
Thomas G. Lockhart 547df0cc85 Support alternate storage scheme of 64-bit integer for date/time types. 24 years ago
Tom Lane c422b5ca6b Code review for improved-hashing patch. Fix some portability issues 24 years ago
Bruce Momjian 92288a1cf9 Change made to elog: 24 years ago
Tatsuo Ishii 3382fbb60d Fix bug in extract/date_part for milliseconds/miscroseconds and 24 years ago
Thomas G. Lockhart 192061e45b Repair bugs in declarations of routines to add timestamptz and interval. 24 years ago
Thomas G. Lockhart b5e23db438 Rework the date/time parsing to tighten up some cases and to enable other 24 years ago
Tom Lane dcdf9119a8 Tweak interval_avg support to avoid coredump with Alpha/Tru64 compiler. 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Thomas G. Lockhart 424d9389d6 Fix transposed arguments for typmod for one INTERVAL production. 24 years ago
Tom Lane f9b6583747 Didn't compile on non-HAVE_TM_ZONE machines. 24 years ago
Thomas G. Lockhart 9310075a13 Accept an INTERVAL argument for SET TIME ZONE per SQL99. 24 years ago
Thomas G. Lockhart 7547b0104a Define CEST as a synonym for Central European Savings Time 24 years ago
Tom Lane 64dff0beac Fix some problems in new variable-resolution-timestamp code. 24 years ago
Tom Lane 77be5f9451 AdjustTimestampForTypmod does not work (at least not portably) on 24 years ago
Thomas G. Lockhart 3e1beda2cd Implement precision support for timestamp and time, both with and without 24 years ago
Thomas G. Lockhart 6f58115ddd Measure the current transaction time to milliseconds. 24 years ago
Bruce Momjian 2a34134b6c - new to_char(interval, text) 24 years ago
Tom Lane f5ba72ea04 Consolidate several near-identical uses of mktime() into a single 25 years ago
Tom Lane 2792374cff Ensure that btree sort ordering functions and boolean comparison operators 25 years ago
Tom Lane 1c68f27877 Correct bogus mktime() calls. 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Bruce Momjian 7582bd91cb Please apply the following patch to fix AIX and IRIX timestamp behavior 25 years ago
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Thomas G. Lockhart 6acdebbd3a Fix up "Postgres-style" time interval representation when fields have 25 years ago
Thomas G. Lockhart 8e9840383c Change comparisons of tm->tm_isdst from "nonzero" to "greater than zero". 25 years ago
Thomas G. Lockhart a8aa2f95b4 Repair always-broken date_part('quarter',timestamp). 25 years ago
Tom Lane 821f4673ff Make OVERLAPS operators conform to SQL92 spec regarding NULL handling. 25 years ago
Tom Lane a27b691e29 Ensure that all uses of <ctype.h> functions are applied to unsigned-char 25 years ago
Thomas G. Lockhart 89a99cb686 Allow interpretation of INTERVALs with more timezone-like syntax. 25 years ago
Thomas G. Lockhart 2cf1642461 Fix INTERVAL output when year/month has different sign as day/hour etc. 25 years ago
Peter Eisentraut 525e1c4436 USE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which are 25 years ago
Bruce Momjian dffd8cac3d * to_char: 25 years ago
Tom Lane bec98a31c5 Revise aggregate functions per earlier discussions in pghackers. 26 years ago
Peter Eisentraut cb292206c5 Remove a bunch of unused configure tests, in particular cases where 26 years ago