Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1CpG-0007AD-3w for pgsql-general@arkaria.postgresql.org; Tue, 05 Mar 2019 16:21:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1CpE-0008E8-Mg for pgsql-general@arkaria.postgresql.org; Tue, 05 Mar 2019 16:21:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1CpE-0008Dt-7V for pgsql-general@lists.postgresql.org; Tue, 05 Mar 2019 16:21:52 +0000 Received: from mail-it1-x143.google.com ([2607:f8b0:4864:20::143]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1CpA-0007Vx-Je for pgsql-general@lists.postgresql.org; Tue, 05 Mar 2019 16:21:50 +0000 Received: by mail-it1-x143.google.com with SMTP id f186so2896407ita.0 for ; Tue, 05 Mar 2019 08:21:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FjCM2R/QFY3Cj6OQe+Bw1Yoa1XF3YALMYR60Xz8C7IQ=; b=0Hgp5np8+mCIpHdmY028eQeXdGZYMOdP/wiV0Mkh92wZgJkfB5v/EJBsQXFz2La7hR V5ozK+dN3we0onqytSUz7x2HTMnTX0tBEZzBMiSch0NFiIoZFXvLh+1xv4xxG4oGPBvB nKJJ6w0ccLlhnU9fo+5xrisMNGLRrMRij1vvJXN9inwyYm8gu4y/EWrZW7Zfww9plQU/ ElhTTfwLNk+lOfg0KEfLgDIC1yopGZO7wOKY2c+JKlcL6B3OQ5kJNVBvwfCSDDnORh19 iLlqmK7rPRniwYTHKuWm/tPF6WR6B07hKJ2RmAzwUFCj6g7b8eb+nNPvVy3ivVan+PGs bVtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FjCM2R/QFY3Cj6OQe+Bw1Yoa1XF3YALMYR60Xz8C7IQ=; b=X/T+hB3fStmc+Pilti6FgdYouYfcqFv3XK1dg1zUWk0MOw71dCpQHjam4ySgzBbxZw Yk9ioz6vGMcRxQ6MKoHIzPLV0IOoAaPdX5PMDESPMOj56yYHDRZBA8MvWqpMHVfF3/bJ O8zuljDaQWES2UgVezbMQD8GBP/irEwnmOPAnF/PWUr8WvK8WZJkmxRe1zOXA2r0m2mf j0KW3DNu+qdXlrznVBN82ge/IKMPZBAuamjPfL+sALgqLz/L2MapOkuTkdtNBJEjXPDe f5LGhRayCgFyjtm6ugYO4gw1H0IjbY6+gtMgucQLrRI0fwWX66wj+xHnTabstaPCMxgT DNgw== X-Gm-Message-State: APjAAAU2gmKCIMwl1jhAGyGsMVkELYdYCgdWfpmI6L52xGXG0ISivFZ2 eC6zdrGY6Kk5jVc6FanSM9W1VQ== X-Google-Smtp-Source: APXvYqw7CbotGS2IMh8cQjkTZSkrw5JemLasxZBgcVy4bNgrWcgjc/wMhGajeZ7Lwl+ylTBlVCiAGg== X-Received: by 2002:a02:5885:: with SMTP id f127mr1577043jab.56.1551802907650; Tue, 05 Mar 2019 08:21:47 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id j66sm5109982itb.38.2019.03.05.08.21.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 08:21:46 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id B58D0800FD3; Tue, 5 Mar 2019 10:21:45 -0600 (CST) Date: Tue, 5 Mar 2019 10:21:45 -0600 From: Justin Pryzby To: Perumal Raj Cc: Sergei Kornilov , "pgsql-general@lists.postgresql.org" Subject: Re: Question about pg_upgrade from 9.2 to X.X Message-ID: <20190305162145.GV29584@telsasoft.com> References: <7164691551378448@myt3-1179f584969c.qloud-c.yandex.net> <6762391551380655@sas1-23a37bc8251c.qloud-c.yandex.net> <20190303145104.GA27559@telsasoft.com> <268361551771767@myt6-fe24916a5562.qloud-c.yandex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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@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