Re: (7.1) BIT datatype - Mailing list pgsql-hackers

From Oliver Elphick
Subject Re: (7.1) BIT datatype
Date
Msg-id 200012212229.eBLMTjP17261@linda.lfix.co.uk
Whole thread Raw
In response to Re: (7.1) BIT datatype  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote: >Oliver Elphick writes: > >> Some SQL92 functionality is missing from the BIT and VARBIT types.
>>>> It should be possible to enter hexadecimal values as:
 
... >This was omitted because in SQL99 the X'1001' notation also serves as a >binary large object value under certain
circumstances. Unfortunately, >it's not exactly known what those circumstances are.
 

It seems a pity that we don't support the SQL92 version at least.
How much more convenient it is to enter X'FE1D' than B'1111111000011101'
(did I get that right?)

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "For a child will be born to us, a son will be given to     us; And the
governmentwill rest on His shoulders; And     His name will be called Wonderful Counsellor, Mighty      God, Eternal
Father,Prince of Peace."                                        Isaiah 9:6 
 




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: (7.1) BIT datatype
Next
From: Tom Lane
Date:
Subject: Re: TOAST-table vacuuming (was Re: Idea for reducing pl anning time)