From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Marcin Krawczyk <jankes(dot)mk(at)gmail(dot)com> |
Cc: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: pg_stat_acvtivity |
Date: | 2015-01-11 13:47:46 |
Message-ID: | CAFj8pRD+7ddrgPgpE2m51Oz8LqMf2kbxK0cah8=ekU7JtavmnA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi
It is not possible - what I know. You can run query via SPI interface, but
still pg_stat_activity shows parent query.
Regards
Pavel
2015-01-11 13:29 GMT+01:00 Marcin Krawczyk <jankes(dot)mk(at)gmail(dot)com>:
> Hi list,
>
> Is there a way to run a query that will not affect the pg_stat_activity's
> query_start column ? It shows the run time of the last query.
>
> something like:
> SET config_par(loggin_off);
> SELECT * FROM foo;
> SET config_par(logging_on);
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitry Teslenko | 2015-01-16 10:07:22 | fifo stock calculation with window function |
Previous Message | Marcin Krawczyk | 2015-01-11 12:29:35 | pg_stat_acvtivity |