Em ter., 12 de nov. de 2024 às 07:54, Torsten Förtsch
<tfoertsch123@gmail.com> escreveu:
> Hi Dickson,
>
> [ ... ]
>
> If the slot existed before, the existing slot will be used, no error is generated. In that case the slot will keep
existingwhen the connection is dropped.
>
> The following situation can happen:
> - the slot does not exist and is created as a temporary slot
> - the connection drops and pg_recvlogical tries to reconnect after a few seconds
> - in that period a permanent slot by the same name is created but no reader is connected to it
> - pg_recvlogical reconnects and finds the existing slot
>
> In this case, the now existing slot is simply used. It will remain when the connection is dropped.
>
> Thanks for reviewing.
Thank you for your clarification.
Are you planning to add changes in docs? Would be important to have
this clarification in there also, IMHO.
Regards.
--
Dickson S. Guedes