Re: bit strings - anyone working on them?

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: bit strings - anyone working on them?
Date: 2003-04-23 21:04:51
Message-ID: 1051131891.1965.39.camel@fuji.krosing.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner kirjutas K, 23.04.2003 kell 19:38:
> At 12:02 PM 23/04/2003 -0400, Tom Lane wrote:
> >and instead
> >add a separate function that maps an integer to an LSB-first bitstring?
>
> This would work, but it's not going to be very friendly without automatic
> cast support. Does the spec mention LSB and/or numeric conversions? Also, I
> just noticed that B'0' is not equal to B'00', which also seems unfortunate.

The same is true for real strings: '0' != '00' .

-----------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sander Steffann 2003-04-23 21:17:05 Re: First draft of new FE/BE protocol spec posted for comments
Previous Message Dennis Björklund 2003-04-23 20:20:43 Re: query optimization scenarios 17,701 times faster!!!