On 8/22/26 11:12 PM, cca5507 wrote:
> Fix
> ===
>
> Make sure that the walreceiver creates temp slot only once.
>
> Thoughts?
I think there is nothing wrong with the code of this patch.
Furthermore, if a log output is added before walrcv_create_slot(). This
might make the log more clear.
ereport(LOG, errmsg("creating replication slot \"%s\"", slotname));
The log will output:
2026-08-25 08:44:23.199 CST [27043] LOG: creating replication slot
"pg_walreceiver_####"
>