> mlw <[EMAIL PROTECTED]> writes:
> > cdinfo=# create view test as select * from zsong  ;
> > ERROR:  pg_atoi: error reading "2156109797": Numerical result out of
> > range
> 
> Is this 7.1?  I thought we'd fixed all the places that treated OID
> values as signed.

It is 7.0.3.  7.1 has doubled the size of oid.

As a test using the CVS copy, I ran:
        
        CREATE TEMPORARY TABLE pgdump_oid (dummy int4);
        COPY pgdump_oid WITH OIDS FROM stdin;
        3000000000      0
        \.
        DROP TABLE pgdump_oid;

and then to show it worked:
        
        test=> create table test (x int);
        CREATE
        test=> insert into test values (1);
        INSERT 3000000011 1

I then ran the regression tests, and they all passed.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to