Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPY6u-0001oF-QV for pgsql-committers@arkaria.postgresql.org; Wed, 12 Aug 2015 15:38:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZPY6u-0002AE-Bk for pgsql-committers@arkaria.postgresql.org; Wed, 12 Aug 2015 15:38:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZPY6t-00029A-Ro for pgsql-committers@postgresql.org; Wed, 12 Aug 2015 15:38:35 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZPY6n-0007KB-Cr for pgsql-committers@postgresql.org; Wed, 12 Aug 2015 15:38:35 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 08F80860002; Wed, 12 Aug 2015 17:38:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC5662.dip0.t-ipconnect.de [93.220.86.98]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 274A8860001; Wed, 12 Aug 2015 17:38:26 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id B471F10046B; Wed, 12 Aug 2015 17:38:25 +0200 (CEST) Date: Wed, 12 Aug 2015 17:38:25 +0200 From: Andres Freund To: Michael Paquier Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Optionally don't error out due to preexisting slots in commandli Message-ID: <20150812153825.GC25424@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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! -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers