Re: => operator for named parameters in open cursor

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Martin Butter <martin(dot)butter(at)splendiddata(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: => operator for named parameters in open cursor
Date: 2022-06-08 13:17:50
Message-ID: CAFj8pRB70E-wPzfMbbddJnTCxjnjH=XuFV=2JPmxLfn5Lxsk6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

st 8. 6. 2022 v 14:29 odesílatel Martin Butter <
martin(dot)butter(at)splendiddata(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniele Varrazzo 2022-06-08 13:59:41 Using PQexecQuery in pipeline mode produces unexpected Close messages
Previous Message Kuntal Ghosh 2022-06-08 12:58:26 Re: Invalid memory access in pg_stat_get_subscription