From: Volkan YAZICI <yazicivo@ttnet.net.tr>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: mario.splivalo@mobart.hr
Cc: pgsql-admin@postgresql.org
Subject: Re: SELECT statements in log files
Date: Sat, 4 Mar 2006 09:41:00 +0200
Message-ID: <20060304074100.GA229@alamut> (raw)
In-Reply-To: <1141410014.27729.521.camel@localhost.localdomain>
References: <1141384781.8893.8.camel@localhost.localdomain>
<1141410014.27729.521.camel@localhost.localdomain>
On Mar 03 06:20, Simon Riggs wrote:
> On Fri, 2006-03-03 at 12:19 +0100, Mario Splivalo wrote:
> > When I connect to postgres from PHP or Python or using just psql, I can
> > see full SELECT querries logged, with the actuall values for the
> > parameters.
>
> Those interfaces do not use prepared statements, so are not logged in
> the same way.
IIRC, (in the Python side) both psycopg and pygresql modules don't
support parameter usage yet. But with 5.1.0RC1 release of PHP, there're
new functions available with parameter utilization.
Regards.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: yazicivo@ttnet.net.tr, simon@2ndquadrant.com, mario.splivalo@mobart.hr
Subject: Re: SELECT statements in log files
In-Reply-To: <20060304074100.GA229@alamut>
References: <1141384781.8893.8.camel@localhost.localdomain> <1141410014.27729.521.camel@localhost.localdomain> <20060304074100.GA229@alamut>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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