Re: implemented missing bitSetBit() and bitGetBit() - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: implemented missing bitSetBit() and bitGetBit()
Date
Msg-id 200402121605.i1CG5IU25221@candle.pha.pa.us
Whole thread Raw
In response to Re: implemented missing bitSetBit() and bitGetBit()  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> Neil Conway wrote:
> > David Helgason <david@uti.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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_dump and CHECK constraints
Next
From: Bruce Momjian
Date:
Subject: Re: Idea about better configuration options for sort memory