[pgpool-general: 8431] Re: Extended query

Tatsuo Ishii ishii at sraoss.co.jp
Sat Oct 1 21:07:54 JST 2022


> 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


More information about the pgpool-general mailing list