Re: TODO item: list prepared queries - Mailing list pgsql-patches

From Tom Lane
Subject Re: TODO item: list prepared queries
Date
Msg-id 12576.1134534143@sss.pgh.pa.us
Whole thread Raw
In response to Re: TODO item: list prepared queries  (Neil Conway <neilc@samurai.com>)
Responses Re: TODO item: list prepared queries  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> One minor irritation is that the query string of prepared statements
> created via SQL has "PREPARE ... AS" prefixed to it, whereas statements
> prepared via the FE-BE protocol do not. This should probably be fixed,

That's debatable.  Earlier today, I was busy being annoyed all over
again with the way that Bruce set up Parse/Bind/Execute logging to
deliberately obscure the difference between a SQL PREPARE command and a
protocol-level Parse operation.  I think it's a good thing to be able to
tell which level a prepared statement came from.  Yeah, much of the time
you may not care, but when you do care it's important.

            regards, tom lane

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: TODO item: list prepared queries
Next
From: Tom Lane
Date:
Subject: Re: TODO item: list prepared queries