Re: implemented missing bitSetBit() and bitGetBit()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Neil Conway <neilc(at)samurai(dot)com>, David Helgason <david(at)uti(dot)is>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: implemented missing bitSetBit() and bitGetBit()
Date: 2004-02-04 19:51:33
Message-ID: 200402042051.33509.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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).

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Brusser 2004-02-04 19:54:26 Question on database backup
Previous Message Dann Corbit 2004-02-04 19:36:33 Re: implemented missing bitSetBit() and bitGetBit()