'Shutdown <= SmartShutdown' check while launching processes in postmaster.

From: shveta malik <shveta(dot)malik(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Subject: 'Shutdown <= SmartShutdown' check while launching processes in postmaster.
Date: 2024-02-21 03:27:46
Message-ID: CAJpy0uCeQm2aFJLkx-D0BeAEvSdViTZf4wD7zT9coDHfLv1NaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

I would like to know that why we have 'Shutdown <= SmartShutdown'
check before launching few processes (WalReceiver, WalSummarizer,
AutoVacuum worker) while rest of the processes (BGWriter, WalWriter,
Checkpointer, Archiver etc) do not have any such check. If I have to
launch a new process, what shall be the criteria to decide if I need
this check?

Looking forward to your expert advice.

thanks
Shveta

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ajin Cherian 2024-02-21 03:37:21 Re: Have pg_basebackup write "dbname" in "primary_conninfo"?
Previous Message Kyotaro Horiguchi 2024-02-21 03:04:24 Re: Have pg_basebackup write "dbname" in "primary_conninfo"?