Re: proposal - plpgsql - support standard syntax for named arguments for cursors

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: proposal - plpgsql - support standard syntax for named arguments for cursors
Date: 2025-02-08 08:34:35
Message-ID: Z6cXG2vpqBvymAOO@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Sat, Feb 08, 2025 at 07:47:23AM +0100, Pavel Stehule wrote:
> Hi
>
> when I worked on strict expr check patch I found so syntax for named
> arguments of cursors supports only our legacy proprietary syntax `argname
> := value`
>
> https://www.postgresql.org/docs/current/plpgsql-cursors.html
>
> I propose to enhancing to ANSI/SQL standard syntax for named arguments
> `argname => value`

Seems sensible to me.

> The patch is almost trivial

Documentation and tests are updated, and the patch LGTM.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2025-02-08 09:39:29 Improve pgindent exclude handling: ignore empty lines
Previous Message Zhijie Hou (Fujitsu) 2025-02-08 06:58:45 RE: Introduce XID age and inactive timeout based replication slot invalidation