pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedLogging: statements and users
2+ messages / 2 participants
[nested] [flat]
* Logging: statements and users
@ 2003-11-13 07:10 ow <oneway_111@yahoo.com>
2003-11-14 14:34 ` Re: Logging: statements and users Andrew Sullivan <andrew@libertyrms.info>
0 siblings, 1 reply; 2+ messages in thread
From: ow @ 2003-11-13 07:10 UTC (permalink / raw)
To: pgsql-admin
Hi,
It appears that pgSql can be configured to log the executed statements.
However, the log does not appear to contain any info about who's running the
statement. Any way to change this?
Thanks
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Logging: statements and users
2003-11-13 07:10 Logging: statements and users ow <oneway_111@yahoo.com>
@ 2003-11-14 14:34 ` Andrew Sullivan <andrew@libertyrms.info>
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Sullivan @ 2003-11-14 14:34 UTC (permalink / raw)
To: pgsql-admin
On Wed, Nov 12, 2003 at 11:10:09PM -0800, ow wrote:
> Hi,
>
> It appears that pgSql can be configured to log the executed statements.
> However, the log does not appear to contain any info about who's running the
> statement. Any way to change this?
You can log the pid and log connections, and then trace back to see
who connected with that pid. There was some discussion about
improving this for 7.4, but I don't know if any of that was done.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Afilias Canada Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-11-14 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 07:10 Logging: statements and users ow <oneway_111@yahoo.com>
2003-11-14 14:34 ` Andrew Sullivan <andrew@libertyrms.info>
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