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

Поиск
Список
Период
Сортировка
От Bertrand Drouvot
Тема Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string
Дата
Msg-id Z8fywBInu4Q4k13q@ip-10-97-1-34.eu-west-3.compute.internal
обсуждение исходный текст
Ответ на Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Ответы Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string
Список pgsql-bugs
Hi,

On Tue, Mar 04, 2025 at 09:45:54PM +0000, Bertrand Drouvot wrote:
> Indeed, thanks for looking at it! Fixed in v4 attached. Note that the pfree()
> in parse_snapshot_filename() is not needed per say because the function is 
> currently executed in a short-lived memory context. It's there for safety reason
> in case it's called outside those SQL apis in the future.

After sleeping on it, PFA a simplified version.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Вложения

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