Re: Question about pg_upgrade from 9.2 to X.X

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Perumal Raj <perucinci(at)gmail(dot)com>
Cc: Sergei Kornilov <sk(at)zsrv(dot)org>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Question about pg_upgrade from 9.2 to X.X
Date: 2019-03-03 14:51:05
Message-ID: 20190303145104.GA27559@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Moving to -general list (-hackers is for development topics like proposed
patches and patch reviews and beta testing and crash reports).

On Thu, Feb 28, 2019 at 10:13:58AM -0800, Perumal Raj wrote:
> could not load library "$libdir/pg_reorg":
> ERROR: could not access file "$libdir/pg_reorg": No such file or directory

As Sergei said, you can run pg_dump -s and look for references to reorg, and
drop them.

Or, you could try this:
CREATE EXTENSION pg_reorg FROM unpackaged;

Or maybe this:
CREATE EXTENSION pg_repack FROM unpackaged;

If that works, you can DROP EXTENSION pg_repack;

Otherwise, I think you can maybe do something like:
DROP SCHEMA pg_repack CASCADE; -- or,
DROP SCHEMA pg_reorg CASCADE;

Please send output of: \dn

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message George Neuner 2019-03-03 16:44:44 Re: Future Non-server Windows support???
Previous Message Laurenz Albe 2019-03-03 07:30:48 Re: Future Non-server Windows support???

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-03-03 15:42:29 Re: NOT IN subquery optimization
Previous Message Heikki Linnakangas 2019-03-03 13:41:29 Re: Making all nbtree entries unique by having heap TIDs participate in comparisons