pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@postgresql.org
To: Bruce Momjian <bruce@momjian.us>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Postgres JDBC <pgsql-jdbc@postgresql.org>
Cc: PostgreSQL-patches <pgsql-patches@postgresql.org>
Subject: Re: [PATCHES] log_statement output for protocol prepare/bind/execute
Date: Fri, 04 Aug 2006 18:37:14 -0400
Message-ID: <18875.1154731034@sss.pgh.pa.us> (raw)
In-Reply-To: <200608042224.k74MOgA29758@momjian.us>
References: <200608042224.k74MOgA29758@momjian.us>

Bruce Momjian <bruce@momjian.us> writes:
> I modified the code to store the user statement name in the portal for
> protocol execute, so I can print the user name at that time.

Please forget that and print the portal name.  I'm getting tired of
repeating it, but: there are two different names here and they are
both important.  The bind message should print both names.

> Here is
> the new output:

> 	LOG:  statement protocol prepare sel1:  SELECT 1;
> 	LOG:  statement protocol bind sel1:  SELECT 1;
> 	LOG:  statement protocol execute sel1:  SELECT 1;

If we could lose the noise words "statement protocol" we'd be getting
somewhere ...

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <18875.1154731034@sss.pgh.pa.us>
Permalink:  ../18875.1154731034@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18875.1154731034@sss.pgh.pa.us

 · 

reply

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-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org, bruce@momjian.us, pg@fastcrypt.com, oliver@opencloud.com, nagy@ecircle-ag.com, pgsql-patches@postgresql.org
  Subject: Re: [PATCHES] log_statement output for protocol prepare/bind/execute
  In-Reply-To: <18875.1154731034@sss.pgh.pa.us>
  References: <200608042224.k74MOgA29758@momjian.us> <18875.1154731034@sss.pgh.pa.us>

* 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