Re: pgsql/ ontrib/spi/autoinc.c oc/src/sgml/dataty ... - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql/ ontrib/spi/autoinc.c oc/src/sgml/dataty ...
Date
Msg-id 200108162252.f7GMqfF27849@candle.pha.pa.us
Whole thread Raw
In response to Re: pgsql/ ontrib/spi/autoinc.c oc/src/sgml/dataty ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > We have to get some oid filename mapping into pg_upgrade too for it to
> > work.
>
> Good point.  In theory you could hack the pg_class.relfilenode column
> to match the older database, but we have no code to do it.
>
> BTW, I'm also suspicious about whether pg_class.oid !=
> pg_class.relfilenode actually works.  I think there may be some places
> where we are using one but should be using the other.  I have a TODO
> item to grovel through the code and make sure this is all okay, but it's
> not going to get to the top of the queue until there's a pressing reason
> to do it.
>
> Oh well, another cycle with no pg_upgrade :-(

I tried to talk a company that is new to PostgreSQL support into doing
it.  :-)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@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-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/contrib/earthdistance earthdistance.sql.in
Next
From: Bruce Momjian - CVS
Date:
Subject: pgsql/src backend/commands/user.c backend/libp ...