Re: [HACKERS] Re: [GENERAL] Update of bitmask type

Поиск
Список
Период
Сортировка
От Adriaan Joubert
Тема Re: [HACKERS] Re: [GENERAL] Update of bitmask type
Дата
Msg-id 383E32C9.7533ABF2@albourne.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [GENERAL] Update of bitmask type  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Re: [GENERAL] Update of bitmask type  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
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.

Hi,
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
to integrate.

Any comments welcome.

Adriaan

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Concurrent VACUUM: first results
Следующее
От: Mike Mascari
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions