Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eufpg-0007ar-AF for pgsql-general@arkaria.postgresql.org; Sat, 10 Mar 2018 14:50:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eufpe-0004sg-2a for pgsql-general@arkaria.postgresql.org; Sat, 10 Mar 2018 14:50:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eufpd-0004sX-BT for pgsql-general@lists.postgresql.org; Sat, 10 Mar 2018 14:50:45 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eufpZ-0002vz-PN for pgsql-general@lists.postgresql.org; Sat, 10 Mar 2018 14:50:44 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6074421E78; Sat, 10 Mar 2018 09:50:40 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sat, 10 Mar 2018 09:50:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=t6AzUDYjnEv5Jzmk4lFSTs/L+uAHm 7wzEJb/t8LP9rw=; b=Hm3wyTL9DGLzV5Kmrm/RBUWYz0ja6fGpg+i44IKL9rOZu kzYQLC83ojPgzgXVd1a6UgM2McViqEv1hHJLAqDP0ClSihAqfY5TyaXNE5lBTVhQ SvdqGUOemhqPm0N+KEQJFZmMfU4z76x0ShItMx52Ioj1EXe+ssgXGgZdq1q/U7kl QQWtvMU4ma6RP2fnCEyS0mMTTeC2JDg7zP0SO7ccJHJnZP9VW9UXh9zprWlTxrP5 F1Bazjja61njNcngMyRPukxbp9RhX0RQWWxYO8waX68P370naeN3bLXX5CZ91UGY M7GaqvHjGkLglKI0XAX/ICTR2pp1/2USZ3Cq/urAQ== 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-sender:x-me-sender:x-sasl-enc; s=fm2; bh=t6AzUD YjnEv5Jzmk4lFSTs/L+uAHm7wzEJb/t8LP9rw=; b=iPdROFLGAKmdPoo98HmcQZ W+saqiMHmdyoo/p3JXLy2PjqSgMlEGdceM+cqAQ3LpHLcUZsYJjxZXA1S3rmvQrx i4q0Q00IUKB8bGxuugrvIBWEsmSopJA1Bl7R3KpkDjS9uAOsNI4/DWwF30jqmfVz 6ZxFBGf0PDdwYa8xXMrHie/OQFxz6EloGHU+a3agOOwkEUuIQiMIl7iinvXtOhg0 OUj9Av4G0I+MfC/iDjpq+fNEW0sZP8WdFS8f8/1RYQDjJ2M5xxmB5aTGIRNOemef Jbrh1W6mNvYrHBMmSr5PpmcKH5utD49jpckv4dN2iJdI6CCpJJGG6lOm+U802Kxg == X-ME-Sender: Received: from [192.168.1.2] (71-35-123-124.tukw.qwest.net [71.35.123.124]) by mail.messagingengine.com (Postfix) with ESMTPA id DBC5D241BB; Sat, 10 Mar 2018 09:50:39 -0500 (EST) Subject: Re: Application Dependency/Limitations of Postgres Version Upgrade To: amitabh kumar , pgsql-general References: From: Adrian Klaver Message-ID: <605cf0e2-a90a-ca58-c8e4-68e3836ecacc@aklaver.com> Date: Sat, 10 Mar 2018 06:50:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 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 03/09/2018 10:49 PM, amitabh kumar wrote: > Hi, > > I would like to know about application dependency of PostgreSQL version > upgrade. > > We have multiple servers with PG versions in 8.4, 9.2, 9.3, 9.4 and 9.5, > that we want to upgrade to 9.6. We want to be sure that all applications > will run smoothly after upgrade. The only way I know to be sure is to is to set up a test instance of 9.6 and test your applications. As an example of the things that could trip you up: Your 8.4 --> 9.x https://www.postgresql.org/docs/10/static/release-9-1.html#id-1.11.6.121.4 " Change the default value of standard_conforming_strings to on (Robert Haas) By default, backslashes are now ordinary characters in string literals, not escape characters. This change removes a long-standing incompatibility with the SQL standard. escape_string_warning has produced warnings about this usage for years. E'' strings are the proper way to embed backslash escapes in strings and are unaffected by this change. Warning This change can break applications that are not expecting it and do their own string escaping according to the old rules. The consequences could be as severe as introducing SQL-injection security holes. Be sure to test applications that are exposed to untrusted input, to ensure that they correctly handle single quotes and backslashes in text strings. " I would as matter of course also review the release notes for each major release since 8.4 to look for further gotchas. > > Is there any dependency or limitation of applications in 9.6 after > upgrading from these versions ? OS platforms we are using are in Linux > 5, 6.7. 6.8 and Windows 10, 12. > > I am happy to provide more information if need. > > Regards, > > Amitabh > PostgreSQL DBA > -- Adrian Klaver adrian.klaver@aklaver.com