Re: pgsql: Optionally don't error out due to preexisting slots in commandli - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Optionally don't error out due to preexisting slots in commandli
Date
Msg-id 20150812153825.GC25424@awork2.anarazel.de
Whole thread Raw
In response to Re: pgsql: Optionally don't error out due to preexisting slots in commandli  (Michael Paquier <michael.paquier@gmail.com>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Handle PQresultErrorField(PG_DIAG_SQLSTATE) returning NULL in st
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Close some holes in BRIN page assignment