pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedLogging for psql only
3+ messages / 3 participants
[nested] [flat]
* Logging for psql only
@ 2003-02-20 14:03 Al Sutton <al@secpay.com>
2003-02-21 08:55 ` Re: Logging for psql only Oleg Samoylov <olleg@telecom.mipt.ru>
0 siblings, 1 reply; 3+ messages in thread
From: Al Sutton @ 2003-02-20 14:03 UTC (permalink / raw)
To: pgsql-admin
Hi,
Does anyone have a solution to the following situation;
I have an application which uses postgresql as its database, I also have technicians who need to made occasional data changes using psql, is there any way to log the changes made by the technicians without logging the SQL statements from the application?
Al.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Logging for psql only
2003-02-20 14:03 Logging for psql only Al Sutton <al@secpay.com>
@ 2003-02-21 08:55 ` Oleg Samoylov <olleg@telecom.mipt.ru>
2003-03-06 03:10 ` Re: Logging for psql only Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Oleg Samoylov @ 2003-02-21 08:55 UTC (permalink / raw)
To: pgsql-admin
Al Sutton wrote:
> Does anyone have a solution to the following situation;
>
> I have an application which uses postgresql as its database, I also have te=
> chnicians who need to made occasional data changes using psql, is there any=
> way to log the changes made by the technicians without logging the SQL sta=
> tements from the application?
>
> Al.
At http://gborg.postgresql.org you can find one or two data change
logging function working per user.
--
Olleg Samoylov
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Logging for psql only
2003-02-20 14:03 Logging for psql only Al Sutton <al@secpay.com>
2003-02-21 08:55 ` Re: Logging for psql only Oleg Samoylov <olleg@telecom.mipt.ru>
@ 2003-03-06 03:10 ` Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2003-03-06 03:10 UTC (permalink / raw)
To: Oleg Samoylov <olleg@jane.telecom.mipt.ru>; +Cc: pgsql-admin
If you want to log everything via psql, you can use "SET log_statement
TO on" inside .psqlrc and that will show all psql commands in the server
logs, or you can use per-user settings using ALTER USER, all in 7.3.
---------------------------------------------------------------------------
Oleg Samoylov wrote:
> Al Sutton wrote:
> > Does anyone have a solution to the following situation;
> >
> > I have an application which uses postgresql as its database, I also have te=
> > chnicians who need to made occasional data changes using psql, is there any=
> > way to log the changes made by the technicians without logging the SQL sta=
> > tements from the application?
> >
> > Al.
>
> At http://gborg.postgresql.org you can find one or two data change
> logging function working per user.
>
> --
> Olleg Samoylov
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
--
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] 3+ messages in thread
end of thread, other threads:[~2003-03-06 03:10 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 14:03 Logging for psql only Al Sutton <al@secpay.com>
2003-02-21 08:55 ` Oleg Samoylov <olleg@telecom.mipt.ru>
2003-03-06 03:10 ` 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