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

From Pavel Stehule
Subject Re: proposal - plpgsql - support standard syntax for named arguments for cursors
Date
Msg-id CAFj8pRAM5_81efK=P5T0_rpS8Xa0D4u=0-=xF3vFV4yXKBYTkg@mail.gmail.com
Whole thread Raw
In response to Re: proposal - plpgsql - support standard syntax for named arguments for cursors  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


út 4. 3. 2025 v 0:04 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:
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

Thank you very much

Regards

Pavel
 

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: John Naylor
Date:
Subject: Re: Improve CRC32C performance on SSE4.2
Next
From: Fujii Masao
Date:
Subject: Re: [PATCH] Add regression tests of ecpg command notice (error / warning)