Re: implemented missing bitSetBit() and bitGetBit()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Neil Conway <neilc(at)samurai(dot)com>, David Helgason <david(at)uti(dot)is>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: implemented missing bitSetBit() and bitGetBit()
Date: 2004-02-12 16:05:18
Message-ID: 200402121605.i1CG5IU25221@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Neil Conway wrote:
> > David Helgason <david(at)uti(dot)is> writes:
> > > I needed these, so I went and implemented them myself.
> >
> > I didn't see any followup to this: do we want to include this in the
> > main tree, contrib/, or not at all?
>
> getbit sounds a lot like what substring() does. So perhaps setbit could
> actually be handled by replace()? That would be a more general
> solution (since it would handle more than one bit at a time).

Added to TODO:

* Allow substring/replace() to get/set bit values

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2004-02-12 16:18:53 Re: Idea about better configuration options for sort memory
Previous Message Stephan Szabo 2004-02-12 16:04:53 Re: 7.4 - FK constraint performance