diff --git a/collector.c b/collector.c index cd2762d..3be184c 100644 --- a/collector.c +++ b/collector.c @@ -16,7 +16,9 @@ #include "funcapi.h" #include "miscadmin.h" #include "postmaster/bgworker.h" +#if PG_VERSION_NUM >= 130000 #include "postmaster/interrupt.h" +#endif #include "storage/ipc.h" #include "storage/procarray.h" #include "storage/procsignal.h" @@ -311,6 +313,19 @@ millisecs_diff(TimestampTz tz1, TimestampTz tz2) } +#if PG_VERSION_NUM < 130000 +static void +SignalHandlerForConfigReload(SIGNAL_ARGS) +{ + int save_errno = errno; + + ConfigReloadPending = true; + SetLatch(MyLatch); + + errno = save_errno; +} +#endif + /* * Main routine of wait history collector. */ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy