Re: pg_migrator progress

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_migrator progress
Date: 2009-03-28 19:18:30
Message-ID: 200903281918.n2SJIUm14013@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-03-28 19:28:33 Re: [COMMITTERS] pgsql: Temporarily (I hope) disable flattening of IN/EXISTS sublinks
Previous Message Bruce Momjian 2009-03-28 19:17:10 Re: PQinitSSL broken in some use casesf