Commit Graph

133 Commits (ad9a99c24f7084d2511e84efbac3a807b14656f3)

Author SHA1 Message Date
Tom Lane 23347231a5 Tweak the API for per-datatype typmodin functions so that they are passed 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane 376ee15033 Fix erroneous error reporting for overlength input in text_date(), 19 years ago
Neil Conway f14f27dd38 Tweak: use memcpy() in text_time(), rather than manually copying bytes 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian 4ebb0cf9c3 Add two new format fields for use with to_char(), to_date() and 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 5725b9d9af Support type modifiers for user-defined types, and pull most knowledge 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
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