Re: Removing oids with pg_repack

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Removing oids with pg_repack
Date: 2023-11-22 14:53:52
Message-ID: CANzqJaDvSjB=bfxk4EV=zH8LSQUgyc+GK9S==KwT6Rc+BDN5eA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 21, 2023 at 1:43 PM CG <cgg007(at)yahoo(dot)com> wrote:

> I have a very large PostgreSQL 9.5 database that still has very large
> tables with oids. I'm trying to get rid of the oids with as little downtime
> as possible so I can prep the database for upgrade past PostgreSQL 11. I
> had a wild idea to mod pg_repack to write a new table without oids. I think
> it almost works.
>

Too bad that pg_dump doesn't have an --exclude-oids option.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2023-11-22 14:59:07 Re: Removing oids with pg_repack
Previous Message Tom Lane 2023-11-22 14:40:40 Re: Connection fails on one system in a address range allowed to connect