Re: Extracting SQL from logs in a usable format - Mailing list pgsql-general

From Chris Ernst
Subject Re: Extracting SQL from logs in a usable format
Date
Msg-id 4B2F8527.1030402@esoft.com
Whole thread Raw
In response to Re: Extracting SQL from logs in a usable format  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: Extracting SQL from logs in a usable format  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-general
Dimitri Fontaine wrote:
> Le 19 déc. 2009 à 16:20, Chris Ernst a écrit :
>
>> Hmm.. That does look very interesting.  The only thing that concerns me
>> is where it says it supports "Basic Queries (Extended queries not yet
>> supported)".  I'm not sure what is meant by "Extended queries".  Any idea?
>
> I think it refers to the Extended Query support in the frontend / backend protocol, as in the documentation:
>   http://www.postgresql.org/docs/8.4/static/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY
>
>   The extended query protocol breaks down the above-described simple query protocol into multiple steps. The results
ofpreparatory steps can be re-used multiple times for improved efficiency. Furthermore, additional features are
available,such as the possibility of supplying data values as separate parameters instead of having to insert them
directlyinto a query string 
>
> So that's for parse/bind/execute communications, which are used in prepare/execute and queryParam I think.

Ouch!  You're right.  And that's would be a deal killer for me.  About
90% of the traffic is prepared queries that are run over and over with
different parameters.

    - Chris

pgsql-general by date:

Previous
From: Durumdara
Date:
Subject: Re: Charset Win1250 on Windows and Ubuntu
Next
From: Merlin Moncure
Date:
Subject: Re: Selecting from table into an array var