Re: Can't use WITH in a PERFORM query in PL/pgSQL? - Mailing list pgsql-bugs

From Pavel Stehule
Subject Re: Can't use WITH in a PERFORM query in PL/pgSQL?
Date
Msg-id CAFj8pRBdwyRBA1jKfy5Wt6n5dfAOdxo_2r7y5zn3-_Pa7ZYHCA@mail.gmail.com
Whole thread Raw
In response to Re: Can't use WITH in a PERFORM query in PL/pgSQL?  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-bugs
2011/10/20 Merlin Moncure <mmoncure@gmail.com>:
> On Thu, Oct 20, 2011 at 2:28 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>>>
>>> it would be really a good idea to allow SELECT without INTO in plpgsql.
>>
>> SELECT without INTO is useless in plpgsql - because you have to drop result.
>
> not if you're calling a function:
> select func();

it is correct just for void function.

Pavel

>
> merlin
>

pgsql-bugs by date:

Previous
From: "Robert Messer"
Date:
Subject: BUG #6263: \l causes core dump with large database
Next
From: Tom Lane
Date:
Subject: Re: BUG #6262: while installing postgis in make install leavingdirectory