pgsql: Const-ify a couple of datetime parsing subroutines.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Const-ify a couple of datetime parsing subroutines.
Date: 2022-12-09 15:43:51
Message-ID: E1p3fXS-002gmP-FM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Const-ify a couple of datetime parsing subroutines.

More could be done in this line, but I just grabbed some low-hanging
fruit. Principal objective was to remove the need for several ugly
unconstify() usages in formatting.c.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bad5116957eea2dc360c6c233be08284bd3d5364

Modified Files
--------------
src/backend/utils/adt/datetime.c | 8 ++++----
src/backend/utils/adt/formatting.c | 6 +++---
src/include/utils/datetime.h | 8 ++++----
3 files changed, 11 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-12-09 16:57:41 pgsql: meson: Improve PG_VERSION_STR generation
Previous Message Tom Lane 2022-12-09 15:15:04 pgsql: Create infrastructure for "soft" error reporting.