Commit Graph

331 Commits (c60488b4748b4316f1c92d62457671046e5c8994)

Author SHA1 Message Date
Bruce Momjian 62abb039df Change 5e0 to 5.0, for consistency. 20 years ago
Tom Lane d78397d301 Change typreceive function API so that receive functions get the same 20 years ago
Bruce Momjian b9fe8ee225 Fix date_trunct for December dates that are in the next year, e.g.: 20 years ago
Neil Conway dd4eea257b Fix build break on BSD, OSX, and other systems: add missing <sys/time.h> 20 years ago
Tom Lane b5f7cff84f Clean up the rather historically encumbered interface to now() and 20 years ago
Bruce Momjian 0851a6fbc7 This patch makes it possible to use the full set of timezones when doing 20 years ago
Bruce Momjian f5835b4b8d Add pg_postmaster_start_time() function. 20 years ago
Neil Conway 63e0d612f5 Adjust datetime parsing to be more robust. We now pass the length of the 20 years ago
Bruce Momjian 09ff9dbe2b Remove more extraneous parentheses in date/time functions. 20 years ago
Bruce Momjian 4550c1e519 More macro cleanups for date/time. 20 years ago
Bruce Momjian 5ebaae801c Add datetime macros for constants, for clarity: 20 years ago
Bruce Momjian 33d0d4ce96 Remove unnecessary parentheses in datetime/timestamp code. 20 years ago
Bruce Momjian aa8bdab272 Attached patch gets rid of the global timezone in the following steps: 20 years ago
Bruce Momjian 9e9724e8bd Fix wrong week returnded by date_trunc('week') for early dates in 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane 1e6457dfce Fix timestamptz_age() to do calculation in local timezone not GMT, per bug 1332. 21 years ago
Tom Lane c584103f56 Patch of 2004-03-30 corrected date_part(timestamp) for extracting 21 years ago
Tom Lane c4acbb843b timestamptz_trunc() should only recalculate the timezone when truncating 21 years ago
Bruce Momjian 15d3f9f6b7 Another pgindent run with lib typedefs added. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
Bruce Momjian 46be0c18f1 > After all that about numbering centuries and millenia correctly, 21 years ago
Tom Lane 5e4dd864ec Add range-checking in timestamp_recv and timestamptz_recv, per 21 years ago
Tom Lane 921d749bd4 Adjust our timezone library to use pg_time_t (typedef'd as int64) in 21 years ago
Tom Lane 87de80e95a I think I've finally identified the cause of the off-by-one-second 21 years ago
Tom Lane 63bd0db121 Integrate src/timezone library for all platforms. There is more we can 21 years ago
Tom Lane 0bd61548ab Solve the 'Turkish problem' with undesirable locale behavior for case 21 years ago
Bruce Momjian 1934055cbe Please find a small patch to fix the brain damage "century" and 22 years ago
Bruce Momjian fd071bd478 Fix to_char for 1 BC. Previously it returned 1 AD. 22 years ago
Tom Lane 0de45c1c27 Add timestamp-versus-timestamptz cross-type comparison functions, 22 years ago
Tom Lane 1bc2d544b9 Localize our dependencies on the way to create NAN or INFINITY. 22 years ago
Bruce Momjian 1973971821 Per a brief conversation with Tom, I've created a patch for adding 22 years ago
Tom Lane a9e08392dd Create crosstype comparison operators for date vs. timestamp and date 22 years ago
Bruce Momjian 1c757c49fa > > I have no idea if this in Oracle or not. But it's something I 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Peter Eisentraut 7438af96fa More message editing, some suggested by Alvaro Herrera 22 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 22 years ago
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 22 years ago
Tom Lane 30f609484d Add binary I/O routines for a bunch more datatypes. Still a few to go, 22 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