Commit Graph

251 Commits (a39331fa573fc2bd6f93322ff190da26ddc477b5)

Author SHA1 Message Date
Greg Stark c11100d0fa Move DTK_ISODOW DTK_DOW and DTK_DOY to be type UNITS rather than 10 years ago
Tom Lane 586dd5d6a5 Replace a bunch more uses of strncpy() with safer coding. 11 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
Alvaro Herrera 84df54b22e Constructors for interval, timestamp, timestamptz 12 years ago
Tom Lane 01824385ae Prevent potential overruns of fixed-size buffers. 12 years ago
Bruce Momjian 146604ec43 Add checks for interval overflow/underflow 12 years ago
Tom Lane 0d79c0a8cc Make various variables const (read-only). 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Tom Lane f901bb50e3 Add make_date() and make_time() functions. 12 years ago
Tom Lane 631dc390f4 Fix some odd behaviors when using a SQL-style simple GMT offset timezone. 12 years ago
Bruce Momjian 7778ddc7a2 Allow 5+ digit years for non-ISO timestamp/date strings, where appropriate 12 years ago
Bruce Momjian d50f281210 Adjust C comments that would be wrap-able. 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
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Heikki Linnakangas 0899556e92 Fix access past end of string in date parsing. 13 years ago
Alvaro Herrera c219d9b0a5 Split tuple struct defs from htup.h to htup_details.h 14 years ago
Bruce Momjian 3e1a373e2b Allow text timezone designations, e.g. "America/Chicago", when using the 14 years ago
Tom Lane 3152bf722f Fix bugs with parsing signed hh:mm and hh:mm:ss fields in interval input. 14 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
Tom Lane 0339047bc9 Code review for protransform patches. 14 years ago
Peter Eisentraut eb990a2b9e Add const qualifier to tzn returned by 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
Robert Haas 8a3d33c8e6 Fix parsing of time string followed by yesterday/today/tomorrow. 15 years ago
Bruce Momjian 6560407c7d Pgindent run before 9.1 beta2. 15 years ago
Bruce Momjian 0711a8b2b3 Add C comment about why we don't spell out "month" in interval values. 15 years ago
Tom Lane 2e82d0b396 Prevent datebsearch() from crashing on base == NULL && nel == 0. 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Tom Lane 2594cf0e8c Revise the API for GUC variable assign hooks. 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 9aae81527f Re-allow input of Julian dates prior to 0001-01-01 AD. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Tom Lane fbcf2cfb53 Fix an ancient typo that prevented the detection of conflicting fields when 16 years ago
Tom Lane ed437e2b27 Adjust comments about avoiding use of printf's %.*s. 16 years ago
Tom Lane 54cd4f0457 Work around a subtle portability problem in use of printf %s format. 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane 3bd2241135 Fix overflow for INTERVAL 'x ms' where x is more than a couple million, 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 5cca35a68b Make handling of INTERVAL DAY TO MINUTE and INTERVAL DAY TO SECOND input 17 years ago
Tom Lane b3b89fd1f1 Fix DecodeInterval to report an error for multiple occurrences of DAY, WEEK, 17 years ago
Tom Lane 99bf328237 Remove the useless and rather inconsistent return values of EncodeDateOnly, 17 years ago
Tom Lane fe1b07a6f9 When checking for datetime field overflow, we should allow a fractional-second 17 years ago
Tom Lane 0fd85d7879 Remove the datetime keywords ABSTIME and RELTIME, which we'd been treating as 17 years ago
Bruce Momjian 97e7f635ad Improve zero-year comments. 17 years ago