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 1hRK3p-0002AG-TO for pgsql-general@arkaria.postgresql.org; Thu, 16 May 2019 17:20: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 1hRK3o-0001I6-H2 for pgsql-general@arkaria.postgresql.org; Thu, 16 May 2019 17:20:52 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRK3o-0001HR-59 for pgsql-general@lists.postgresql.org; Thu, 16 May 2019 17:20:52 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRK3l-0003L2-LX for pgsql-general@lists.postgresql.org; Thu, 16 May 2019 17:20:51 +0000 Received: by mail-oi1-x229.google.com with SMTP id u199so3117801oie.5 for ; Thu, 16 May 2019 10:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=OyBLD6Ca+lSrlDecTnIpseJ08UieXF2Buc/K1s7ZfAI=; b=dPjCw9vn3Ih1hayubpmPjQfakfYmf+i0hOY+2e1F50FmsFtmzmZVgaiHwfAWXjqPAS 3Rcqc24CxS0RPjrfeIO+NKDNrjJrzixz6omk8EjURc2N4M5sZz1UfsLWEPZi+eZ9DUUX ksInOiJMvd4EThfU0Dd/IJ3a4oeytk87GCwbQlgLrNddlCL8NiNWvgJTt0Nf5EtXx0UN kbjHjdgKBliWlrodSN4hlJDSNduz4D/QEp4vlAeZ3BUXMrYcPsQtDItqroJMJ9E7HhdX jKJlt1em0XmOz/fNHxi79l3smD8nWkCleM8V/X3ISQCOG/puy8FZv3PMLX6L32nhjwzt qm5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=OyBLD6Ca+lSrlDecTnIpseJ08UieXF2Buc/K1s7ZfAI=; b=SoY3RPgLJiEm5QOqRfUsf9evRL37hF7+nB5G6JsdQh0AAlCMHOGYukC4hYLSxLEL0z /mJzgm4SvTuyBeQBzf4Udqyw/cfg17kK1cCwESnlTwuIZoZ2ZDteXb+KMjq3kg5YAJOn gVitc4ocQpQZiHGJ9t8VGF7Liy0VjFvs5doLKZyW89r+A9+/yBUp90artLn2k2noPKmK m+vWqgqi/DJEKDes0JHZ1beku10l43aRfCZuVecRAQbrTB73spdtRiMhxgYtF5Eh2ygG 9m6SmRBNHfrTLxfBTJ9WqPCoWOpYlDeFqlSpz/wGLvoD3hH/oF42Ja3HdUqs3A55MOeP V9cQ== X-Gm-Message-State: APjAAAW2Y7OkFvTSG1D9XCU6Bc/5snl6i+DcIWRVgs+Zeg+6mx2SsnkT 3XoWyC40Gn3RMGGvPC6iJrDCxeWjz50= X-Google-Smtp-Source: APXvYqwg4SeqWEV3O6BKMXVxQGxcLo+68fyMnXAvsY7eq5DDwUIy9ALBYKYrKxI0j0Li9qi9TcBaBA== X-Received: by 2002:aca:ec53:: with SMTP id k80mr96050oih.123.1558027246732; Thu, 16 May 2019 10:20:46 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id y198sm2164915oie.29.2019.05.16.10.20.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 May 2019 10:20:45 -0700 (PDT) Subject: Re: Upgrading 9.1.17 to which version? To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <41fc59ee-d106-9e91-5cb1-2b5d1693438c@gmail.com> Date: Thu, 16 May 2019 12:20:44 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------46322E3202C5B37878920AA7" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------46322E3202C5B37878920AA7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 5/16/19 4:36 AM, nigel.andersen@gmx.com wrote: > Hi, > I've just inherited an ancient install of 9.1.17 after our tech guy left, > on what turns out to be a rapidly dying server and being a total newb to > PostgreSQL (and not much more advanced on Linux) I'm a little stuck on the > way ahead. > I've managed to secure a decent new server for a new install of PostgreSQL > which runs CentOS 7.6 (Minimal). CentOS 7.6's standard PostgreSQL package > seems to be 9.2.24 which is obviously no longer supported so probably > doesn't get us much further ahead in the short term. As part of this > upgrade we'd also like to implement support for pg_trgm which apparently > needs >=9.6. > I spent most of yesterday trying to get 9.6.13 installed from the > PostgreSQL Yum repository and finally got it working with the initdb stuff > stored on a non-default dedicated partition (RAID10 array) only to find > that psql didn't work and was complaining about a missing libpq.so.5. Not > sure if that's a common problem? What packages did you install? > My (admittedly loose) logic tells me that upgrading from 9.1.x to 9.6.x is > probably a safer option than making the leap up to 10.x or 11.x No, not really. > but I wonder whether that might be an easier/more reliable option from an > install and point of view and certainly preferable in the long term. Any > advice on where to go? 11.x would be best, since it's EOL is furthest in the future. 9.6 would be best, because it's had more bug-fix releases. :) -- Angular momentum makes the world go 'round. --------------46322E3202C5B37878920AA7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 5/16/19 4:36 AM, nigel.andersen@gmx.com wrote:
Hi,
 
I've just inherited an ancient install of 9.1.17 after our tech guy left, on what turns out to be a rapidly dying server and being a total newb to PostgreSQL (and not much more advanced on Linux) I'm a little stuck on the way ahead.
 
I've managed to secure a decent new server for a new install of PostgreSQL which runs CentOS 7.6 (Minimal). CentOS 7.6's standard PostgreSQL package seems to be 9.2.24 which is obviously no longer supported so probably doesn't get us much further ahead in the short term. As part of this upgrade we'd also like to implement support for pg_trgm which apparently needs >=9.6.
 
I spent most of yesterday trying to get 9.6.13 installed from the PostgreSQL Yum repository and finally got it working with the initdb stuff stored on a non-default dedicated partition (RAID10 array) only to find that psql didn't work and was complaining about a missing libpq.so.5. Not sure if that's a common problem?

What packages did you install?

 
My (admittedly loose) logic tells me that upgrading from 9.1.x to 9.6.x is probably a safer option than making the leap up to 10.x or 11.x

No, not really.

but I wonder whether that might be an easier/more reliable option from an install and point of view and certainly preferable in the long term. Any advice on where to go?

11.x would be best, since it's EOL is furthest in the future.
9.6 would be best, because it's had more bug-fix releases.

:)

--
Angular momentum makes the world go 'round.
--------------46322E3202C5B37878920AA7--