Commit Graph

166 Commits (562755ec15e9c7009f1af78b75c642b40309039d)

Author SHA1 Message Date
Tom Lane 562755ec15 Fix datetime input functions to correctly detect integer overflow when 18 years ago
Tom Lane bac65d5240 Fix datetime input to behave correctly for Feb 29 in years BC. 18 years ago
Tom Lane 5ddd11b02d Insert ARST into the list of known timezone abbreviations. 18 years ago
Neil Conway 21b8d51de6 Fix a bug in input processing for the "interval" type. Previously, 19 years ago
Tom Lane 963a811a67 Check for overflow in strtol() while parsing datetime inputs. 20 years ago
Bruce Momjian bef7764835 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian a93bf4503f Allow times of 24:00:00 to match rounding behavior: 20 years ago
Tom Lane 313ed1ed94 Fix (hopefully for the last time) problems with datetime values displaying 21 years ago
Bruce Momjian 3dbbbbf8e9 Andrew pointed out that the current fix didn't handle dates that were 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 62abb039df Change 5e0 to 5.0, for consistency. 21 years ago
Tom Lane b5f7cff84f Clean up the rather historically encumbered interface to now() and 21 years ago
Bruce Momjian d4b50caf25 Display only 9 subsecond digits instead of 10 for time values, for 21 years ago
Bruce Momjian fbdb203a39 Back out part of patch that should be applied later. 21 years ago
Bruce Momjian 22f0303023 Fix compile of entab to use stdarg.h. Clean up includes. 21 years ago
Bruce Momjian f35d493d16 Back out: 21 years ago
Bruce Momjian 4c862b18f9 Display only 9 not 10 digits of precision for timestamp values when 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
Bruce Momjian 33d0d4ce96 Remove unnecessary parentheses in datetime/timestamp code. 21 years ago
Bruce Momjian 875813439d Remove excess parens, use Abs instead of : ?. 21 years ago
Tom Lane a8ac7d8713 Fix mis-display of negative fractional seconds in interval values for 21 years ago
Bruce Momjian aa8bdab272 Attached patch gets rid of the global timezone in the following steps: 21 years ago
Tom Lane d3d00715e2 interval_out failed to mention 'ago' for negative intervals in SQL and 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane 5ba04cd9f1 Invent pg_next_dst_boundary() and rewrite DetermineLocalTimeZone() to 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 c8c40bbc9e Cause the format of BC timestamptz output to be 'datetime zone BC' rather 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
Bruce Momjian fd071bd478 Fix to_char for 1 BC. Previously it returned 1 AD. 22 years ago
Bruce Momjian c672aa823b For application to HEAD, following community review. 22 years ago
Tom Lane 9bd681a522 Repair problem identified by Olivier Prenant: ALTER DATABASE SET search_path 22 years ago
Bruce Momjian 0ea4f9c859 Back out: 22 years ago
Bruce Momjian 54c8e821b8 In my mind there were two categories of open issues 22 years ago
Tom Lane 78f637c6da Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz. 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Tom Lane 1a908a00b0 Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes, 22 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 23 years ago
Tom Lane 94a13b8a11 Okay, I've had it with mktime() bugs. While chasing Torello Querci's 23 years ago