Commit Graph

331 Commits (c60488b4748b4316f1c92d62457671046e5c8994)

Author SHA1 Message Date
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
Peter Eisentraut f14aad5169 Remove unnecessary uses of Abs() 3 years ago
Peter Geoghegan a601366a46 Harmonize more parameter names in bulk. 3 years ago
David Rowley 8b26769bc4 Fix an assortment of improper usages of string functions 3 years ago
Peter Eisentraut 9fd45870c1 Replace many MemSet calls with struct initialization 3 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 3 years ago
David Rowley c90c16591c Fix some incorrect preprocessor tests in tuplesort specializations 3 years ago
Tom Lane 29904f5f2f Revert "Disallow infinite endpoints in generate_series() for timestamps." 3 years ago
Tom Lane eafdf9de06 Disallow infinite endpoints in generate_series() for timestamps. 3 years ago
Peter Eisentraut f2a2bf66c8 Fix extract epoch from interval calculation 3 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 3 years ago
Tom Lane e39f990467 Fix overflow hazards in interval input and output conversions. 3 years ago
John Naylor 6974924347 Specialize tuplesort routines for different kinds of abbreviated keys 3 years ago
Tom Lane 54bd1e43ca Handle integer overflow in interval justification functions. 3 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 e94c1a55da Avoid unnecessary division in interval_cmp_value(). 4 years ago
John Naylor 3ba70d4e15 Disallow negative strides in date_bin() 4 years ago
John Naylor a0db4294ae Fix division by zero error in date_bin 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 4 years ago
Tom Lane 6277435a8a Silence some Coverity warnings and improve code consistency. 4 years ago
Peter Eisentraut 496e58bb0e Improve behavior of date_bin with origin in the future 4 years ago
Peter Eisentraut a2da77cdb4 Change return type of EXTRACT to numeric 4 years ago
Peter Eisentraut 91e7c90329 Fix internal extract(timezone_minute) formulas 4 years ago
Peter Eisentraut 37c99d304d Fix stray double semicolons 4 years ago
Peter Eisentraut 49ab61f0bd Add date_bin function 4 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane ec29427ce2 Fix and simplify some usages of TimestampDifference(). 5 years ago
Tom Lane 3db322eaab Prevent internal overflows in date-vs-timestamp and related comparisons. 5 years ago
Tom Lane a094c8ff53 Fix make_timestamp[tz] to accept negative years as meaning BC. 5 years ago
Tom Lane a9632830bb Reject "23:59:60.nnn" in datetime input. 5 years ago
Tom Lane fa27dd40d5 Run pgindent with new pg_bsd_indent version 2.1.1. 5 years ago
Alvaro Herrera a0ab4f4909
Add comments linking pg_strftime to timestamptz_to_str 5 years ago
Alvaro Herrera 17cc133f01
Dial back -Wimplicit-fallthrough to level 3 5 years ago
Alvaro Herrera 3e9744465d
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 5 years ago
Tom Lane 3ed2005ff5 Introduce macros for typalign and typstorage constants. 5 years ago
Alvaro Herrera c9d2977519 Clean up newlines following left parentheses 5 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Tom Lane 1a3efa1eb6 Fix EXTRACT(ISOYEAR FROM timestamp) for years BC. 6 years ago
Tom Lane 26ae3aa80e Remove redundant function calls in timestamp[tz]_part(). 6 years ago
Tom Lane a7145f6bc8 Fix integer-overflow edge case detection in interval_mul and pgbench. 6 years ago
Alexander Korotkov 52ad1e6599 Refactor jsonpath's compareDatetime() 6 years ago
Alexander Korotkov a6888fde7f Refactor timestamp2timestamptz_opt_error() 6 years ago
Alexander Korotkov 5bc450629b Error suppression support for upcoming jsonpath .datetime() method 6 years ago
Alexander Korotkov d589f94460 Support for FF1-FF6 datetime format patterns 6 years ago
Peter Eisentraut 666cbae16d Remove explicit error handling for obsolete date/time values 6 years ago
Noah Misch 9a81c9fa3f Don't call PG_RETURN_BOOL() in a function not returning Datum. 6 years ago
Alvaro Herrera af38498d4c Move hash_any prototype from access/hash.h to utils/hashutils.h 6 years ago