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" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Question about pg_upgrade from 9.2 to X.X
Date: 2019-03-05 16:21:45
Message-ID: 20190305162145.GV29584@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, Mar 05, 2019 at 08:09:12AM -0800, Perumal Raj wrote:
> Thanks Sergei/Justin for the continues update.
>
> So reorg Schema might be created as part of some scripts prior to 9.2
> Version ?

I'm guessing they were probably created in 9.2.

> These are the functions in DB not the Extension. However these functions
> will not run as the associated libraries are not exists in System now (9.2)
> and I hope no impact to system.

I guess someone installed pgreorg, ran its scripts to install its functions
into the DB, and then removed pgreorg without removing its scripts.

> One Question need your address,
>
> Prior to 9.2 to 9.6 upgrade , I have tried 9.2 10.7 upgrade and failed
> similar error(you can refer beginning o the post ).
>
> > could not load library "$libdir/hstore": ERROR: could not access file "$libdir/hstore": No such file or directory
> > could not load library "$libdir/adminpack": ERROR: could not access file "$libdir/adminpack": No such file or directory
> > could not load library "$libdir/uuid-ossp": ERROR: could not access file "$libdir/uuid-ossp": No such file or directory
>
> These Extension seems to be standard. What is the use of these function and
> do we have any alternative in Higher version or Enhanced object if i drop
> it in 9.2 and continue upgrade to 10.7 Version.

See Sergei's response:
https://www.postgresql.org/message-id/7164691551378448%40myt3-1179f584969c.qloud-c.yandex.net

You probably want to install this package for the new version (9.6 or 10 or
11).

[pryzbyj(at)TS-DB ~]$ rpm -ql postgresql11-contrib |grep -E '(uuid-ossp|adminpack|hstore)\.control'
/usr/pgsql-11/share/extension/adminpack.control
/usr/pgsql-11/share/extension/hstore.control
/usr/pgsql-11/share/extension/uuid-ossp.control

Justin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-03-05 16:46:18 Re: [External] LIMIT not showing all results
Previous Message Casey Deccio 2019-03-05 16:20:52 Re: [External] LIMIT not showing all results

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2019-03-05 16:23:23 Re: Rare SSL failures on eelpout
Previous Message Robert Haas 2019-03-05 16:13:28 Re: [HACKERS] CLUSTER command progress monitor