Re: actual SQL statement - Mailing list pgsql-general

From A. Kretschmer
Subject Re: actual SQL statement
Date
Msg-id 20060223101245.GF24821@webserv.wug-glas.de
Whole thread Raw
In response to actual SQL statement  ("MG" <pgsql-general@carladata.de>)
List pgsql-general
am  23.02.2006, um 10:58:12 +0100 mailte MG folgendes:
> Hello,
>
> can I find out, what SQL statement the PostgreSQL-server is executing?

select * from pg_stat_activity;

You should enable 'stats_command_string' in postgresql.conf.


Btw.: please, no HTML


HTH, Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

pgsql-general by date:

Previous
From: "MG"
Date:
Subject: actual SQL statement
Next
From: Prestation3.EXPLOITATION@nexans.com
Date:
Subject: Disable FK constarints