From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | mlw <markw(at)mohawksoft(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: OID Wrap |
Date: | 2001-06-11 20:42:14 |
Message-ID: | 200106112042.f5BKgGR06027@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> mlw <markw(at)mohawksoft(dot)com> 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
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Mercer | 2001-06-11 20:44:12 | Re: inet/cidr type comparisons |
Previous Message | Vincent Roberts | 2001-06-11 20:24:22 | Calling lo_open within user defined C function |