Re: pgsql: Optionally don't error out due to preexisting slots in commandli

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Optionally don't error out due to preexisting slots in commandli
Дата
Msg-id 20150812153825.GC25424@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Optionally don't error out due to preexisting slots in commandli  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-committers
On 2015-08-12 15:09:21 +0900, Michael Paquier wrote:
> Andres, Coverity is pointing out that this commit missed the shot when
> sqlstate is NULL in CreateReplicationSlot and this would crash.
> Something like the patch attached look adapted to me, vacuumdb.c doing
> the necessary checks similarly.

Thanks, fixed!


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Handle PQresultErrorField(PG_DIAG_SQLSTATE) returning NULL in st
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Close some holes in BRIN page assignment