pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: amitabh kumar <amitabhnayak1980@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Application Dependency/Limitations of Postgres Version Upgrade
Date: Sat, 10 Mar 2018 06:50:38 -0800
Message-ID: <605cf0e2-a90a-ca58-c8e4-68e3836ecacc@aklaver.com> (raw)
In-Reply-To: <CAA5h9+q9v9d5-p_NxxZjdEPoDP9hyOZan2S5k3bT3t-eqqt_2Q@mail.gmail.com>
References: <CAA5h9+q9v9d5-p_NxxZjdEPoDP9hyOZan2S5k3bT3t-eqqt_2Q@mail.gmail.com>

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




view thread (4+ messages)  latest in thread

Message-ID: <605cf0e2-a90a-ca58-c8e4-68e3836ecacc@aklaver.com>
Permalink:  ../605cf0e2-a90a-ca58-c8e4-68e3836ecacc@aklaver.com/
Also on:    postgresql.org/message-id/605cf0e2-a90a-ca58-c8e4-68e3836ecacc@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, amitabhnayak1980@gmail.com
  Subject: Re: Application Dependency/Limitations of Postgres Version Upgrade
  In-Reply-To: <605cf0e2-a90a-ca58-c8e4-68e3836ecacc@aklaver.com>
  References: <CAA5h9+q9v9d5-p_NxxZjdEPoDP9hyOZan2S5k3bT3t-eqqt_2Q@mail.gmail.com> <605cf0e2-a90a-ca58-c8e4-68e3836ecacc@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox