On Wed, May 29, 2024 at 6:29 AM ISHAN CHHANGANI . <
f20200230(at)hyderabad(dot)bits-pilani(dot)ac(dot)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:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/tcop/postgres.c#l4356
Cheers,
Greg