Re: pg_upgrade + Extensions

From: Smitha Pamujula <smitha(dot)pamujula(at)iovation(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "David E(dot) Wheeler" <david(at)justatheory(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Grant Holly <grant(dot)holly(at)iovation(dot)com>
Subject: Re: pg_upgrade + Extensions
Date: 2015-07-13 17:12:21
Message-ID: CAGWGGXNuBOifpqMK0GHESfZJbsoFMWRzYBm-FPskMf9Wd=SHzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Yes. I have checked that the extension didn't exist in any of the
databases. I used \dx to see if there was json_build was listed and i didnt
see any. Is that sufficient to check its existence. I am about to do
another testing in a few minutes on a different machine. I will capture
before/after shots

Thanks

On Fri, Jul 10, 2015 at 4:26 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

>
>
> On Fri, Jul 10, 2015 at 5:05 PM, David E. Wheeler <david(at)justatheory(dot)com>
> wrote:
>
>> On Jul 10, 2015, at 11:32 AM, Smitha Pamujula <
>> smitha(dot)pamujula(at)iovation(dot)com> wrote:
>>
>>
>> > 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
>> >
>> > Failure, exiting
>> > [postgres(at)pdxdvrptsrd04 ~]$ cat loadable_libraries.txt
>> > Could not load library "json_build"
>> > ERROR: could not access file "json_build": No such file or directory
>>
>> So you drop the json_build extension before upgrading, but pg_upgrade
>> still complains that it’s missing? That seems odd.
>>
>>
>>
>
> Are you sure the extension was uninstalled from every database in the
> cluster? This seems likely to occur when you forgot to uninstall it from
> some database (e.g. template1)
>
> cheers
>
> andrew
>
>

--
Smitha Pamujula
Database Administrator // The Watch Woman

Direct: 503.943.6764
Mobile: 503.290.6214 // Twitter: iovation
www.iovation.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message dinesh kumar 2015-07-13 17:39:54 Re: [PATCH] SQL function to report log message
Previous Message Simon Riggs 2015-07-13 17:00:45 Re: TABLESAMPLE patch is really in pretty sad shape