Allow => syntax for named cursor arguments in plpgsql.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 246dedc5d028800b393920184e5e6319c6805253
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-03-03T23:00:13Z
Releases: 18.0
Allow => syntax for named cursor arguments in plpgsql.

We've traditionally accepted "name := value" syntax for
cursor arguments in plpgsql.  But it turns out that the
equivalent statements in Oracle use "name => value".
Since we accept both forms of punctuation for function
arguments, it makes sense to do the same here.

Author: Pavel Stehule <pavel.stehule@gmail.com>
Reviewed-by: Gilles Darold <gilles@darold.net>
Discussion: https://postgr.es/m/CAFj8pRA3d0ARQEMbABa1n6q25AUdNmyO8aGs56XNf9pD4sRMjQ@mail.gmail.com

Files

Documentation touched

Discussion