Re: [PORTS] Port Bug Report: Problem concerns copy command with big oids - Mailing list pgsql-ports

From Bruce Momjian
Subject Re: [PORTS] Port Bug Report: Problem concerns copy command with big oids
Date
Msg-id 199907070222.WAA00577@candle.pha.pa.us
Whole thread Raw
In response to Port Bug Report: Problem concerns copy command with big oids  (Unprivileged user <nobody>)
List pgsql-ports
This has been added to the TODO list.




> Problem Description:
> --------------------
> Using the SQL-command "COPY ... FROM" leads to the death of
> the backend when the oid-counter steps over the 2 billion
> frontier. As far as we could test, the other commands worked
> fine.
>
> --------------------------------------------------------------------------
>
> Test Case:
> ----------
> In our installation all 3 hours app. 4000000 datasets are
> cleared and reinstalled using the copy command. After the
> oids got bigger than 2147483647 the backend died during the
> copy command. After a fresh installation of Postgres (oids
> now starting again at 0) everything worked fine again.
>
> Not a fix, but maybe a hint:
> It seems to me that the internal representation of the oids
> is not consistent (long int - unsigned long int). I
> realized that the oid of ONE dataset sometimes was printed
> as a negative number and in other cases as a positive
> number (when big enough).
>
> --------------------------------------------------------------------------
>
> Solution:
> ---------
>
>
> --------------------------------------------------------------------------
>
>
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-ports by date:

Previous
From: wyatt
Date:
Subject: Successfull Installation
Next
From: Bruce Momjian
Date:
Subject: Re: [PORTS] built 6.4.2 on SCO OpenServer 5.0.5