Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avGI1-0005OH-OI for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2016 03:37:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1avGI1-0007BQ-Ak for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2016 03:37:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1avGGf-0005DU-Eg for pgsql-hackers@postgresql.org; Wed, 27 Apr 2016 03:36:01 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1avGGd-0005yT-3A for pgsql-hackers@postgresql.org; Wed, 27 Apr 2016 03:36:00 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6E684205F2 for ; Tue, 26 Apr 2016 23:35:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 26 Apr 2016 23:35:58 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=OgKWX5vwcFSkGDY+RlSIiYg1P3g=; b=PibH/ 28h6EPslfjfpj5tc3XTXjQtwzCiU0hAK1HU6agHjGkqluONOXA0+T+yb6dpN1YoM TJFpRtH2STnoQ8w26vrVd5etyZz79as6aeTU/JvEcrbo+3+TiW6UbyAIKIGxQIho jS//XCZMgoBTLV1pcQmt2cqNpArbIAt8s+g4fo= X-Sasl-enc: FS8z0b8vwD9lhqYOsljOo2LQvh5kIurssuSSFy80XKr8 1461728158 Received: from intern.anarazel.de (unknown [192.77.237.104]) by mail.messagingengine.com (Postfix) with ESMTPA id F38A2C00013; Tue, 26 Apr 2016 23:35:57 -0400 (EDT) Date: Tue, 26 Apr 2016 20:35:57 -0700 From: Andres Freund To: Fabien COELHO Cc: Thom Brown , Abhijit Menon-Sen , Robert Haas , Michael Paquier , Haribabu Kommi , PostgreSQL-development Subject: Re: [BUGS] Breakage with VACUUM ANALYSE + partitions Message-ID: <20160427033557.vbu4gylfltqmrhsj@alap3.anarazel.de> References: <20160326123942.qnuwqg3yg2y7ae4p@alap3.anarazel.de> <20160411165054.r35o4fjicdg4avs7@alap3.anarazel.de> <20160411171742.n5xebjt7tcdy4sxf@alap3.anarazel.de> <20160414053929.GA29751@toroid.org> <20160422170736.bjrsusb4ubdhdtl4@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Hi, On 2016-04-25 20:53:26 +0200, Fabien COELHO wrote: > I have just a small naming point: > > /* ereport if segment not present, create in recovery */ > EXTENSION_FAIL, > /* return NULL if not present, create in recovery */ > EXTENSION_RETURN_NULL, > /* return NULL if not present */ > EXTENSION_REALLY_RETURN_NULL, > /* create new segments as needed */ > EXTENSION_CREATE > > The comments seem pretty clear, but the naming of these options are more > behavioral than functional somehow (or the reverse?), especially the > RETURN_NULL and REALLY_RETURN_NULL names seemed pretty contrived to me. I tend to agree. But "fixing" that would mean changing quite some additional pieces of code, more than I want to do in a bugfix. I also think it's not *that* confusing... Thanks for looking. Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers