Re: SQL History

From: Michael Ben-Nes <miki(at)canaan(dot)co(dot)il>
To: Hrishikesh Deshmukh <hdeshmuk(at)gmail(dot)com>
Cc: Postgresql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: SQL History
Date: 2005-05-08 10:30:16
Message-ID: 427DEA38.8000909@canaan.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You can set postgresql.conf to log all queries to a file.

Sadly you cant distinguish between the databases.

Hrishikesh Deshmukh wrote:

>Hi All,
>
>Does Postgresql have a "sql history of queries run" capability?
>Any ideas/pointers will be a great help. Could one capture the order
>and SQL queries run?!
>
>Thanks in advance and your help is appreciated.
>
>Hrishi
>
>---------------------------(end of broadcast)---------------------------
>TIP 8: explain analyze is your friend
>
>

--
--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122
Cel: 972-52-8555757
Fax: 972-4-6990098
http://www.canaan.net.il
--------------------------

In response to

  • SQL History at 2005-05-06 17:48:04 from Hrishikesh Deshmukh

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brendan Jurd 2005-05-08 16:05:14 Shorthand for foreign key indices
Previous Message Karsten Hilbert 2005-05-08 09:18:17 Re: [HACKERS] Invalid unicode in COPY problem