| 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: | Whole Thread | Raw Message | 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
--------------------------
| 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 |