Re: [HACKERS] Re: [GENERAL] Update of bitmask type - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: [HACKERS] Re: [GENERAL] Update of bitmask type
Date
Msg-id 37EA95FB.F6DF530A@tm.ee
Whole thread Raw
In response to Re: [HACKERS] Re: [GENERAL] Update of bitmask type  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
Adriaan Joubert wrote:
> 
> b) seems to imply, rather bizarrely in my opinion, that
> 
>         B'001100' < B'10'
>
Maybe you start counting from the wrong end ?

Just use them as you use char()

'AABBAA' < 'BA'

Does it say something in the standard about direction,
is it left-> right or right->left ?

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] pg_dump quoting bug
Next
From: Tom Lane
Date:
Subject: Re: [SQL] Re: [HACKERS] SELECT DISTINCT question