pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: maksim <m.milyutin@postgrespro.ru>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Fwd: [BUG] Print timing statistics of trigger execution under turned off timing option of EXPLAIN ANALYZE
Date: Fri, 12 Aug 2016 11:35:19 -0400
Message-ID: <29520.1471016119@sss.pgh.pa.us> (raw)
In-Reply-To: <081c0540-ecaa-bd29-3fd2-6358f3b359a9@postgrespro.ru>
References: <57bd66d9-551f-3191-ff1f-88d554cac3b2@postgrespro.ru>
	<081c0540-ecaa-bd29-3fd2-6358f3b359a9@postgrespro.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

maksim <m.milyutin@postgrespro.ru> writes:
> postgres=# EXPLAIN (ANALYZE, timing false) insert INTO foo 
> values(1000001, '');
>                                  QUERY PLAN
> --------------------------------------------------------------------------
>   Insert on foo  (cost=0.00..0.01 rows=1 width=36) (actual rows=0 loops=1)
>     ->  Result  (cost=0.00..0.01 rows=1 width=36) (actual rows=1 loops=1)
>   Planning time: 0.038 ms
>   Trigger unique_foo_c1:*/time=0.000/* calls=1
>   Execution time: 340.766 ms
> (5 rows)

Hmm, yeah, it shouldn't do that.

> My patch fixes this problem.

Will push, thanks.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (2+ messages)

Message-ID: <29520.1471016119@sss.pgh.pa.us>
Permalink:  ../29520.1471016119@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29520.1471016119@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, m.milyutin@postgrespro.ru
  Subject: Re: Fwd: [BUG] Print timing statistics of trigger execution under turned off timing option of EXPLAIN ANALYZE
  In-Reply-To: <29520.1471016119@sss.pgh.pa.us>
  References: <57bd66d9-551f-3191-ff1f-88d554cac3b2@postgrespro.ru> <081c0540-ecaa-bd29-3fd2-6358f3b359a9@postgrespro.ru> <29520.1471016119@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox