Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5DA15B5DC1E for ; Thu, 20 Oct 2011 14:15:40 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 75365-03 for ; Thu, 20 Oct 2011 17:15:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 4CA61B5DC33 for ; Thu, 20 Oct 2011 14:15:34 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9KHFXtM025224; Thu, 20 Oct 2011 13:15:33 -0400 (EDT) To: Valentine Gogichashvili cc: pgsql-bugs@postgresql.org, Pavel Stehule , Merlin Moncure Subject: Re: Can't use WITH in a PERFORM query in PL/pgSQL? In-reply-to: References: <29F36C7C98AB09499B1A209D48EAA615B501DA9401@mail2a.alliedtesting.com> <201109061743.p86HhQX16354@momjian.us> <19518.1319057158@sss.pgh.pa.us> Comments: In-reply-to Valentine Gogichashvili message dated "Thu, 20 Oct 2011 18:19:31 +0200" Date: Thu, 20 Oct 2011 13:15:33 -0400 Message-ID: <25223.1319130933@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/199 X-Sequence-Number: 31469 Valentine Gogichashvili writes: > And, ernestly, if it were useless to have SELECT without INTO in plpgsql, > there also would be no PERFORM command in plpgsql... Precisely. Pavel's claim is nonsense. The only real question is how useful is it to call it PERFORM instead of SELECT. regards, tom lane