Commit Graph

223 Commits (1d369c9e90f311ec98b07a259cac48c404c773d5)

Author SHA1 Message Date
Tom Lane 3e59e5048d Refactor datetime functions' timezone lookup code to reduce duplication. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Michael Paquier 7aa81c61ec Fix precision handling for some COERCE_SQL_SYNTAX functions 3 years ago
Tom Lane c60488b474 Convert datetime input functions to use "soft" error reporting. 3 years ago
Tom Lane 2661469d86 Allow DateTimeParseError to handle bad-timezone error messages. 3 years ago
Michael Paquier f193883fc9 Replace SQLValueFunction by COERCE_SQL_SYNTAX 3 years ago
David Rowley 8b26769bc4 Fix an assortment of improper usages of string functions 3 years ago
John Naylor 6974924347 Specialize tuplesort routines for different kinds of abbreviated keys 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Tom Lane 4b160492b9 Clean up error messages related to bad datetime units. 4 years ago
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