Re: [PATCH] Slight improvement of worker_spi.c example

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Aleksander Alekseev <aleksander(at)timescale(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Slight improvement of worker_spi.c example
Date: 2023-06-03 11:15:47
Message-ID: 20230603111547.khnaf7rzo4ydy3ys@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jun 03, 2023 at 02:09:26PM +0300, Aleksander Alekseev wrote:
>
> Additionally I noticed that the check:
>
> ```
> if (!process_shared_preload_libraries_in_progress)
> return;
> ```
>
> ... was misplaced in _PG_init(). Here is the patch v2 which fixes this too.

I'm pretty sure that this is intentional. The worker can be launched
dynamically and in that case it still needs a GUC for the naptime.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2023-06-03 11:38:26 Re: [PATCH] Slight improvement of worker_spi.c example
Previous Message Aleksander Alekseev 2023-06-03 11:09:26 Re: [PATCH] Slight improvement of worker_spi.c example