Search Postgresql Archives

Re: Timeout gets unset on a syntax error.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 29, 2024 at 6:29 AM ISHAN CHHANGANI . <f20200230@xxxxxxxxxxxxxxxxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux