From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bit strings - anyone working on them? |
Date: | 2003-04-22 15:51:56 |
Message-ID: | 5.1.0.14.0.20030423014918.03f096b8@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At 11:31 AM 22/04/2003 -0400, Tom Lane wrote:
>If anything I'd expect to see
>padding added on the right.
Yep. Put it down to a typo/late night. Padding to right is the norm with
varbit.
> > Doesn't seem too unreasonable to support varbit<->numeric conversions.
At least in 7.3.2 we can't cast int to varbit. Worse still (and maybe I am
missing something):
# select cast(8 as bit(10));
bit
------------
0000000000
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-04-22 16:08:04 | Re: bit strings - anyone working on them? |
Previous Message | Tom Lane | 2003-04-22 15:31:43 | Re: bit strings - anyone working on them? |