Re: Mark function arguments of type "Datum *" as "const Datum *" where possible
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Chao Li <li.evan.chao@gmail.com>,
Postgres hackers <pgsql-hackers@lists.postgresql.org>,
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-26T15:00:13Z
Lists: pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes: > I have mixed feelings about this patch. I have no concrete objections to > the technical content, but some questions come to mind. For example, why > are we only fixing Datum parameters? Yeah. In particular, probably 99% of such Datum arrays also have an associated array of bool isnull flags. IMO it makes exactly zero sense to const-ify the Datums without similar protection for their isnull flags. regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Mark function arguments of type "Datum *" as "const Datum *" where possible
- 8a27d418f8fc 19 (unreleased) landed