Commit Graph

144 Commits (790c01d28099587bbe2c623d4389b62ee49b1dee)

Author SHA1 Message Date
Bruce Momjian a93bf4503f Allow times of 24:00:00 to match rounding behavior: 20 years ago
Tom Lane 303e089df5 Clean up possibly-uninitialized-variable warnings reported by gcc 4.x. 20 years ago
Bruce Momjian 3dbbbbf8e9 Andrew pointed out that the current fix didn't handle dates that were 20 years ago
Tom Lane 4749e914ae Fix insufficient check for overflow in tm2abstime(), per report from jw. 20 years ago
Bruce Momjian d5f1e08c0c Code spacing improvement, particularly *tm spacing. 20 years ago
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 7f0b690334 Improve comments for AdjustIntervalForTypmod. 20 years ago
Tom Lane b5f7cff84f Clean up the rather historically encumbered interface to now() and 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
Bruce Momjian aa8bdab272 Attached patch gets rid of the global timezone in the following steps: 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 921d749bd4 Adjust our timezone library to use pg_time_t (typedef'd as int64) in 22 years ago
Tom Lane e6319d1d28 Put back #include <sys/time.h> in files that seem to need it on Linux. 22 years ago
Tom Lane 63bd0db121 Integrate src/timezone library for all platforms. There is more we can 22 years ago
Tom Lane dadce6509a Don't assume that struct timeval's tv_sec field is the same datatype as 22 years ago
Tom Lane d81cd7032e Standardize output buffer size and display format for strftime; 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
Tom Lane ec646dbc65 Create a 'type cache' that keeps track of the data needed for any particular 22 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane 81b5c8a136 A visit from the message-style police ... 22 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 22 years ago
Tom Lane 764f72dc82 Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention 22 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 50ed78b805 Allow 60 in seconds fields of timestamp, time, interval input values. 23 years ago
Tom Lane d685417fbb Avoid repeated computation of the constants date2j(1970, 1, 1) and 23 years ago
Bruce Momjian a18331004a Add start time to pg_stat_activity 23 years ago
Tom Lane 80d6a277c9 Simplify timezone-handling code per proposal to pghackers: get rid of 23 years ago
Tom Lane 4df0f1d26f Fix timestamptz_in so that parsing of 'now'::timestamptz gives right 23 years ago
Tom Lane ff7349694f Guard against overrunning CTZName buffer when TZ is bogus. 23 years ago
Tom Lane 5eb6de5991 Remove NO_MKTIME_BEFORE_1970. I had speculated that it was not needed 23 years ago
Tom Lane b8dcb505ec Fix a couple of grammatical errors in error messages. 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Bruce Momjian 97ac103289 Remove sys/types.h in files that include postgres.h, and hence c.h, 23 years ago
Tom Lane 3c49c4b152 Mark the float8 -> int8 cast as implicit. This resolves the problem 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