Re: Allowing pg_recvlogical to create temporary replication slots
От | Dickson S. Guedes |
---|---|
Тема | Re: Allowing pg_recvlogical to create temporary replication slots |
Дата | |
Msg-id | CALwLAkRss6q0CcWx29o4pdqNB0BpVbf8kit+xFUXWeUD2709XQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Allowing pg_recvlogical to create temporary replication slots (Torsten Förtsch <tfoertsch123@gmail.com>) |
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: