Commit Graph

94 Commits (d1031cdef2c8f0d9c7b3a1423649d90b8498808a)

Author SHA1 Message Date
Tom Lane d1031cdef2 Adjust date/time input parsing code to correctly distinguish the four 22 years ago
Bruce Momjian 147c16497b Call it Linux, not GNU/Linux. 22 years ago
Bruce Momjian 46785776c4 Another pgindent run with updated typedefs. 22 years ago
Tom Lane f2b6bb42ab Fix floating-point timestamp comparisons to not go nuts if NaN is 22 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 22 years ago
Bruce Momjian 74ca686796 I corecting date_trunc('quarter',...) and friends because orig version 22 years ago
Tom Lane 764f72dc82 Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention 22 years ago
Tom Lane 841b4a2d55 tm2timestamp should return -1, not elog, on overflow. (In the backend 23 years ago
Tom Lane 30f609484d Add binary I/O routines for a bunch more datatypes. Still a few to go, 23 years ago
Tom Lane afe1185cf0 Remove unnecessary dt2local() call. 23 years ago
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