summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
AgeCommit message (Expand)Author
2023-03-18Add functions to do timestamptz arithmetic in a non-default timezone.Tom Lane
2023-03-17Refactor datetime functions' timezone lookup code to reduce duplication.Tom Lane
2023-02-20Detect overflow in timestamp[tz] subtraction.Tom Lane
2023-01-26Improve TimestampDifferenceMilliseconds to cope with overflow sanely.Tom Lane
2023-01-02Update copyright for 2023Bruce Momjian
2022-12-30Fix precision handling for some COERCE_SQL_SYNTAX functionsMichael Paquier
2022-12-09Convert datetime input functions to use "soft" error reporting.Tom Lane
2022-12-09Allow DateTimeParseError to handle bad-timezone error messages.Tom Lane
2022-11-21Replace SQLValueFunction by COERCE_SQL_SYNTAXMichael Paquier
2022-10-07Remove unnecessary uses of Abs()Peter Eisentraut
2022-09-20Harmonize more parameter names in bulk.Peter Geoghegan
2022-09-06Fix an assortment of improper usages of string functionsDavid Rowley
2022-07-16Replace many MemSet calls with struct initializationPeter Eisentraut
2022-05-12Pre-beta mechanical code beautification.Tom Lane
2022-05-10Fix some incorrect preprocessor tests in tuplesort specializationsDavid Rowley
2022-05-09Revert "Disallow infinite endpoints in generate_series() for timestamps."Tom Lane
2022-04-20Disallow infinite endpoints in generate_series() for timestamps.Tom Lane
2022-04-19Fix extract epoch from interval calculationPeter Eisentraut
2022-04-13Remove extraneous blank lines before block-closing bracesAlvaro Herrera
2022-04-02Fix overflow hazards in interval input and output conversions.Tom Lane
2022-04-02Specialize tuplesort routines for different kinds of abbreviated keysJohn Naylor
2022-02-28Handle integer overflow in interval justification functions.Tom Lane
2022-01-08Update copyright for 2022Bruce Momjian
2022-01-03Clean up error messages related to bad datetime units.Tom Lane
2021-09-26Avoid unnecessary division in interval_cmp_value().Tom Lane
2021-07-28Disallow negative strides in date_bin()John Naylor
2021-07-22Fix division by zero error in date_binJohn Naylor
2021-05-12Initial pgindent and pgperltidy run for v14.Tom Lane
2021-04-11Silence some Coverity warnings and improve code consistency.Tom Lane
2021-04-10Improve behavior of date_bin with origin in the futurePeter Eisentraut
2021-04-06Change return type of EXTRACT to numericPeter Eisentraut
2021-04-01Fix internal extract(timezone_minute) formulasPeter Eisentraut
2021-03-24Fix stray double semicolonsPeter Eisentraut
2021-03-24Add date_bin functionPeter Eisentraut
2021-01-02Update copyright for 2021Bruce Momjian
2020-11-11Fix and simplify some usages of TimestampDifference().Tom Lane
2020-10-07Prevent internal overflows in date-vs-timestamp and related comparisons.Tom Lane
2020-09-29Fix make_timestamp[tz] to accept negative years as meaning BC.Tom Lane
2020-06-04Reject "23:59:60.nnn" in datetime input.Tom Lane
2020-05-16Run pgindent with new pg_bsd_indent version 2.1.1.Tom Lane
2020-05-15Add comments linking pg_strftime to timestamptz_to_strAlvaro Herrera
2020-05-13Dial back -Wimplicit-fallthrough to level 3Alvaro Herrera
2020-05-12Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGSAlvaro Herrera
2020-03-04Introduce macros for typalign and typstorage constants.Tom Lane
2020-01-30Clean up newlines following left parenthesesAlvaro Herrera
2020-01-01Update copyrights for 2020Bruce Momjian
2019-12-12Fix EXTRACT(ISOYEAR FROM timestamp) for years BC.Tom Lane
2019-12-12Remove redundant function calls in timestamp[tz]_part().Tom Lane
2019-11-07Fix integer-overflow edge case detection in interval_mul and pgbench.Tom Lane
2019-10-21Refactor jsonpath's compareDatetime()Alexander Korotkov