Re: updates for handling optional argument in system functions

Andreas Karlsson <andreas@proxel.se>

From: Andreas Karlsson <andreas@proxel.se>
To: Mark Wong <markwkm@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2026-04-08T19:18:34Z
Lists: pgsql-hackers
On 4/8/26 8:10 PM, Mark Wong wrote:
> What I pondered over a little bit was whether to flip-flop and remove
> the original _ext definitions instead and modify their respective
> counterparts that I originally removed. I opted to continue editing what
> I started because of the comment that reads "System-view support
> functions with pretty-print option", but I don't have any strong
> opinions either way.
> 
> I've attached v7 with the more succinct descriptions.
I would be fine with either too. The comment feels a bit less useful now 
so it too could either stay or go. I have no strong feelings about it.

Setting this as ready for committer since I think the patch is fine 
as-is and an improvement over the current no matter what is done about 
the comment or which oids we decide to use.

Andreas




Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Simplify creation of built-in functions with default arguments.