Commit Graph

116 Commits (e6b72d6af6fbe94e90019ca374199472bb1958a4)

Author SHA1 Message Date
Bruce Momjian e6b72d6af6 Update DAYS_PER_MONTH comment. 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 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 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. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 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 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
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
Tom Lane 0643b6a1ba Fix timestamp_date for HAVE_INT64_TIMESTAMP case. 22 years ago
Tom Lane 47f14e7ddf Repair 7.3 breakage in timestamp-to-date conversion for dates before 2000. 22 years ago
Tom Lane 764f72dc82 Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention 22 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
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 4885dabe9d Eliminate unnecessary dependency on mktime(), and consequent 'Unable to 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
Jan Wieck 469cb65aca Katherine Ward wrote: 24 years ago
Thomas G. Lockhart 17adf80b47 Fix timestamp to date conversion for the case where timestamp uses a double 24 years ago