Re: Are duplicated OIDs troublesome?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Santinoli <u235(at)libero(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Are duplicated OIDs troublesome?
Date: 2001-09-22 15:31:46
Message-ID: 14208.1001172706@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David Santinoli <u235(at)libero(dot)it> writes:
> going to dump/reload the databases WITH OIDS, and there's a high risk
> that some rows in the first database will have same OIDs as some rows
> from the second one. As long as the clashing rows belong to different
> databases, however, it seems there's no trouble with them. To which
> extent is this correct?

The system won't mind. There are duplicate OIDs in every database
already --- consider system tables like pg_class, which have the
same OID in every DB, even though they're different tables.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank Albert Ekern 2001-09-22 17:20:19 Reference users for postgresql
Previous Message Vince Vielhaber 2001-09-22 15:21:54 Re: creating "user" table