From: | The Hermit Hacker <scrappy(at)hub(dot)org> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Re: [GENERAL] Update of bitmask type |
Date: | 1999-09-22 05:46:46 |
Message-ID: | Pine.BSF.4.10.9909220246160.38923-100000@thelab.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Tue, 21 Sep 1999, Bruce Momjian wrote:
> Can I get comments on this? Is a bit type something we want installed
> by default, or in contrib? Seems to me it should be in the main tree.
first...what is a bitmask type? :)
> > Hi,
> >
> > here is a new version of the bitmask type. It supports hash-indices as
> > well now, and fixes a bug in the definition of the <> operator.
> >
> > I would appreciate it if somebody more knowledgable than myself would
> > look over the index definitions. They seem to work and are used by
> > postgres, so I guess they can't be all wrong. The hashing function is
> > the same as that for char's and comes straight out of the postgres
> > source code.
> >
> > BTW, chapter 36 of the documentation could do with some additions, but I
> > don't feel knowledgable enough to attempt it. E.g. it shows how to put
> > an entry for the hashing into pg_amop, but never explains how to define
> > the entry in pg_amproc and doesn't tell you that you need to define a
> > separate hashing function. It took me a while of looking through the
> > other definitions and digging through the source code to come up with a
> > best guess.
> >
> > Perhaps this could go into the contrib area if it passes muster, as it
> > is an example of a user-defined type with indices.
> >
> > Cheers,
> >
> > Adriaan
>
> [application/x-gzip is not supported, skipping...]
>
>
> --
> Bruce Momjian | http://www.op.net/~candle
> maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>
> ************
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org
From | Date | Subject | |
---|---|---|---|
Next Message | omid omoomi | 1999-09-22 06:01:10 | Re: [GENERAL] when are indexes used? |
Previous Message | Bruce Momjian | 1999-09-22 02:19:17 | Re: [GENERAL] Mirror non-friendly site??? |
From | Date | Subject | |
---|---|---|---|
Next Message | Adriaan Joubert | 1999-09-22 06:20:50 | Re: [HACKERS] Re: [GENERAL] Update of bitmask type |
Previous Message | Tatsuo Ishii | 1999-09-22 04:49:09 | Re: [HACKERS] postmaster disappears |