Re: Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)
Дата
Msg-id CA+TgmoZiu5HUd1GmM3qtrxVNA2mb-9ZbVmoRxS=usRe+gFmOow@mail.gmail.com
обсуждение исходный текст
Ответ на Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Ответы Re: Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Список pgsql-hackers
On Fri, Sep 1, 2023 at 11:47 AM Ranier Vilela <ranier.vf@gmail.com> wrote:
> If a null locale is reached in these paths.
> elog will dereference a null pointer.

True. That's sloppy coding.

I don't know enough about this code to be sure whether the error
messages that you propose are for the best.

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



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [17] CREATE SUBSCRIPTION ... SERVER
Следующее
От: Robert Haas
Дата:
Сообщение: Re: lockup in parallel hash join on dikkop (freebsd 14.0-current)