pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Teodor Sigaev <teodor@sigaev.ru>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #14155: bloom index error with unlogged table
Date: Wed, 25 May 2016 10:02:13 -0400
Message-ID: <24270.1464184933@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMkU=1wQ6SmGL50rVzif4+4aJvrM5r8LPRYPuEg2OLy-0yw2og@mail.gmail.com>
References: <20160524144146.22598.42558@wrigleys.postgresql.org>
	<22311.1464134907@sss.pgh.pa.us>
	<CAKFQuwag=_W+nRzx=k6ZTsKO_tZcqNWQdEF5Px0XpW6tFe3Mwg@mail.gmail.com>
	<CAMkU=1wQ6SmGL50rVzif4+4aJvrM5r8LPRYPuEg2OLy-0yw2og@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Jeff Janes <jeff.janes@gmail.com> 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



view thread (22+ messages)  latest in thread

Message-ID: <24270.1464184933@sss.pgh.pa.us>
Permalink:  ../24270.1464184933@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24270.1464184933@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff.janes@gmail.com, teodor@sigaev.ru, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #14155: bloom index error with unlogged table
  In-Reply-To: <24270.1464184933@sss.pgh.pa.us>
  References: <20160524144146.22598.42558@wrigleys.postgresql.org> <22311.1464134907@sss.pgh.pa.us> <CAKFQuwag=_W+nRzx=k6ZTsKO_tZcqNWQdEF5Px0XpW6tFe3Mwg@mail.gmail.com> <CAMkU=1wQ6SmGL50rVzif4+4aJvrM5r8LPRYPuEg2OLy-0yw2og@mail.gmail.com> <24270.1464184933@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox