Re: [HACKERS] OID unsigned long long

2001-08-20 Thread David Ford
Tom Lane wrote: >[...] > >BTW, I think #ifdef would be a totally unworkable way to attack the >format-string problem. The code clutter of #ifdef'ing everyplace that >presently uses %u would be a nightmare; the impact on >internationalization files would be worse. And don't forget that %llu >wou

Re: [HACKERS] OID unsigned long long

2001-08-14 Thread Peter Eisentraut
mlw writes: > I am thinking about embarking on changing the typedef of OID to unsigned long > long. > 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? You can start with my p

Re: [HACKERS] OID unsigned long long

2001-08-13 Thread Tom Lane
mlw <[EMAIL PROTECTED]> writes: > 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? FE/BE protocol, a/k/a client/server interoperability. Flagging a database so that a backend

Re: [HACKERS] OID unsigned long long

2001-08-13 Thread Larry Rosenman
* mlw <[EMAIL PROTECTED]> [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 > typed

[HACKERS] OID unsigned long long

2001-08-13 Thread mlw
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 f