Thread: question on Postgres smart shutdown mode

question on Postgres smart shutdown mode

From
Bo Tian
Date:
<div class="WordSection1"><p class="MsoNormal" style="background:white"><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">HiAll,</span><p class="MsoNormal"
style="background:white"><spanstyle="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"> </span><p
class="MsoNormal"style="background:white"><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Ihave a question on PG smart shutdown
mode.</span><pclass="MsoNormal" style="background:white"><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Whenshutdown Postgres by issuing <i>Smart
Shutdown</i>mode (SIGTERM) request, is there a way for client to be notified of this shutdown event? I tried PG_NOTIFY,
butI cannot get any notification events when this happens. BTW, I am relative new to Postgres. </span><p
class="MsoNormal"style="background:white"><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"> </span><pclass="MsoNormal"
style="background:white"><spanstyle="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Thanks,</span><p
class="MsoNormal"style="background:white"><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Bo</span><pclass="MsoNormal"> </div>