Re: log_statement and Parse/Bind

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: log_statement and Parse/Bind
Date: 2004-05-25 02:47:38
Message-ID: 40B2B3CA.1010600@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:

> Well, at execute time, we don't have easy access to the original prepare
> statement, especially at that stage in the code. Do you see anyway to
> improve that?

We have portal->sourceText which looks like it should contain the
original query.

(note that I'm talking about the V3 protocol Execute message, not the
SQL EXECUTE command)

-o

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-05-25 02:52:36 Re: New horology failure
Previous Message Tom Lane 2004-05-25 02:43:26 Re: New horology failure