Commit Graph

183 Commits (8ff6d4ec7840b0af56f1207073f44b7f2afae96d)

Author SHA1 Message Date
Tom Lane b9d092c962 Remove now-dead code for !HAVE_INT64_TIMESTAMP. 9 years ago
Alvaro Herrera 30bcebbdcf Allow negative years in make_date to represent BC years 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Tom Lane 0bb51aa967 Improve parsetree representation of special functions such as CURRENT_DATE. 9 years ago
Tom Lane a70e13a39e Be more careful about out-of-range dates and timestamps. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Tom Lane d435542583 Fix incorrect translation of minus-infinity datetimes for json/jsonb. 10 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Tom Lane b2cbced9ee Support timezone abbreviations that sometimes change. 11 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Peter Eisentraut edc43458d7 Add more use of psprintf() 12 years ago
Tom Lane f901bb50e3 Add make_date() and make_time() functions. 12 years ago
Bruce Momjian 9af4159fce pgindent run for release 9.3 13 years ago
Peter Eisentraut cc26ea9fe2 Clean up references to SQL92 13 years ago
Tom Lane 9afc58396a Reject nonzero day fields in AT TIME ZONE INTERVAL functions. 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 14 years ago
Tom Lane cd0ff9c0f4 Expand the allowed range of timezone offsets to +/-15:59:59 from Greenwich. 14 years ago
Peter Eisentraut 531e60aec0 Remove unused tzn arguments for timestamp2tm() 14 years ago
Peter Eisentraut ad4fb0d0d2 Improve EncodeDateTime and EncodeTimeOnly APIs 14 years ago
Robert Haas c13897983a Add transform functions for various temporal typmod coercisions. 14 years ago
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