Re: proposal - plpgsql - support standard syntax for named arguments for cursors - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal - plpgsql - support standard syntax for named arguments for cursors
Date
Msg-id 4139929.1741043071@sss.pgh.pa.us
Whole thread Raw
In response to Re: proposal - plpgsql - support standard syntax for named arguments for cursors  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal - plpgsql - support standard syntax for named arguments for cursors
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
>> po 24. 2. 2025 v 21:05 odesílatel Gilles Darold <gilles@darold.net>
>> napsal:
>>> I think it could be ready to be committed.

Pushed with a docs/test correction: this also affects the syntax
of FOR-over-cursor.

>>> Note for the committer: does it make sense to mention in the
>>> documentation that this standard SQL/PSM syntax is preferred than the PG
>>> syntax?

> I modified doc in same manner like function's named arguments are described

I didn't especially care for this change and didn't include it.  We've
had the := syntax for decades and aren't likely to ever remove it,
so why start acting like it's deprecated?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: [PATCH] SVE popcount support
Next
From: Julien Rouhaud
Date:
Subject: Re: what's going on with lapwing?