Re: GetRelationPath() vs critical sections

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: GetRelationPath() vs critical sections
Дата
Msg-id CA+hUKGLAznzOPc34+qYAumJz+P66sc58XkM+68NO=xstoVwQ6A@mail.gmail.com
обсуждение исходный текст
Ответ на GetRelationPath() vs critical sections  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Thu, Sep 5, 2024 at 3:58 AM Andres Freund <andres@anarazel.de> wrote:
> Obviously we could add a version of GetRelationPath() that just prints into a
> caller provided buffer - but that's somewhat awkward API wise.

For the record, that's exactly what I did in the patch I proposed to
fix our long standing RelationTruncate() data-eating bug:


https://www.postgresql.org/message-id/flat/CA%2BhUKG%2B5nfWcpnZ%3DZ%3DUpGvY1tTF%3D4QU_0U_07EFaKmH7Nr%2BNLQ%40mail.gmail.com#aa061db119ee7a4b5390af56e24f475d



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