Re: proposal: PLpgSQL parallel assignemnt

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: PLpgSQL parallel assignemnt
Date: 2017-06-02 08:06:39
Message-ID: CAMsr+YFQci-dJZBaUJpDMtUyLpfwnxHTP-ZQu2=WazxEnT8RHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2 June 2017 at 15:51, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:

> a, b := fx();
>
> Comments, notes, ideas?

I'd be pretty happy to have

(a, b) = (x, y);
(a, b) = f(x);

which is SQL-esque.

But what, if anything, does Ada do?

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2017-06-02 08:15:34 Re: proposal: PLpgSQL parallel assignemnt
Previous Message Pavel Stehule 2017-06-02 07:51:55 proposal: PLpgSQL parallel assignemnt