Re: [ADMIN] Config option log_statement

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: S Murthy Kambhampaty <smk_va(at)yahoo(dot)com>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [ADMIN] Config option log_statement
Date: 2005-06-01 23:28:01
Message-ID: 200506012328.j51NS1n17362@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-patches


Fix applied. It will appear in 8.0.X. Patch attached.

---------------------------------------------------------------------------

S Murthy Kambhampaty wrote:
> In postgresql 8.0, "create table <> as ..." statements
> appear not to logged unless log_statement = 'all' in
> postgresql.conf. We are trying to reduce noise in the
> logs from pgAdminIII and phpPgAdmin, but we use a lot
> of 'create table <> as ...' queries that need to be
> logged, and their duration tracked. Is there a
> combination of settings that will do the trick? Can
> postgresql be upgraded to log "create table <> as ..."
> statements with log_statment = 'ddl' and/or
> log_statment = 'mod'?
>
> Thanks,
> Murthy
>
>
>
> __________________________________
> Yahoo! Mail Mobile
> Take Yahoo! Mail with you! Check email on your mobile phone.
> http://mobile.yahoo.com/learn/mail
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 1.3 KB

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Margabandhu De.Sambath 2005-06-02 08:30:23 unregister
Previous Message Tom Lane 2005-06-01 17:19:15 Re: dbmirror modifies pg_proc nextval/setval functions

Browse pgsql-patches by date

  From Date Subject
Next Message Alon Goldshuv 2005-06-01 23:34:37 COPY fast parse patch
Previous Message Andreas Pflug 2005-06-01 21:07:53 Server instrumentation: pg_terminate_backend, pg_reload_conf