Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7AH0-0001iK-5W for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Jun 2015 22:33:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z7AGz-0006u1-9Z for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Jun 2015 22:33:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7AGy-0006tq-61 for pgsql-bugs@postgresql.org; Mon, 22 Jun 2015 22:33:00 +0000 Received: from c.mail.sonic.net ([64.142.111.80]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7AGu-0005DS-TI for pgsql-bugs@postgresql.org; Mon, 22 Jun 2015 22:32:59 +0000 Received: from engels (173-228-38-46.dsl.dynamic.fusionbroadband.com [173.228.38.46]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t5MMWofT020371 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA256 bits=128 verify=NOT) for ; Mon, 22 Jun 2015 15:32:51 -0700 Date: Mon, 22 Jun 2015 15:32:56 -0700 From: David Gould To: pgsql-bugs@postgresql.org Subject: Re: Incomplete Explain for delete Message-ID: <20150622153256.4ba1c6ce@engels> In-Reply-To: References: <4794.1434989988@sss.pgh.pa.us> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Sonic-CAuth: UmFuZG9tSVY9BFNNkhRSV+rmjL3ivM5+3P1uRMajK0tgb92RtedVsFtK5qPKp+UNnJ8Q5SDxQtnfLA/OvST2UATLVC2yFC0O X-Sonic-ID: C;ZtBSnS4Z5RGZ+efp6CYw6A== M;9jS4nS4Z5RGZ+efp6CYw6A== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Mon, 22 Jun 2015 12:41:28 -0400 "David G. Johnston" wrote: > =E2=80=8BExcept that the query inside the trigger is known to system - th= e fact it > is wrapped in a trigger is an implementation detail that could, in theory, > be bypassed in order to facilitate a more meaningful explain output. Unless triggers are prohibited from using dynamic sql, the query really cannot be known to the system. -dg --=20 David Gould 510 282 0869 daveg@sonic.net If simplicity worked, the world would be overrun with insects. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs