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 1hj3C2-0001Nc-BF for pgsql-general@arkaria.postgresql.org; Thu, 04 Jul 2019 14:58:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hj3Bz-0003ia-7p for pgsql-general@arkaria.postgresql.org; Thu, 04 Jul 2019 14:58:35 +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 1hj3By-0003a6-22 for pgsql-general@lists.postgresql.org; Thu, 04 Jul 2019 14:58:34 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hj3Bq-0007kg-A2 for pgsql-general@lists.postgresql.org; Thu, 04 Jul 2019 14:58:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 56E1021F4C; Thu, 4 Jul 2019 10:58:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 04 Jul 2019 10:58:24 -0400 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=fm3; bh=0 hceLNq8qFQdTDURsfM36fMqdrHFi7YSYJ/HuTlNxCs=; b=NO09RNUsq/1LZb20z 3eZ43NencUPfEGDPbfQPDhf48UiXAzzgpDHBQieMCwn7sjvnimYWaSW+U60yNhyc FGCpEwsfUqt2/wJcrRxJylC7BW728Rt0I5I3vZ89I+kh3tlfTdN/q2a3Z7PKLAeS vfyjncv+A5fwLMG+CJfW4HmI1e+3tHov2EfwPOv8uhG9hse/rd+0ZvHgVl0Dyfp2 caEaatH7cnk3iSZNOxY2WkFivLH+mLpdAWQGVe27UtHJFxkMgUuAvr4joKvzI1p/ UjRirANhrHTUmVMh3F4FSn9RuL0nWalBkgpgWPgLHMwzRtPu7Cc1PkDrBCsNEc9O GYpWw== 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=fm3; bh=0hceLNq8qFQdTDURsfM36fMqdrHFi7YSYJ/HuTlNx Cs=; b=B1ZVzvMvn6PihFA8VUwUDpRd7jG1cSyU9BeHsx/9hEzRd+LsMCp7UNZci t76K/grPHmW9FO6plQXew4R1zE1TKshRBl6c+nvEwXXR7E0wE7DdO9ZTvJ/+AoD8 hX0fq2nqDXtm4fjEWBlaGWkxizIyf5LYHCCOJ28eiPsJfnMVu9W123tHnER+vAwc du7sMx3HAaBNwlqtk+H/x9ajZiAHbgalcpacGis0UrFyz5vOyS/nDdWCzozMlV/x Hijd+eAWr6XGxGBRxuOHXc4nVtwatZAlVJaBNpbam9UI9faxBT57xLAxgMiDXZUQ JWbCWQk/LOauZ0+0EnJp0asz9TsuA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfedvgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepjedurddvuddv rdduhedtrddvtddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrg hvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 81711380079; Thu, 4 Jul 2019 10:58:23 -0400 (EDT) Subject: Re: PostgreSQL upgrade from 9.4.2 to 9.6.12 To: Ashwini Singh , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Thu, 4 Jul 2019 07:58:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/4/19 7:48 AM, Ashwini Singh wrote: > Hi Everyone, > > We have a legacy application running on Ruby on Rails on AWS > infrastructure. We wanted to do a DB upgrade from PostgreSQL version > 9.4.2 to 9.6.12. > > We tried finding out any breaking changes from 9.4.x to 9.6.x upgrade > but could not find out by reading the documentation. > > Please let us know if the PostgreSQL version 9.6.12 is backwards > compatible with version 9.4.2 or if there are breaking changes do let us > know. Breaking changes rather depends on what you are doing in your app. Postgres will have backwards incompatible changes between major releases. Prior to Postgres version 10 that that was any version that changed the X in X.X.y in the versioning. For 10+ that is X.y. To see what backwards incompatible changes occurred go to the Release Notes for the first new major version(change in X). So for you migration path : https://www.postgresql.org/docs/9.5/release-9-5.html https://www.postgresql.org/docs/9.6/release-9-6.html The big(incompatible) changes will be listed under: Migration to Version Changes are cumulative . > > Thank you. > > Regards, > Ashwini -- Adrian Klaver adrian.klaver@aklaver.com