Received: from necker.ac-rouen.fr (smtp.ac-rouen.fr [194.167.110.3]) by postgresql.org (Postfix) with ESMTP id 5116B4758F8 for ; Wed, 10 Jul 2002 05:02:09 -0400 (EDT) Received: from s2ia27 (localhost.localdomain [127.0.0.1]) by necker.ac-rouen.fr (8.11.0/8.11.0) with ESMTP id g6A929T19120 for ; Wed, 10 Jul 2002 11:02:09 +0200 Content-Type: text/plain; charset="iso-8859-1" From: David BOURIAUD Organization: Inspection =?iso-8859-1?q?acad=E9mique=20de?= l'Eure To: "pgsql-sql@postgresql.org" Subject: Re: query/transaction history/logs Date: Wed, 10 Jul 2002 11:08:14 +0200 X-Mailer: KMail [version 1.4] References: <3D2BF180.50101@sni.ph> In-Reply-To: <3D2BF180.50101@sni.ph> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207101107.47159.david.bouriaud@ac-rouen.fr> X-Archive-Number: 200207/129 X-Sequence-Number: 8508 Le Mercredi 10 Juillet 2002 10:34, q a écrit : > Is there anyway we can track queries entered? > Is there a table that stores all the actions that a user entered? (history) > Is there such a feature? > For both of your problems, see the way you can launch the postmaster. For example, I use to launch it this way : postmaster -i -d2 &> /var/log/postmaster.log & Thus, you get all you want in the log file /var/log/postmaster.log Now, you can get as much infos as you want according to the level of debug you want (from 1 to 9 as far as I remember, the greater, the more speech you get from the postmaster). > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- David BOURIAUD ---------------------------------------------------------- In a world without walls or fences, what use do we have for windows or gates ? ---------------------------------------------------------- ICQ#102562021