Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YDdxn-0008Ks-22 for pgsql-admin@arkaria.postgresql.org; Tue, 20 Jan 2015 18:55:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YDdxm-0000x9-H7 for pgsql-admin@arkaria.postgresql.org; Tue, 20 Jan 2015 18:55:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YDdxl-0000uY-35 for pgsql-admin@postgresql.org; Tue, 20 Jan 2015 18:55:41 +0000 Received: from nm30-vm6.bullet.mail.ir2.yahoo.com ([212.82.97.84]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YDdxh-0007fX-B5 for pgsql-admin@postgresql.org; Tue, 20 Jan 2015 18:55:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1421780127; bh=sUP30r5HuDmtkxiGGiC0DPVqV8HuJNMC8phbjnqfolU=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=jlIBSzPfKW9Kek0w7shQ6a5NT6qhaT4QQEc9o6GLGqtoJgxjMqTk1n3/pp9bJbwD6xVQjj5rV9KNo9hITtRMypvLhyHd8N14FnJL40ppw5eIj+H1/lq5GMETFMXxL9FMjoZP4/KflWRz/Krw7AMUH6JabhliOT/h07wnZtNwKkcjgKQWMu6EPDWy58sKtBuyPdkc2EuZ8Yl72BAJnyOAQdxkekCEJVQAAgxIQ/RsbRVoKu78b+3fVQa9zJkchfUAq3U8HfArWUWmX0jwfXSDLOG74GnBQQwoxoof3SmNjnd4pyP+ii04Gjimi5eeKg6j6LSd/G/lzU3qO/Bn7pOpMw== Received: from [212.82.98.125] by nm30.bullet.mail.ir2.yahoo.com with NNFMP; 20 Jan 2015 18:55:27 -0000 Received: from [212.82.98.107] by tm18.bullet.mail.ir2.yahoo.com with NNFMP; 20 Jan 2015 18:55:24 -0000 Received: from [127.0.0.1] by omp1044.mail.ir2.yahoo.com with NNFMP; 20 Jan 2015 18:55:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 870462.26281.bm@omp1044.mail.ir2.yahoo.com X-YMail-OSG: dYgRNeMVM1lbWN4igAHDLZ5Zfl5_BOqm4iaA.hOyessEt9JGzTU3VAETRmJTQTp 2MpQC_bN0tiQgVy7iJ4dtMx44dEiqnweMFIqLzrFNhSfT1sJ23A3XqNN79F3QMZX5wEo4fIIlkCw Byp1A8XyJz6qXNn.b0BsJD1_ZJg1zhtwbZTHFVjn.zCz1Qjy58ZNIMpg2W_NxhEDmKFiNYasLFvc vIRYbdytFULSpIREZ4m1sirZI8DLGeet6POdRjbmIZMyn522nl1d42BLwL.FgKteP.mp0lz3fQaV NKZ_gwjy9SzAbB1JqVgsJJUeb8Rlzu0aJF0wW2klXWu1iyKI.FwXiqA5T_vKkC33IM8_EFh8ICOP 4iR3qEYxy2AF3KPDq6X3EOUVxSKu5BJASO5tHJ5k5rebj4fIBcK5V_ZM_ntUuqC_tLY7m0qRxY0A zYDXrfLaY4U7TTNCCqpPr71T9aCKzy6__pw0GS7yluquLJVZ2auFDbl6_PBdRiTUPQzKTo0Nme2G aR.1aDMo- Received: by 217.12.9.13; Tue, 20 Jan 2015 18:55:24 +0000 Date: Tue, 20 Jan 2015 18:55:23 +0000 (UTC) From: Glyn Astill Reply-To: Glyn Astill To: Glyn Astill , John Scalia , "pgsql-admin@postgresql.org" Message-ID: <700714443.4469265.1421780123878.JavaMail.yahoo@jws11131.mail.ir2.yahoo.com> In-Reply-To: <798882007.4385422.1421779369077.JavaMail.yahoo@jws11176.mail.ir2.yahoo.com> References: <798882007.4385422.1421779369077.JavaMail.yahoo@jws11176.mail.ir2.yahoo.com> Subject: Re: cannot drop an extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 2117 X-Pg-Spam-Score: -2.0 (--) 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 ----- Original Message ----- > From: Glyn Astill > To: John Scalia ; "pgsql-admin@postgresql.org" > Cc: > Sent: Tuesday, 20 January 2015, 18:42 > Subject: Re: [ADMIN] cannot drop an extension > > > > > > ----- Original Message ----- >> From: John Scalia >> To: "pgsql-admin@postgresql.org" > >> Cc: >> Sent: Tuesday, 20 January 2015, 18:12 >> Subject: [ADMIN] cannot drop an extension >> >> Hi all, >> >> My pg_upgrade woes continue... The primary server, V9.3.3, was originally > used >> as a testbed for pgpool-II, although we ended up chosing pacemaker and > corosync >> instead. When pgpool >> was installed, the instructions have you add a pgpool-regclass extension. >> Naturally, trying to upgrade to V9.4.0 fails and pg_upgrade writes a >> loadable_libraries.txt saying that >> $libdir/pgpool-regclass cannot be found. So, I restarted the original > database, >> and connected to both my csg_db instance and to the template1 instance, > then >> tried issuing a "drop >> extension pgpool-reglass", but the both the db's say it does not > exist. >> I also tried dropping it by enclosing the extension name in quotes, both > single >> and double with no joy. >> Then, I tried looking in pg_extensions, but I didn't see any similar > entry >> there either. How can I get rid of this extension so that pg_upgrade will >> complete successfully? I've >> asked on the pgpool admin list, but as it's the middle of the night in >> Japan, I'm not expecting an immediate answer, if any. > > > Sounds like you need to remove the pgpool-regclass entry from the > shared_preload_libraries entry in your postgresql.conf > Actually after looking at the pgpool website, it looks like this isn't a shared preload library, but just a function. Is it possible you installed the extension via the sql script rather than using create extension? IF so you just need to drop the relevent objects; take a look in the contrib directory. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin