Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string

Поиск
Список
Период
Сортировка
От Robins Tharakan
Тема Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string
Дата
Msg-id CAEP4nAxvLVzvkt+ABBfd_yDhBJjhJnKqDXZorLf=VG-Yp23TmA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-bugs

On Thu, 6 Mar 2025 at 17:13, Masahiko Sawada <sawada.mshk@gmail.com> wrote:
On Tue, Mar 4, 2025 at 10:44 PM Bertrand Drouvot
<bertranddrouvot.pg@gmail.com> wrote:
>
> After sleeping on it, PFA a simplified version.

Running tests on v5 patch for a few hours was uneventful (which is good).

 
I think we don't need to even do palloc() for the buffer as we can use
the char[MAXPGPATH] instead. I've attached the patch to improve the
parse_snapshot_filename() function and add some regression tests.
Please review these changes.


I've updated that with this patch too. Will update if something comes up.

-
robins

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