Commit Graph

155 Commits (3b9ec4682c2f1baeeeba10b6d782386656a98f4a)

Author SHA1 Message Date
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane 2d0583a166 Get rid of a bunch of #ifdef HAVE_INT64_TIMESTAMP conditionals by inventing 18 years ago
Tom Lane cd00406774 Replace time_t with pg_time_t (same values, but always int64) in on-disk 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane bdd6b62245 Switch over to using the src/timezone functions for formatting timestamps 18 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 19 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Andrew Dunstan 188c52497d minor code cleanup - replace useless struct timezone argument to 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 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