pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-sql@postgresql.org
Subject: Re: EXPLAIN ANALYZE inside functions
Date: Mon, 19 Nov 2007 16:48:20 +0200
Message-ID: <fhs7n9$2ok2$1@news.hub.org> (raw)
References: <fhs2cd$1aqs$1@news.hub.org>

>
> Do you know a workaround to do this ?
>

I just succeeded adding the following code:

FOR rec IN EXECUTE 'EXPLAIN ANALYZE ' || sSQL LOOP
        RAISE NOTICE ' - %', rec;
END LOOP;

Regards,
Sabin 





view thread (2+ messages)

Message-ID: <fhs7n9$2ok2$1@news.hub.org>
Permalink:  ../fhs7n9$2ok2$1@news.hub.org/
Also on:    postgresql.org/message-id/fhs7n9$2ok2$1@news.hub.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sabin.coanda@deuromedia.ro
  Subject: Re: EXPLAIN ANALYZE inside functions
  In-Reply-To: <fhs7n9$2ok2$1@news.hub.org>

* 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