Re: pg_restore error message

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_restore error message
Дата
Msg-id 20200508234516.GA13259@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pg_restore error message  (Ranier Vilela <ranier.vf@gmail.com>)
Ответы Re: pg_restore error message  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2020-May-07, Ranier Vilela wrote:

> Can suggest improvements?
> 
> 1. free (398 line) must be pg_free(buf)';

Yeah, there's a lot of frontend code that uses free() instead of
pg_free().  There are too many of these that worrying about a single one
would not improve things much.  I guess we could convert them all, but I
don't see much point.

> 2. %m, is a format to parameter, right?
>     But what parameter? Both fatal call, do not pass this parameter, or is
> it implied?

%m is an implied "strerror(errno)", implemented by our snprintf
replacement.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_restore error message
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: pendingOps table is not cleared with fsync=off