Re: Running explain analyze in a transaction

From: Tim Uckun <timuckun(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Running explain analyze in a transaction
Date: 2015-04-10 23:44:46
Message-ID: CAGuHJrOaGwAA=sS-LJfUT7GJgXrMYxOvx56JcxzM8GSsahCTEg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

I have been it in two steps but sometimes I jump on to another task and
forget that I have an open transaction and shut down the app.

Anyway I would like to request a feature to let me see intermediate results
because for me anyway it's not unusual to chain multiple statements
together.

Thanks.

On Sat, Apr 11, 2015 at 2:50 AM, Guillaume Lelarge <guillaume(at)lelarge(dot)info>
wrote:

> Hi,
>
> 2015-04-10 1:13 GMT+02:00 Tim Uckun <timuckun(at)gmail(dot)com>:
>
>> I want to to do the following.
>>
>> begin;
>> explain analyze blah
>> rollback;
>>
>> If I do this I don't get the results of the analyze.
>>
>> I have been resorting to commenting out the rollback and running it
>> separately but it's a bit of a pain.
>>
>> Is there an easier way to do this?
>>
>>
> Nope. The query tool gets the result of the last query only. So you need
> to do it in two steps.
>
>
> --
> Guillaume.
> http://blog.guillaume.lelarge.info
> http://www.dalibo.com
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2015-04-11 08:40:53 Re: Running explain analyze in a transaction
Previous Message Melvin Davidson 2015-04-10 18:32:12 Re: Running explain analyze in a transaction