Re: Timeout gets unset on a syntax error. - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Timeout gets unset on a syntax error.
Date
Msg-id CAKAnmmKmwKhPPrqpZMp65mr4vT_CwQQHQB4bvAzXdbuKq_DwzA@mail.gmail.com
Whole thread Raw
In response to Timeout gets unset on a syntax error.  ("ISHAN CHHANGANI ." <f20200230@hyderabad.bits-pilani.ac.in>)
List pgsql-general
On Wed, May 29, 2024 at 6:29 AM ISHAN CHHANGANI . <f20200230@hyderabad.bits-pilani.ac.in> wrote:

Is there some code within Postgres that resets/removes the signals in case a query hits any error?


See the comment and call to disable_all_timeouts() in postgres.c, part of the cleanup-after-exception efforts:



Cheers,
Greg

pgsql-general by date:

Previous
From: Alexander Staubo
Date:
Subject: Re: Use of inefficient index in the presence of dead tuples
Next
From: Adrian Klaver
Date:
Subject: Re: Pgpool with high availability