Re: How to log whole query statement to relation?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David Flegl" <ml_flegl(at)centrum(dot)cz>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to log whole query statement to relation?
Date: 2007-04-24 16:53:48
Message-ID: 5119.1177433628@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"David Flegl" <ml_flegl(at)centrum(dot)cz> writes:
> Or anyone has other possible solution how to solve this problem? Generaly: on specified tables I need to know (inside PostgreSQL, not seeing log files in system) which command user run. This is because of I need to made of very simplified asynchronnous multimaster replication (better say synchronization).

I can pretty much guarantee that whatever you're building won't work.
There's no such thing as simple multimaster replication.

You'd be much better off to look into adopting one of the existing
solutions that someone else has already written and debugged.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David Flegl 2007-04-24 17:39:47 Re: How to log whole query statement to relation?
Previous Message Greg Lindstrom 2007-04-24 14:29:15 File I/O