Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> One thing you did was to log debug_query_string, but I don't see how
> that could be the right value. I assume it would be empty in a
> client-side execute, or be the previous query. I instead used "EXECUTE
> portal_name" because that is what we are passed from the client.
You could use portal->sourceText whenever that isn't null; it should be
the querystring that the portal was created by.
regards, tom lane
In response to
pgsql-patches by date
|Next:||From: S Murthy Kambhampaty||Date: 2005-05-14 23:00:45|
|Subject: Config option log_statement|
|Previous:||From: Andrew Dunstan||Date: 2005-05-14 21:14:14|
|Subject: Re: [HACKERS] plperl and pltcl installcheck targets|