Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a1FJF-0000fa-PK for pgsql-admin@arkaria.postgresql.org; Tue, 24 Nov 2015 15:15:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a1FJE-0005J6-6B for pgsql-admin@arkaria.postgresql.org; Tue, 24 Nov 2015 15:15:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a1FHY-0003Rk-3Z for pgsql-admin@postgresql.org; Tue, 24 Nov 2015 15:13:24 +0000 Received: from mr2.symcor.com ([205.189.242.12]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a1FHT-0007Wl-JG for pgsql-admin@postgresql.org; Tue, 24 Nov 2015 15:13:23 +0000 Received-SPF: None (mr2.symcor.com: no sender authenticity information available from domain of YBarot@symcor.com) identity=mailfrom; client-ip=172.25.152.11; receiver=mr2.symcor.com; envelope-from="YBarot@symcor.com"; x-sender="YBarot@symcor.com"; x-conformance=spf_only Received-SPF: None (mr2.symcor.com: no sender authenticity information available from domain of postmaster@MX001.symprod.com) identity=helo; client-ip=172.25.152.11; receiver=mr2.symcor.com; envelope-from="YBarot@symcor.com"; x-sender="postmaster@MX001.symprod.com"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="5.20,338,1444708800"; d="scan'208,217";a="43247285" Content-Type: multipart/mixed; boundary="===============3853979050108649155==" MIME-Version: 1.0 Received: from mx001.symprod.com ([172.25.152.11]) by mr2.symcor.com with ESMTP; 24 Nov 2015 10:13:02 -0500 Received: from MX002.symprod.com (172.25.152.12) by MX001.symprod.com (172.25.152.11) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Tue, 24 Nov 2015 10:13:01 -0500 Received: from MX002.symprod.com ([fe80::6cbc:31f6:fb5c:2f2f]) by MX002.symprod.com ([fe80::6cbc:31f6:fb5c:2f2f%15]) with mapi id 15.00.1044.021; Tue, 24 Nov 2015 10:13:02 -0500 From: Yogi Barot To: "'pgsql-admin@postgresql.org'" Subject: Postgresql 9.4 pg_upgrade issues Thread-Topic: Postgresql 9.4 pg_upgrade issues Thread-Index: AdEjAGV3yn9Ef7JGS1GGnVPF7rUGHQ== Date: Tue, 24 Nov 2015 15:13:01 +0000 Message-ID: <6fb1f76dc5aa4d0a9285aa25ac099476@MX002.symprod.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.249.248.20] MIME-Version: 1.0 X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org --===============3853979050108649155== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_6fb1f76dc5aa4d0a9285aa25ac099476MX002symprodcom_" --_000_6fb1f76dc5aa4d0a9285aa25ac099476MX002symprodcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am running postgresql upgrade from postgresql 9.0.11 to postgresql 9.4 u= sing pg_upgrade link method and having some issues with upgrade on Reh hat = 7.1. Here is the error message, that I am getting via pg_upgrade: /usr/pgsql-9.4/bin/pg_upgrade --old-bindir=3D/usr/local/pgsql/bin --new-bin= dir=3D/usr/pgsql-9.4/bin --old-datadir=3D/opt/symcor-foa/data --new-datadir= =3D/opt/symcor-foa/data94 -v --user=3Dpg_foa_c --link -p 5432 -P 5433 cat loadable_libraries.txt Could not load library "/opt/symcor-foa/pgsql//lib/pgplsh/pgplsh.so" ERROR: could not load library "/opt/symcor-foa/pgsql//lib/pgplsh/pgplsh.so= ": /opt/symcor-foa/pgsql//lib/pgplsh/pgplsh.so: undefined symbol: DirectFun= ctionCall1 In the original cluster, I have removed function and language which referen= ce this library, I also took postgres dump using pg_dumpall and it does not= show any reference to this library plsh. Still pg_upgarde somehow referenc= e this library. Any help greatly appricaited as I am stuck here, can not build library on n= ew Rhel 7 cluster, we don't need library, but not sure how to remove the re= ference of it completely. I dropped from all databases and even from templa= te1 database using droplib plsh; Thanks, Yogi --_000_6fb1f76dc5aa4d0a9285aa25ac099476MX002symprodcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am running postgresql upgrade from postgresql 9.0.= 11  to postgresql 9.4 using pg_upgrade link method and having some iss= ues with upgrade on Reh hat 7.1.

 

Here is the error message, that I am getting via pg_= upgrade:

 

/usr/pgsql-9.4/bin/pg_upgrade --old-bindir=3D/usr/lo= cal/pgsql/bin --new-bindir=3D/usr/pgsql-9.4/bin --old-datadir=3D/opt/symcor= -foa/data --new-datadir=3D/opt/symcor-foa/data94  -v --user=3Dpg_foa_c=   --link  -p 5432 -P 5433

 

cat  loadable_lib= raries.txt

Could not load library= "/opt/symcor-foa/pgsql//lib/pgplsh/pgplsh.so"<= /p>

ERROR:  could not= load library "/opt/symcor-foa/pgsql//lib/pgplsh/pgplsh.so": /opt= /symcor-foa/pgsql//lib/pgplsh/pgplsh.so: undefined symbol: DirectFunctionCa= ll1

 

In the original cluster, I have removed function and= language which reference this library, I also took postgres dump using pg_= dumpall and it does not show any reference to this library plsh. Still pg_u= pgarde somehow reference this library.  

 

Any help greatly appricaited as I am stuck here, can= not build library on new Rhel 7 cluster, we don’t need library, but = not sure how to remove the reference of it completely. I dropped from all d= atabases and even from template1 database using droplib plsh;

 

Thanks,

Yogi

 

--_000_6fb1f76dc5aa4d0a9285aa25ac099476MX002symprodcom_-- --===============3853979050108649155== Content-Type: multipart/alternative; boundary="===============7840893098216135877==" MIME-Version: 1.0 Content-Disposition: inline --===============7840893098216135877== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable CONFIDENTIALITY WARNING=20 This communication, including any attachments, is for the exclusive use of = addressee and may contain proprietary and/or confidential information. If y= ou are not the intended recipient, any use, copying, disclosure, disseminat= ion or distribution is strictly prohibited. If you are not the intended rec= ipient, please notify the sender immediately by return e-mail, delete this = communication and destroy all copies. AVERTISSEMENT RELATIF =C3=80 LA CONFIDENTIALIT=C3=89=20 Ce message, ainsi que les pi=C3=A8ces qui y sont jointes, est destin=C3=A9 = =C3=A0 l=E2=80=99usage exclusif de la personne =C3=A0 laquelle il s=E2=80= =99adresse et peut contenir de l=E2=80=99information personnelle ou confide= ntielle. Si le lecteur de ce message n=E2=80=99en est pas le destinataire, = nous l=E2=80=99avisons par la pr=C3=A9sente que toute diffusion, distributi= on, reproduction ou utilisation de son contenu est strictement interdite. V= euillez avertir sur-le-champ l=E2=80=99exp=C3=A9diteur par retour de courri= er =C3=A9lectronique et supprimez ce message ainsi que toutes les pi=C3=A8c= es jointes. --===============7840893098216135877== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of = addressee and may contain proprietary and/or confidential information. If y= ou are not the intended recipient, any use, copying, disclosure, disseminat= ion or distribution is strictly prohibited. If you are not the intended rec= ipient, please notify the sender immediately by return e-mail, delete this = communication and destroy all copies.

AVERTISSEMENT RELATIF =C3=80 LA CONFIDENTIALIT=C3=89
Ce message, ainsi que les pi=C3=A8ces qui y sont jointes, est destin=C3=A9 = =C3=A0 l=E2=80=99usage exclusif de la personne =C3=A0 laquelle il s=E2=80= =99adresse et peut contenir de l=E2=80=99information personnelle ou confide= ntielle. Si le lecteur de ce message n=E2=80=99en est pas le destinataire, = nous l=E2=80=99avisons par la pr=C3=A9sente que toute diffusion, distributi= on, reproduction ou utilisation de son contenu est strictement interdite. V= euillez avertir sur-le-champ l=E2=80=99exp=C3=A9diteur par retour de courri= er =C3=A9lectronique et supprimez ce message ainsi que toutes les pi=C3=A8c= es jointes.

= --===============7840893098216135877==-- --===============3853979050108649155== Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin --===============3853979050108649155==--