pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedlogging modifying statements only
2+ messages / 2 participants
[nested] [flat]
* logging modifying statements only
@ 2003-05-20 10:22 Dmitry Morozovsky <marck@rinet.ru>
2003-05-22 21:35 ` Re: logging modifying statements only Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Morozovsky @ 2003-05-20 10:22 UTC (permalink / raw)
To: pgsql-admin
Hello there colleagues,
this question possibly had been asked in past, by I didn't find any definitive
answer.
Is there currently (7.3.2) a way to log only modifying statements (and, surely,
accompanying begin/commit/rollbacks) and skip select's?
Or, should I hack backend/tcop/postgres.c myself? ;-) [yes, I suppose I cound
apparently miss something]
Any ideas?
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: logging modifying statements only
2003-05-20 10:22 logging modifying statements only Dmitry Morozovsky <marck@rinet.ru>
@ 2003-05-22 21:35 ` Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2003-05-22 21:35 UTC (permalink / raw)
To: Dmitry Morozovsky <marck@rinet.ru>; +Cc: pgsql-admin
Dmitry Morozovsky wrote:
> Hello there colleagues,
>
> this question possibly had been asked in past, by I didn't find any definitive
> answer.
>
> Is there currently (7.3.2) a way to log only modifying statements (and, surely,
> accompanying begin/commit/rollbacks) and skip select's?
>
> Or, should I hack backend/tcop/postgres.c myself? ;-) [yes, I suppose I cound
> apparently miss something]
There is no 'log modify statements only' option --- you will have to
change postgres.c.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-05-22 21:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-20 10:22 logging modifying statements only Dmitry Morozovsky <marck@rinet.ru>
2003-05-22 21:35 ` Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox