Re: prepared statements don't log arguments? - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: prepared statements don't log arguments?
Date
Msg-id 20050407022225.GA5764@penne.toroid.org
Whole thread Raw
In response to Re: prepared statements don't log arguments?  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
At 2005-04-07 12:14:19 +1000, neilc@samurai.com wrote:
>
> % tail /usr/local/pgsql/postmaster.log
> LOG:  statement: prepare foo(int, int) as select $1 + $2;
> LOG:  statement: execute foo(5, 10);
> LOG:  statement: execute foo(15, 20);

If you send a v3 protocol execute message instead of an SQL EXECUTE
statement, the parameters don't get logged.

-- ams


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Shared row locking, revisited
Next
From: Alvaro Herrera
Date:
Subject: Re: prepared statements don't log arguments?