Re: log_statement and Parse/Bind - Mailing list pgsql-hackers

From Oliver Jowett
Subject Re: log_statement and Parse/Bind
Date
Msg-id 40B2B3CA.1010600@opencloud.com
Whole thread Raw
In response to Re: log_statement and Parse/Bind  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: New horology failure
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Ingres to be released as open source