RE: [INTERFACES] Updated IDL with considerations for COSS

Поиск
Список
Период
Сортировка
От Michael Robinson
Тема RE: [INTERFACES] Updated IDL with considerations for COSS
Дата
Msg-id 199811161601.AAA15830@public.bta.net.cn
обсуждение исходный текст
Список pgsql-interfaces
"Taral" <taral@cyberjunkie.com> writes:

>module PostgreSQL { // Note we already separate our namespace
>  module Types {
>    typedef short int2;
>    typedef short int4;
>    // etc.
>  }

Works for me.

>> I would recommend that fixed-length PostgreSQL types be defined as little-
>> endian arrays of long or octet type, whichever is appropriate.  E.g.:
>>
>>      typedef long pgtype_int8[2];
>>      typedef long pgtype_int28[4];
>>      typedef octet pgtype_macaddr[6];
>>      typedef octet pgtype_filename[256];

I think I meant big-endian (that *is* "network order", isn't it?  I always
forget).  Anyway, you get the point.

>P.S. Would it be possible to make a pgsql/src/corba module and let me check
>this IDL file into it? That way I don't have to keep reposting it.

Well, until it's fairly stable, keep reposting it.  That way people don't
have to keep checking for changes in the tree.

    -Michael Robinson


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [INTERFACES] Re: MICO
Следующее
От: "Taral"
Дата:
Сообщение: IDL update