Re: => operator for named parameters in open cursor - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: => operator for named parameters in open cursor
Date
Msg-id CAFj8pRB70E-wPzfMbbddJnTCxjnjH=XuFV=2JPmxLfn5Lxsk6g@mail.gmail.com
Whole thread Raw
In response to => operator for named parameters in open cursor  (Martin Butter <martin.butter@splendiddata.com>)
List pgsql-hackers


st 8. 6. 2022 v 14:29 odesílatel Martin Butter <martin.butter@splendiddata.com> napsal:
Since Postgres 9.5 it is possible to use the => operators for filling in
named parameters in a function call, like perform my_func(named_param =>
'some value'). The old form, with the := operator is still allowed for
backward reference.

But with open cursor, still only the old := operator is allowed.
Wouldn't it be more appropriate to at least allow the => operator there
as well, like open my_cursor(named_param => 'some value')?

+1

Pavel

pgsql-hackers by date:

Previous
From: Kuntal Ghosh
Date:
Subject: Re: Invalid memory access in pg_stat_get_subscription
Next
From: Jakub Wartak
Date:
Subject: RE: pgcon unconference / impact of block size on performance