Re: [HACKERS] proposal: PLpgSQL parallel assignemnt - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: [HACKERS] proposal: PLpgSQL parallel assignemnt
Date
Msg-id CAMsr+YFQci-dJZBaUJpDMtUyLpfwnxHTP-ZQu2=WazxEnT8RHQ@mail.gmail.com
Whole thread Raw
In response to [HACKERS] proposal: PLpgSQL parallel assignemnt  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] proposal: PLpgSQL parallel assignemnt  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On 2 June 2017 at 15:51, Pavel Stehule <pavel.stehule@gmail.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



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: [HACKERS] proposal: PLpgSQL parallel assignemnt
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] proposal: PLpgSQL parallel assignemnt