byte

Поиск
Список
Период
Сортировка
От Remigiusz Sokolowski
Тема byte
Дата
Msg-id Pine.GS4.4.02A.9901141445300.23102-100000@netra.gdansk.sprint.pl
обсуждение исходный текст
Ответ на Re: [SQL] rule plan string too big.  (jwieck@debis.com (Jan Wieck))
Список pgsql-sql
Hi!
I'm wonder if there is available such a type like byte
I mean integers, which are < 256
I don't find such a type in docs, so I think, I should rather create it by
myself.
Unfortunately I'm new with this stuff, so I need help -
I found construction of needed sql statement, but explanations in docs are
for me too short ;-)
so -
    create type byte(
            INTERNALLENGTH=1,
            INPUT = my_proc_1,
            OUTPUT= my_proc_2
            );
I understand that INTERNALLENGTH is given in bytes, isn't it?
And second question - are there some functions, which I can use as
my_proc_* or must I write them by myself?
If so - how such functions look like?
    TIA
    Rem

-------------------------------------------------------------------*------------
Remigiusz Sokolowski      e-mail: rems@gdansk.sprint.pl           * *
-----------------------------------------------------------------*****----------


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

Предыдущее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [SQL] rule plan string too big.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] Indexes on OIDs ?