Re: pg_migrator progress - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_migrator progress
Date
Msg-id 200903281918.n2SJIUm14013@momjian.us
Whole thread Raw
In response to Re: pg_migrator progress  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> But having said that, there isn't any real harm in fixing the OID
> >> counter to match what it was.  You need to run pg_resetxlog to set the
> >> WAL position and XID counter anyway, and it can set the OID counter too.
> 
> > FYI, I decided against restoring the oid counter because it might
> > collide with an oid assigned during pg_migrator schema creation.
> 
> That argument seems pretty empty --- why is it more likely than a
> collision happening if you *don't* restore the oid counter?  And why

We don't transfer any system-level oids so there is no chance of a
collision against system tables.

> would it matter anyway?  We fixed the problems with oid collisions
> some time ago.

Oh, we handled that;  OK, old code restored.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PQinitSSL broken in some use casesf
Next
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: Temporarily (I hope) disable flattening of IN/EXISTS sublinks