Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBiwq-0000cw-UW for pgsql-admin@postgresql.org; Wed, 12 Sep 2012 09:09:28 +0000 Received: from plane.gmane.org ([80.91.229.3]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBiwn-0000Io-Fj for pgsql-admin@postgresql.org; Wed, 12 Sep 2012 09:09:28 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TBiwm-0001F3-9W for pgsql-admin@postgresql.org; Wed, 12 Sep 2012 11:09:24 +0200 Received: from ppp-188-174-117-170.dynamic.mnet-online.de ([188.174.117.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Sep 2012 11:09:24 +0200 Received: from spam_eater by ppp-188-174-117-170.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Sep 2012 11:09:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: Thomas Kellerer Subject: Missing loadable libraries when running pg_upgrade 9.1 -> 9.2 Date: Wed, 12 Sep 2012 11:09:23 +0200 Lines: 35 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-188-174-117-170.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201209/52 X-Sequence-Number: 39993 using Windows XP SP3 (32bit). When running pg_upgrade with the --check option I get the following error: Your installation references loadable libraries that are missing from the new installation. You can add these libraries to the new installation, or remove the functions using them from the old installation. A list of problem libraries is in the file: loadable_libraries.txt The content of loadable_libraries.txt is: Could not load library "$libdir/targetinfo" ERROR: could not access file "$libdir/targetinfo": No such file or directory Could not load library "$libdir/plugins/plugin_debugger" ERROR: could not access file "$libdir/plugins/plugin_debugger": No such file or directory And indeed there is no targetinfo.dll and no plugin_debugger.dll for 9.2 (there isn't even a plugins directory in lib) The relevant entries in the postgresql.conf for 9.1 are this: #shared_preload_libraries = '' # (change requires restart) #dynamic_library_path = '$libdir' #local_preload_libraries = '' So I'm a bit stumped on why pg_upgrade thinks that I'm using those libraries. Is there a way to find out which function (or extension?) is using those libraries in order to remove that dependency? The alternative would be to install those libraries, but the StackBuilder doesn't list them, and I didn't find anything in pgAdmin that would allow me to install them. They weren't installed with the installer and they are not part of the Windows ZIP distribution either. Any ideas? Thanks in advance Thomas