Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-21 Thread Peter Eisentraut
Tom Lane writes: > > if (sizeof(unsigned long) > sizeof(Oid) && cvt > UINT_MAX) > > Hm. Each part of that will generate "expression is always false" > warnings from certain overprotective compilers. Any compiler that does this will certainly issue a boatload of these all over the tree.

Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-21 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > if (sizeof(unsigned long) > sizeof(Oid) && cvt > UINT_MAX) Hm. Each part of that will generate "expression is always false" warnings from certain overprotective compilers. A more serious problem is that using UINT_MAX assumes that Oid is un

Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-21 Thread Peter Eisentraut
Tom Lane writes: > Ryan Kirkpatrick <[EMAIL PROTECTED]> writes: > > INSERT INTO OID_TBL(f1) VALUES ('-1040'); > > ERROR: oidin: error reading "-1040": value too large > > That's coming from a possibly-misguided error check that I put into > oidin(): > > unsigned long cvt; > char

Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-20 Thread Ryan Kirkpatrick
On Wed, 20 Dec 2000, Tom Lane wrote: > Ryan Kirkpatrick <[EMAIL PROTECTED]> writes: > > INSERT INTO OID_TBL(f1) VALUES ('-1040'); > > ERROR: oidin: error reading "-1040": value too large > > That's coming from a possibly-misguided error check that I put into > oidin(): ... > On a 32-bit machine

Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status... (fwd)

2000-12-20 Thread Ryan Kirkpatrick
ListAdmin: Ignore the stalled/delayed posts from me earlier. Accidently posted with the wrong from address :( On Wed, 20 Dec 2000, Tom Lane wrote: > Ryan Kirkpatrick <[EMAIL PROTECTED]> writes: > > INSERT INTO OID_TBL(f1) VALUES ('-1040'); > > ERROR: oidin: error reading "-1040": va

Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-20 Thread Bruce Momjian
> Ryan Kirkpatrick <[EMAIL PROTECTED]> writes: > > INSERT INTO OID_TBL(f1) VALUES ('-1040'); > > ERROR: oidin: error reading "-1040": value too large > > That's coming from a possibly-misguided error check that I put into > oidin(): > > unsigned long cvt; > char *endptr; > >

Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-20 Thread Magnus Naeslund\(f\)
From: "Ryan Kirkpatrick" <[EMAIL PROTECTED]> > On Sat, 16 Dec 2000, Bruce Momjian wrote: > > > Here is the list of features in 7.1. > > One thing that I think ought to be added is that with 7.1, > PostgreSQL will compile out of the box (i.e. without any extra patches) > for Linux/Alpha. What pa

Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-20 Thread Tom Lane
Ryan Kirkpatrick <[EMAIL PROTECTED]> writes: > INSERT INTO OID_TBL(f1) VALUES ('-1040'); > ERROR: oidin: error reading "-1040": value too large That's coming from a possibly-misguided error check that I put into oidin(): unsigned long cvt; char *endptr; cvt = strt