Bruce Momjian wrote:
> I can integrate the type for you into the include/catalog files if
> everyone agrees they want it as a standard type and not an contrib type.
Attached are the C-routines that implement a BIT and BIT VARYING type.
I know Bruce said he would integrate them, but he is writing a book at
the moment as well, so if somebody can explain to me how to go about
integrating it, or would like to have a go, go ahead.
If any functions are missing, let me know and I will add them. This
should implement concatenation and substr as defined in the SQL
standard, as well as comparison operators. I've also added all the
normal bit operators.
I developed the C routines outside the postgres source tree, only using
postgres.h and copying bits from ctype.h. I hope it will be fairly easy
Any comments welcome.
Description: application/octet-stream (7.7 KB)
In response to
pgsql-hackers by date
|Next:||From: Lincoln Yeoh||Date: 1999-11-26 09:04:09|
|Subject: Re: [GENERAL] locking/insert into table and transactions|
|Previous:||From: Vadim Mikheev||Date: 1999-11-26 06:58:31|
|Subject: Re: [HACKERS] Concurrent VACUUM: first results|
pgsql-general by date
|Next:||From: Silvio Macedo||Date: 1999-11-26 07:39:59|
|Subject: Postgres on Ultrasparc |
|Previous:||From: Tom Lane||Date: 1999-11-26 06:52:32|
|Subject: Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions |