Skip site navigation (1) Skip section navigation (2)

conditional logging based on client

From: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: conditional logging based on client
Date: 2008-07-22 12:17:42
Message-ID: a97c77030807220517u2324a0cckb8400a359123426a@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
Hi,

We want to log all SQLs that has been executed by using psql client.
we do not want to use .psql_history as it is distributed and may be
deleted by users .

The original objective is that we should be able to know what all hand made
SQLs have  been executed in past  (which can date back as long as 1 year even)

regds
Mallah.

Responses

pgsql-admin by date

Next:From: Achilleas MantziosDate: 2008-07-22 12:24:44
Subject: Re: conditional logging based on client
Previous:From: Alvaro HerreraDate: 2008-07-21 16:38:52
Subject: Re: auto vacuum for opentaps

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group