Re: pgsql: Remove the restriction that the relmap must be 512 bytes.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgsql: Remove the restriction that the relmap must be 512 bytes.
Дата
Msg-id CA+TgmoYkRKGLTO6wDxYjOzfpXKQgwzz685iemvHUAgGr9iUhbg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Remove the restriction that the relmap must be 512 bytes.  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-committers
On Wed, Jul 27, 2022 at 6:25 AM Michael Paquier <michael@paquier.xyz> wrote:
> Right.  The whole write_relmap_file() already happens while taking
> RelationMappingLock, so that seems like a good idea for consistency at
> the end (even if I remember that there is a patch floating around to
> improve the concurrency of pgrename, which may become an easier move
> now that we require Windows 10).
>
> I have tested three runs and that was working here even if the
> issue is sporadic, so more runs may be better to have more
> confidence.

OK, I committed Thomas's patch, after taking the liberty of adding an
explanatory comment.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix read_relmap_file() concurrency on Windows.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Add missing PGDLLEXPORT markings in contrib/pg_prewarm.