Commit Graph

161 Commits (1a01560cbb78ff363fc7d70298328aa23f05bfb5)

Author SHA1 Message Date
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Tom Lane c6e3ac11b6 Create a "sort support" interface API for faster sorting. 14 years ago
Heikki Linnakangas 4429f6a9e3 Support range data types. 14 years ago
Tom Lane a7801b62f2 Move Timestamp/Interval typedefs and basic macros into datatype/timestamp.h. 14 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Bruce Momjian 3a3f39fdc0 Use macros for time-based constants, rather than constants. 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Tom Lane f2ba1e994c Avoid unexpected conversion overflow in planner for distant date values. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Itagaki Takahiro 1a1ad6320c date_recv should accept infinities. 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Heikki Linnakangas 2078e384a3 Fix range check in date_recv that tried to limit accepted values to only 16 years ago
Heikki Linnakangas 7be39bb0be Tigthen binary receive functions so that they reject values that the text 17 years ago
Tom Lane 78aef14c59 Fix time_part and timetz_part (ie, EXTRACT() for those datatypes) to 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane dd96d13a77 Add range checks to time_recv() and timetz_recv(), to prevent binary input 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane a303e4dc43 Extend the date type to support infinity and -infinity, analogously to 17 years ago
Tom Lane c50838533b Fix AT TIME ZONE (in all three variants) so that we first try to interpret 18 years ago
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
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 6f21c57a97 In the integer-datetimes case, date2timestamp and date2timestamptz need 19 years ago
Tom Lane bdd6b62245 Switch over to using the src/timezone functions for formatting timestamps 19 years ago
Tom Lane 7af3a6fc6f Fix up hash functions for datetime datatypes so that they don't take 19 years ago
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