Commit Graph

213 Commits (ba2bc4a7bace6db6657b4e550b11137e31e2f8dc)

Author SHA1 Message Date
Tom Lane 388e71af88 Make timetz_zone() stable, and correct a bug for DYNTZ abbreviations. 4 years ago
Tom Lane 6277435a8a Silence some Coverity warnings and improve code consistency. 5 years ago
Peter Eisentraut a2da77cdb4 Change return type of EXTRACT to numeric 5 years ago
Peter Eisentraut 91e7c90329 Fix internal extract(timezone_minute) formulas 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane 3db322eaab Prevent internal overflows in date-vs-timestamp and related comparisons. 5 years ago
Tom Lane 0a87ddff5c Cache the result of converting now() to a struct pg_tm. 5 years ago
Tom Lane a9632830bb Reject "23:59:60.nnn" in datetime input. 6 years ago
Robert Haas 05d8449e73 Move src/backend/utils/hash/hashfn.c to src/common 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Alexander Korotkov 52ad1e6599 Refactor jsonpath's compareDatetime() 6 years ago
Alexander Korotkov 5bc450629b Error suppression support for upcoming jsonpath .datetime() method 6 years ago
Alexander Korotkov 66c74f8b6e Implement parse_datetime() function 6 years ago
Michael Paquier c74d49d41c Fix many typos and inconsistencies 7 years ago
Peter Eisentraut 666cbae16d Remove explicit error handling for obsolete date/time values 7 years ago
Alvaro Herrera af38498d4c Move hash_any prototype from access/hash.h to utils/hashutils.h 7 years ago
Tom Lane 1fb57af920 Create the infrastructure for planner support functions. 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Andres Freund cda6a8d01d Remove deprecated abstime, reltime, tinterval datatypes. 7 years ago
Peter Eisentraut 387543f7bd Make new error code name match SQL standard more closely 8 years ago
Tom Lane 0a459cec96 Support all SQL:2011 options for window frame clauses. 8 years ago
Andrew Dunstan cc4feded0a Centralize json and jsonb handling of datetime types 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Robert Haas eaedf0df71 Update typedefs.list and re-run pgindent 8 years ago
Andres Freund 31079a4a8e Replace remaining uses of pq_sendint with pq_sendint{8,16,32}. 8 years ago
Robert Haas 7b69b6ceb8 Fix assorted carelessness about Datum vs. int64 vs. uint64 8 years ago
Robert Haas 81c5e46c49 Introduce 64-bit hash functions with a 64-bit seed. 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 9 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 9 years ago
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