Commit Graph

364 Commits (dbdc717ac6743074c3a55fc5c380638c91d24afd)

Author SHA1 Message Date
Michael Paquier 4246a977ba Switch some numeric-related functions to use soft error reporting 4 months ago
Tom Lane 6aebedc384 Grab the low-hanging fruit from forcing sizeof(Datum) to 8. 4 months ago
Michael Paquier 2242b26ce4 Fix incorrect Datum conversion in timestamptz_trunc_internal() 5 months ago
Tom Lane 84ce258707 Replace float8 with int in date2isoweek() and date2isoyear(). 5 months ago
Tom Lane 0059bbe1ec Break out xxx2yyy_opt_overflow APIs for more datetime conversions. 6 months ago
Peter Geoghegan 92fe23d93a Add nbtree skip scan optimization. 9 months ago
Amit Kapila ac0e33136a Invalidate inactive replication slots. 10 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Michael Paquier d85ce012f9 Improve handling of date_trunc() units for infinite input values 12 months ago
Nathan Bossart 0a27c3d0f7 Fix various overflow hazards in date and timestamp functions. 1 year ago
Dean Rasheed 3315235845 Fix #include order in timestamp.c. 1 year ago
Peter Eisentraut 23d0b48468 Remove hardcoded hash opclass function signature exceptions 1 year ago
Tom Lane 6be39d77a7 Fix extraction of week and quarter fields from intervals. 1 year ago
Nathan Bossart 9e9a2b7031 Remove dependence on -fwrapv semantics in a few places. 1 year ago
David Rowley 036bdcec9f Teach planner how to estimate rows for timestamp generate_series 1 year ago
Peter Eisentraut 5603e119f4 Fix incorrect punctuation in error message 2 years ago
Tom Lane 4019285c06 Detect more overflows in timestamp[tz]_pl_interval. 2 years ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
Tom Lane d163fdbfea Fix mis-rounding and overflow hazards in date_bin(). 2 years ago
Tom Lane 5ebc9c9017 Catch overflow when rounding intervals in AdjustIntervalForTypmod. 2 years ago
Tom Lane 25cd2d6402 Detect Julian-date overflow in timestamp[tz]_pl_interval. 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Dean Rasheed b218fbb7a3 Guard against overflow in interval_mul() and interval_div(). 2 years ago
Dean Rasheed 519fc1bd9e Support +/- infinity in the interval data type. 2 years ago
Dean Rasheed b2d55447a5 Guard against overflow in make_interval(). 2 years ago
Michael Paquier 97957fdbaa Add support for AT LOCAL 2 years ago
Michael Paquier d8c3106bb6 Add back SQLValueFunction for SQL keywords 3 years ago
Tom Lane 75bd846b68 Add functions to do timestamptz arithmetic in a non-default timezone. 3 years ago
Tom Lane 3e59e5048d Refactor datetime functions' timezone lookup code to reduce duplication. 3 years ago
Tom Lane 8028e294b4 Detect overflow in timestamp[tz] subtraction. 3 years ago
Tom Lane 3a28d78089 Improve TimestampDifferenceMilliseconds to cope with overflow sanely. 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
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. 4 years ago
David Rowley c90c16591c Fix some incorrect preprocessor tests in tuplesort specializations 4 years ago
Tom Lane 29904f5f2f Revert "Disallow infinite endpoints in generate_series() for timestamps." 4 years ago
Tom Lane eafdf9de06 Disallow infinite endpoints in generate_series() for timestamps. 4 years ago
Peter Eisentraut f2a2bf66c8 Fix extract epoch from interval calculation 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
Tom Lane e39f990467 Fix overflow hazards in interval input and output conversions. 4 years ago
John Naylor 6974924347 Specialize tuplesort routines for different kinds of abbreviated keys 4 years ago
Tom Lane 54bd1e43ca Handle integer overflow in interval justification functions. 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago