Re: Removing oids with pg_repack - Mailing list pgsql-general

From Tom Lane
Subject Re: Removing oids with pg_repack
Date
Msg-id 1674346.1700665147@sss.pgh.pa.us
Whole thread Raw
In response to Re: Removing oids with pg_repack  (CG <cgg007@yahoo.com>)
List pgsql-general
CG <cgg007@yahoo.com> writes:
> I have the fallback position for the Percona ETL strategy. But I feel like I'm REALLY close with pg_repack and I just
don'tunderstand enough about the system internals to nudge it to correctness and need some expert assistance to tap it
inthe hole. 

The only "system metadata" that would need changing is
pg_class.relhasoids.  However, it's certainly necessary to rewrite
all the physical table rows (and hence all the table's indexes).

I don't know a lot about pg_repack, but I'm a bit skeptical that
it can really make that transparent.  I'm even more skeptical that
it could almost support it except this obvious use-case never
occurred to the developers.  I suspect that either the support
already exists but you missed it, or else there's some fundamental
stumbling block.  Maybe go discuss this with the pg_repack
developers?  (Maybe they read pgsql-general, but I wouldn't count
on it.)

            regards, tom lane



pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Removing oids with pg_repack
Next
From: Hans Schou
Date:
Subject: Feature request: pg_get_tabledef(text)