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 1gMD9A-00033e-8Q for pgsql-general@arkaria.postgresql.org; Mon, 12 Nov 2018 14:25:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMD97-0004IH-EV for pgsql-general@arkaria.postgresql.org; Mon, 12 Nov 2018 14:24:57 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1gMD95-0004I9-OA for pgsql-general@lists.postgresql.org; Mon, 12 Nov 2018 14:24:57 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gMD91-0006W0-N7 for pgsql-general@lists.postgresql.org; Mon, 12 Nov 2018 14:24:55 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 2E166A00; Mon, 12 Nov 2018 09:24:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 12 Nov 2018 09:24:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=5 0rIaJ6sKdSxwb0A7Y8vle4Y/Xi62eSePxMXAWhGkAU=; b=vlY62+D8LZLX0ntTx Xr3p+o0C2yLpwfjRUJH46Q83I7wzK/OqOD4hS7MRyTj+bIlMQ2DO7m3DO2EK1/o8 s+KR2x9GB/wJqxHzv95T5HfBc9UWWt5gVKmEDRADjBpvholzgQZ9r6NSip2+IRd0 xG+j14oYCGC2QUC1RZ4BMkphrsTJRaruWAMOIz45g2fSqJU4iEbvRL5AToYGMAmV yrlNtvFEuRWOmcU9c5cjwGuDQgHj7a8DGT/BV4UPpX7jhjmZtn/kQ7u3l0nyDFXI Y98xzISF4yAc/S//zLNadvto+JiRc/wygcKgpkdY8W+fhoIF7QL5fK5pUqyucUOe UdgPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=50rIaJ6sKdSxwb0A7Y8vle4Y/Xi62eSePxMXAWhGk AU=; b=EWPSDzGzIgCyZRgeohyyImsiluuBOulXN+j3oH0jhGX7xbEQWXyVa+3yl 5SpVppsW2pdUlVw9xgwPSyVkQyu8PM9HdU5IY7A5btfK3CrLP/RVMsoODlAbN/bx W1UlYrWnMNG7toAsPuywAzSOndu/F280YeNZ/rfB6byNgQY1QnuD7ZZepwy1IDUU 57t/KSwhoLL8+zDlijL6+JmdXgY3ID/ERW4lF8gbgIZ07cvLfjhGjkhD0z+aHX4Q yerz/rrzRrI0uexb2VZgnGONiwktJcI30aDif57OdH6n1IZEIA70QecxGBoi5VOr u1KukJYLcVQD1YyxMx3YxPQcEFbsw== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id C9E6FE427A; Mon, 12 Nov 2018 09:24:47 -0500 (EST) Subject: Re: Recommendation for upgrading from PostgreSQL 9.3 To: Karl Martin Skoldebrand , "pgsql-general@lists.postgresql.org" References: <3074f1aa5bf34887bb6ee1e6d7014ab4@UKEXCHMBX003.TechMahindra.com> From: Adrian Klaver Message-ID: Date: Mon, 12 Nov 2018 06:24:46 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <3074f1aa5bf34887bb6ee1e6d7014ab4@UKEXCHMBX003.TechMahindra.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/12/18 1:17 AM, Karl Martin Skoldebrand wrote: > Are there any recommendations regarding upgrading from PG 9.3 to 9.6 or > 10.x? > > I found a few changes at > https://severalnines.com/blog/upgrading-your-database-to-postgresql-version-10 > but are there more things to keep in mind regarding changes in > scripts/queries that might affect an already existing application? > Should we stop at 9.6 or go 10.x considering that 10.x seems almost > about a year old, and 11.x is out there. Go here: https://www.postgresql.org/docs/10/release.html and click on the notes for the first release for each major release. Prior to 10 the numbering system was Major.major.minor, e.g. 9.3.x --> 9.4.x was a major change. With 10+ the scheme is Major.minor so 10.x --> 11.x. So in your case the first release you would visit is: https://www.postgresql.org/docs/10/release-9-4.html To be more certain I would set up a dev database with the new version and test against that. > > I have limited experience with PG so far, but quite long experience with > MySQL and OSS in general. > > Best regards, > > Martin Skjoldebrand > > ============================================================================================================================ > > Disclaimer:  This message and the information contained herein is > proprietary and confidential and subject to the Tech Mahindra policy > statement, you may review the policy at > http://www.techmahindra.com/Disclaimer.html externally > http://tim.techmahindra.com/tim/disclaimer.html internally within > TechMahindra. > > ============================================================================================================================ > -- Adrian Klaver adrian.klaver@aklaver.com