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

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 (view raw or flat)
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

pgsql-novice by date

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

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