Re: updates for handling optional argument in system functions

Tristan Partin <tristan@partin.io>

From: "Tristan Partin" <tristan@partin.io>
To: "Mark Wong" <markwkm@gmail.com>
Cc: <pgsql-hackers@lists.postgresql.org>
Date: 2026-06-18T16:50:13Z
Lists: pgsql-hackers
On Thu Jun 11, 2026 at 2:47 PM UTC, Mark Wong wrote:
> On Fri, Jun 05, 2026 at 09:04:34PM +0000, Tristan Partin wrote:
>> > Patch 1
>> >
>> > -  proargtypes => 'oid bool', prosrc => 'pg_get_ruledef_ext' },
>> > +  proargtypes => 'oid bool', proargnames => '{rule,pretty}',
>> > +  proargdefaults => '{false}',prosrc => 'pg_get_ruledef' },
>> 
>> There is a space missing before prosrc in the added line.
>> 
>> Other than that one comment, this looks good to me.
>
> Oops, v8.1 attached to correct that white space.

Patches look great Mark!

-- 
Tristan Partin
PostgreSQL Contributors Team
AWS (https://aws.amazon.com)



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.