Re: BUG #16035: STATEMENT_TIMEOUT not working when we have single quote usage inside CTE which is used in inner sql

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: rmohite@xento.com, pgsql-bugs@lists.postgresql.org, andres@anarazel.de
Date: 2019-10-21T05:03:54Z
Lists: pgsql-bugs
Tatsuo Ishii <ishii@sraoss.co.jp> writes:
> If there's no objection, I would like to commit/push the diff.

I'd like to look at the patch, but I just got back from pgconf.eu
and haven't had time yet.

			regards, tom lane



Commits

  1. Improve management of statement timeouts.

  2. Reset statement_timeout between queries of a multi-query string.

  3. Rearm statement_timeout after each executed query.