Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boBlr-0002LF-HS for pgsql-committers@arkaria.postgresql.org; Sun, 25 Sep 2016 15:55:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1boBlr-0006KC-0n for pgsql-committers@arkaria.postgresql.org; Sun, 25 Sep 2016 15:55:15 +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_2) (envelope-from ) id 1boBld-00062B-Sx for pgsql-committers@postgresql.org; Sun, 25 Sep 2016 15:55:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1boBlW-00013a-Vm for pgsql-committers@postgresql.org; Sun, 25 Sep 2016 15:55:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8PFsloD018365; Sun, 25 Sep 2016 11:54:49 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-committers@postgresql.org Subject: Re: pgsql: pg_ctl: Detect current standby state from pg_control In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Wed, 21 Sep 2016 16:24:21 -0000" Date: Sun, 25 Sep 2016 11:54:47 -0400 Message-ID: <18364.1474818887@sss.pgh.pa.us> X-Pg-Spam-Score: -5.0 (-----) 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 Peter Eisentraut writes: > pg_ctl: Detect current standby state from pg_control Coverity thinks that this patch introduced a bunch of null-pointer-dereference hazards, and AFAICS it is right. The change in get_controlfile()'s API is completely broken and needs to be undone. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers