Skip site navigation (1) Skip section navigation (2)

Unsigned ints

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To: Postgresql <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Unsigned ints
Date: 2001-03-26 19:30:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

	I know I'm a bit early to submit stuff for 7.2, but attached is a patch
(agains 7.1RC1) to add uint2 and uint4 as new types. I haven't put in
all the possible combinations of signed and unsigned ints as arguments
to operators -- I was going insane just doing it for all combinations of
uint2 and uint4. If anything is missing, please let me know and I'd
appreciate it if somebody could do some sanity checking on the patch, as
this is the first time I've actually inserted a new type into the

Also, some other databases (Compaq Himalaya) use


for these types. Dunno whether a type consisting of 2 words is going to
break the parser completely. If there are any problems with the patch,
please let me know as well -- not sure I've built it in the correct way.



Attachment: patch.gz
Description: application/x-gzip (7.6 KB)


pgsql-hackers by date

Next:From: Thomas LockhartDate: 2001-03-26 20:36:19
Subject: Re: Re: Call for platforms
Previous:From: Peter EisentrautDate: 2001-03-26 19:03:19
Subject: Re: Re: Call for platforms

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group