Re: Log the sql query ?

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: TNO <tnodev(at)free(dot)fr>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Log the sql query ?
Date: 2005-11-25 14:32:59
Message-ID: c2d9e70e0511250632q123d6e61l2c9e08399340ed26@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 11/25/05, TNO <tnodev(at)free(dot)fr> wrote:
> Hello,
>
> Is there a simple way to log only the query and not the resultset ?
>
> thanks
>
>

Yes. In the postgresql.conf edit the section "What to log?" it's very clear

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Kellerer 2005-11-25 16:34:31 getTables() not working for information_schema or pg_catalog
Previous Message Dave Cramer 2005-11-25 13:16:04 Re: Can PostgreSQL do data type automated casting in