Re: [PATCH] Add error_on_null() to produce an error if the input is null
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Vik Fearing <vik@postgresfriends.org>
Cc: Joel Jacobson <joel@compiler.org>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-22T01:10:06Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Bump catalog version for new function error_on_null()
- 2519fa836235 19 (unreleased) landed
-
Add error_on_null(), checking if the input is the null value
- 2b75c38b707a 19 (unreleased) landed
On Tue, Oct 21, 2025 at 05:16:32PM +0900, Michael Paquier wrote: > Why not if this simple solution works for you, using error_on_null() > as the function name. I'll double-check the whole, probably tomorrow. Applied after a couple of tweaks applied to the code (like added pg_* to the source function name) and the docs. And of course I forgot a catversion bump.. -- Michael