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

From Tom Lane
Subject Re: pgsql/ ontrib/spi/autoinc.c oc/src/sgml/dataty ...
Date
Msg-id 25922.997999355@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql/ ontrib/spi/autoinc.c oc/src/sgml/dataty ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pgsql/ ontrib/spi/autoinc.c oc/src/sgml/dataty ...
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 :-(

            regards, tom lane

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql/. Tag: REL7_1_STABLE README
Next
From: Tom Lane
Date:
Subject: pgsql/contrib/earthdistance earthdistance.sql.in