proposal - plpgsql - support standard syntax for named arguments for cursors
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-02-08T06:47:23Z
Lists: pgsql-hackers
Attachments
- v20250208-0001-allow-to-use-standard-syntax-for-named-arguments-for.patch (text/x-patch) patch v20250208-0001
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` The patch is almost trivial Regards Pavel
Commits
-
Allow => syntax for named cursor arguments in plpgsql.
- 246dedc5d028 18.0 landed
-
Allow named parameters to be specified using => in addition to :=
- 865f14a2d31a 9.5.0 cited
-
Add support for passing cursor parameters in named notation in PL/pgSQL.
- 4adead1d2242 9.2.0 cited