operation logging

Lists: pgsql-novice
From: Marcin Gil <marcin(dot)gil(at)audax(dot)com(dot)pl>
To: pgsql-novice(at)postgresql(dot)org
Subject: operation logging
Date: 2003-09-12 12:57:58
Message-ID: 3F61C2D6.5040308@audax.com.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Does PostgreSQL manage an internal log of db operations?
For example, a user with uid logs into the database
and updates several rows.. Does engine log it?

Regards
--
Marcin Gil
marcin.gil @ audax.com.pl, tel. 694972082
OIS Audax Sp. z o.o., ul. Barlickiego 4, 97-200 Tomaszów Mazowiecki
tel/fax (44) 7247530, 7244401


From: Wim <wdh(at)belbone(dot)be>
To: Marcin Gil <marcin(dot)gil(at)audax(dot)com(dot)pl>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: operation logging
Date: 2003-09-12 13:10:32
Message-ID: 1063372232.5540.9.camel@tyr.car.belbone.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

Hi Marcin,

Maybe you can change the debug level and redirect postmaster to a
logfile...

On Fri, 2003-09-12 at 14:57, Marcin Gil wrote:
> Does PostgreSQL manage an internal log of db operations?
> For example, a user with uid logs into the database
> and updates several rows.. Does engine log it?
>
> Regards

Cheers!
Wim De Hul
------------------------------------------------------------------------------
IP SERVICES SPECIALIST
Belgacom Carrier and Wholesale Business Unit (CBU)
------------------------------------------------------------------------------
AS6774
Ripe : WDH25-RIPE
reply-to : NOC{at}belbone{dot}be
peering : peering{at}belbone{dot}be
NOC Tel : +32 2/547.51.00
www.belgacom.be/carrier
------------------------------------------------------------------------------
When a program dies, what you need is a moment of serenity.
------------------------------------------------------------------------------
3:09pm up 3 days, 2:55, 1 user, load average: 1.40, 1.22, 1.08


From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: PgSQL Novice ML <pgsql-novice(at)postgresql(dot)org>
Subject: Re: operation logging
Date: 2003-09-12 15:00:15
Message-ID: 1063378815.843.59.camel@haggis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

On Fri, 2003-09-12 at 07:57, Marcin Gil wrote:
> Does PostgreSQL manage an internal log of db operations?
> For example, a user with uid logs into the database
> and updates several rows.. Does engine log it?

Are you referring to table/field change audit logging, or the log-
ging of statements?

--
-----------------------------------------------------------------
Ron Johnson, Jr. ron(dot)l(dot)johnson(at)cox(dot)net
Jefferson, LA USA

"Eternal vigilance is the price of liberty: power is ever
stealing from the many to the few. The manna of popular liberty
must be gathered each day, or it is rotten... The hand entrusted
with power becomes, either from human depravity or esprit de
corps, the necessary enemy of the people. Only by continual
oversight can the democrat in office be prevented from hardening
into a despot: only by unintermitted agitation can a people be
kept sufficiently awake to principle not to let liberty be
smothered in material prosperity... Never look, for an age when
the people can be quiet and safe. At such times despotism, like
a shrouding mist, steals over the mirror of Freedom"
Wendell Phillips


From: marcin(dot)gil(at)mail(dot)vernet(dot)pl
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: operation logging
Date: 2003-09-13 09:52:26
Message-ID: 1025.62.141.243.110.1063446746.squirrel@mail.vernet.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

> On Fri, 2003-09-12 at 07:57, Marcin Gil wrote:
>
> Are you referring to table/field change audit logging, or the log-
> ging of statements?
>

The first thing. I'd like to log what operation a user issued (not select,
delete/update/insert only) and what rows changed..

Regards,
--
Marcin Gil


From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: PgSQL Novice ML <pgsql-novice(at)postgresql(dot)org>
Subject: Re: operation logging
Date: 2003-09-16 13:04:59
Message-ID: 1063717499.11739.1304.camel@haggis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

On Sat, 2003-09-13 at 04:52, marcin(dot)gil(at)mail(dot)vernet(dot)pl wrote:
> > On Fri, 2003-09-12 at 07:57, Marcin Gil wrote:
> >
> > Are you referring to table/field change audit logging, or the log-
> > ging of statements?
> >
>
> The first thing. I'd like to log what operation a user issued (not select,
> delete/update/insert only) and what rows changed..

I don't think that PG does that...

--
-----------------------------------------------------------------
Ron Johnson, Jr. ron(dot)l(dot)johnson(at)cox(dot)net
Jefferson, LA USA

"they love our milk and honey, but preach about another way of living"
Merle Haggard, "The Fighting Side Of Me"