Re: pgsql: Prevent invalidation of newly synced replication slots.
| От | Andrey Borodin |
|---|---|
| Тема | Re: pgsql: Prevent invalidation of newly synced replication slots. |
| Дата | |
| Msg-id | 1DF1F535-4027-4F33-98B5-7577D11053C9@yandex-team.ru обсуждение исходный текст |
| Ответ на | Re: pgsql: Prevent invalidation of newly synced replication slots. (Amit Kapila <amit.kapila16@gmail.com>) |
| Список | pgsql-hackers |
> On 28 Jan 2026, at 10:47, Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> Do let me know if you could think of gathering any other information
> which can be of help here.
Interestingly, increasing timeout in pgrename() to 500 seconds fixes "Windows - Server 2022, VS 2019 - Meson & ninja ",
butdoes not fix "Windows - Server 2022, VS 2019 - Meson & ninja".
diff --git a/src/port/dirmod.c b/src/port/dirmod.c
index 467b50d6f09..da38e37aa45 100644
--- a/src/port/dirmod.c
+++ b/src/port/dirmod.c
@@ -88,7 +88,7 @@ pgrename(const char *from, const char *to)
return -1;
#endif
- if (++loops > 100) /* time out after 10 sec */
+ if (++loops > 5000) /* time out after 10 sec */
return -1;
pg_usleep(100000); /* us */
}
Best regards, Andrey Borodin.
В списке pgsql-hackers по дате отправления: