Re: How is timeout implemented in postgresql?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: qihua wu <staywithpin(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How is timeout implemented in postgresql?
Date: 2023-01-31 01:50:00
Message-ID: CAKFQuwZuZBm+m_z0dy=_Xth9orbr5Shv4qdZkP8kKrh4QJjGnw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jan 30, 2023 at 6:36 PM qihua wu <staywithpin(at)gmail(dot)com> wrote:

> I tried to find out how timeout, such as statement_timeout, works in
> source code, But there are so many places it appears in the code, anybody
> could show me some clue about where is the entry point for timeout
> implementation?
>

https://github.com/postgres/postgres/blob/master/src/backend/utils/misc/timeout.c

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message qihua wu 2023-01-31 07:35:23 any wait event for a commit in sync replication?
Previous Message qihua wu 2023-01-31 01:35:48 How is timeout implemented in postgresql?