Re: Relax requirement for INTO with SELECT in pl/pgsql - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Relax requirement for INTO with SELECT in pl/pgsql
Date
Msg-id CAHyXU0zyc+X-5dCRjdoF41r46-F-Rbr=cHLcG4VjYdSe7pY55w@mail.gmail.com
Whole thread Raw
In response to Re: Relax requirement for INTO with SELECT in pl/pgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Mar 21, 2016 at 5:49 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> So, I'm -1 on not having any keyword at all.  I have no objection
> to Merlin's proposal though.  I agree that PERFORM is starting to
> look a bit silly, since it doesn't play with WITH for instance.

All right -- I'll submit a revised patch with documentation
adjustments.  "Basic Statements" needs to be revised, in particular
the section, "Executing a Command With No Result".  I'm inclined to
remove that section completely, and rename the next section from
"Executing a Query with a Single-row Result"  to simply, "Executing a
Query" (or perhaps "Non-Dynamic Query").

I'd like to remove documentation and usage of PERFORM except for a
note mentioning the old syntax...this would replace the current note
that existentially questions the necessity of PERFORM in the first
place.  Thanks.

merlin



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Relax requirement for INTO with SELECT in pl/pgsql
Next
From: Robert Haas
Date:
Subject: Re: Relax requirement for INTO with SELECT in pl/pgsql