Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akIqO-0006fB-Li for pgsql-committers@arkaria.postgresql.org; Sun, 27 Mar 2016 22:07:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1akIqO-0000Hr-3j for pgsql-committers@arkaria.postgresql.org; Sun, 27 Mar 2016 22:07:36 +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 1akIqM-0000Hh-FF for pgsql-committers@postgresql.org; Sun, 27 Mar 2016 22:07:34 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1akIqJ-0004Ni-F5 for pgsql-committers@postgresql.org; Sun, 27 Mar 2016 22:07:33 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1akIqJ-0000pu-6l for pgsql-committers@postgresql.org; Sun, 27 Mar 2016 22:07:31 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.84_2) (envelope-from ) id 1akIqI-0006MJ-UG for pgsql-committers@postgresql.org; Sun, 27 Mar 2016 22:07:30 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Tom Lane Subject: pgsql: Clamp adjusted ndistinct to positive integer in estimate_hash_bu Message-Id: Date: Sun, 27 Mar 2016 22:07:30 +0000 X-Pg-Spam-Score: -7.9 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers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