Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5ZO9-0004xT-Ar for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 14:02:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b5ZO8-00086t-To for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 14:02:20 +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 1b5ZO8-00085Y-5B for pgsql-hackers@postgresql.org; Wed, 25 May 2016 14:02:20 +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 1b5ZO3-0000hx-To for pgsql-hackers@postgresql.org; Wed, 25 May 2016 14:02:19 +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 u4PE2DDh024271; Wed, 25 May 2016 10:02:13 -0400 From: Tom Lane To: Jeff Janes cc: Teodor Sigaev , pgsql-hackers Subject: Re: [BUGS] BUG #14155: bloom index error with unlogged table In-reply-to: References: <20160524144146.22598.42558@wrigleys.postgresql.org> <22311.1464134907@sss.pgh.pa.us> Comments: In-reply-to Jeff Janes message dated "Wed, 25 May 2016 05:45:19 -0700" Date: Wed, 25 May 2016 10:02:13 -0400 Message-ID: <24270.1464184933@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Jeff Janes writes: > Given what a Bloom filter is/does, I'm having a hard time seeing how it > makes much sense to support the boolean type. > My biggest gripe with it at the moment is that the signature size should be > expressed in bits, and then internally rounded up to a multiple of 16, > rather than having it be expressed in 'uint16'. > If that were done it would be easier to fix the documentation to be more > understandable. +1 ... that sort of definition seems much more future-proof, too. IMO it's not too late to change this. (We probably don't want to change the on-disk representation of the reloptions, but we could convert from bits to words in bloptions().) regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers