[pgpool-general: 8432] Re: Extended query

Avi Raboah avi.raboah at gmail.com
Sat Oct 1 21:20:25 JST 2022


Thank you for the clarification.

On Sat, 1 Oct 2022 at 15:07 Tatsuo Ishii <ishii at sraoss.co.jp> wrote:

> > Hi,
> >
> > I found that each kind message (parse,bind,describe,execute)
> > Check for is_select_query in order to set is_row_returned.
> >
> > I am trying to understand if this function is necessary in each kind
> > message?
>
> No. is_rows_returned can be inspected while receiving data rows after
> execute. However, is_select_query() is not so expensive and I doubt
> "optimizing" it (for example make it only be called in execute) gives
> any visible speedups
>
> Best reagards,
> --
> Tatsuo Ishii
> SRA OSS LLC
> English: http://www.sraoss.co.jp/index_en/
> Japanese:http://www.sraoss.co.jp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20221001/9f04241f/attachment.htm>


More information about the pgpool-general mailing list