Commit Graph

223 Commits (1d369c9e90f311ec98b07a259cac48c404c773d5)

Author SHA1 Message Date
Tom Lane 7ae2ccbc85 Reject out-of-range dates in date_in(). 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 a239af02c3 Fix the various forms of AT TIME ZONE to accept either timezones found 21 years ago
Bruce Momjian 3dbbbbf8e9 Andrew pointed out that the current fix didn't handle dates that were 21 years ago
Bruce Momjian a07628b070 More minor spacing improvements. 21 years ago
Bruce Momjian d5f1e08c0c Code spacing improvement, particularly *tm spacing. 21 years ago
Bruce Momjian e6b72d6af6 Update DAYS_PER_MONTH comment. 21 years ago
Bruce Momjian 9dbd00b0e2 Remove unnecessary parentheses in assignments. 21 years ago
Bruce Momjian a536b2dd80 Add time/date macros for code clarity: 21 years ago
Bruce Momjian db05f4a7eb Add 'day' field to INTERVAL so 1 day interval can be distinguished from 21 years ago
Bruce Momjian 62abb039df Change 5e0 to 5.0, for consistency. 21 years ago
Tom Lane d78397d301 Change typreceive function API so that receive functions get the same 21 years ago
Bruce Momjian 0851a6fbc7 This patch makes it possible to use the full set of timezones when doing 21 years ago
Neil Conway 63e0d612f5 Adjust datetime parsing to be more robust. We now pass the length of the 21 years ago
Bruce Momjian 09ff9dbe2b Remove more extraneous parentheses in date/time functions. 21 years ago
Bruce Momjian 4550c1e519 More macro cleanups for date/time. 21 years ago
Bruce Momjian 5ebaae801c Add datetime macros for constants, for clarity: 21 years ago
Tom Lane 35f9b461f1 Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov. Comparison 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Bruce Momjian 15d3f9f6b7 Another pgindent run with lib typedefs added. 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Tom Lane e34082ee3b Add missing operators of the form interval-plus-datetime, as required for 22 years ago
Tom Lane 921d749bd4 Adjust our timezone library to use pg_time_t (typedef'd as int64) in 22 years ago
Tom Lane a843053e2e Suppress compile warnings on machines where the INT64CONST() decoration 22 years ago
Tom Lane 63bd0db121 Integrate src/timezone library for all platforms. There is more we can 22 years ago
Tom Lane 0bd61548ab Solve the 'Turkish problem' with undesirable locale behavior for case 22 years ago
Tom Lane a9e08392dd Create crosstype comparison operators for date vs. timestamp and date 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Peter Eisentraut d84b6ef56b Various message fixes, among those fixes for the previous round of fixes 23 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 23 years ago
Tom Lane d1031cdef2 Adjust date/time input parsing code to correctly distinguish the four 23 years ago
Tom Lane f2b6bb42ab Fix floating-point timestamp comparisons to not go nuts if NaN is 23 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 23 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 23 years ago
Tom Lane 0643b6a1ba Fix timestamp_date for HAVE_INT64_TIMESTAMP case. 23 years ago
Tom Lane 47f14e7ddf Repair 7.3 breakage in timestamp-to-date conversion for dates before 2000. 23 years ago
Tom Lane 764f72dc82 Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention 23 years ago
Tom Lane 3467b1a1f9 Fix bugs in interval-to-time conversion: HAVE_INT64_TIMESTAMP case did not 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 20f8480927 Mark TimeScales constants as double to avoid integer overflow in some compilers. 23 years ago
Tom Lane d685417fbb Avoid repeated computation of the constants date2j(1970, 1, 1) and 23 years ago
Tom Lane 478c95a0dc Prevent timetz2tm() from scribbling on its input in HAVE_INT64_TIMESTAMP case. 23 years ago
Tom Lane bd96dd1184 Allow a time zone to be specified (and silently ignored) in the input 23 years ago
Tom Lane 23b8a0ce61 Repair array subscript overrun identified by Yichen Xie. Reduce the 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 75394d3f5b Fix breakage in new-in-7.3 timetz_zone() function: was giving random 23 years ago