Re: OID unsigned long long

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: OID unsigned long long
Дата
Msg-id 20010813212624.A8383@lerami.lerctr.org
обсуждение исходный текст
Ответ на OID unsigned long long  (mlw <markw@mohawksoft.com>)
Список pgsql-hackers
* mlw <markw@mohawksoft.com> [010813 21:06]:
> I am thinking about embarking on changing the typedef of OID to unsigned long
> long.
> 
> My plan is to make it conditional at configure time, i.e.
> 
> #ifdef OID_ULONGLONG
> typedef unsigned long long Oid;
> #define OID_MAX  ULLONG_MAX
> #else
> typedef unsigned int Oid;
> #define OID_MAX  UINT_MAX
> #endif
> 
> Aside from adding %llu to all the %u everywhere an OID is used in a printf, and
> any other warnings, are there any other things I should be specially concerned
> about?
> 
The wire protocol.......

LER

> 
> -- 
> 5-4-3-2-1 Thunderbirds are GO!
> ------------------------
> http://www.mohawksoft.com
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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

Предыдущее
От: Dwayne Miller
Дата:
Сообщение: Bug List
Следующее
От: Tim Allen
Дата:
Сообщение: Re: Vague idea for allowing per-column locale