pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedApplication Dependency/Limitations of Postgres Version Upgrade
4+ messages / 4 participants
[nested] [flat]
* Application Dependency/Limitations of Postgres Version Upgrade
@ 2018-03-10 06:49 amitabh kumar <amitabhnayak1980@gmail.com>
2018-03-10 07:11 ` RE: Application Dependency/Limitations of Postgres Version Upgrade Alvaro Aguayo Garcia-Rada <aaguayo@opensysperu.com>
2018-03-10 14:50 ` Re: Application Dependency/Limitations of Postgres Version Upgrade Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 2 replies; 4+ messages in thread
From: amitabh kumar @ 2018-03-10 06:49 UTC (permalink / raw)
To: pgsql-general <pgsql-general@lists.postgresql.org>
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.
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* RE: Application Dependency/Limitations of Postgres Version Upgrade
2018-03-10 06:49 Application Dependency/Limitations of Postgres Version Upgrade amitabh kumar <amitabhnayak1980@gmail.com>
@ 2018-03-10 07:11 ` Alvaro Aguayo Garcia-Rada <aaguayo@opensysperu.com>
1 sibling, 0 replies; 4+ messages in thread
From: Alvaro Aguayo Garcia-Rada @ 2018-03-10 07:11 UTC (permalink / raw)
To: pgsql-general <pgsql-general@lists.postgresql.org>; amitabh kumar <amitabhnayak1980@gmail.com>
Hi.
Based on my experience, you will probably have no problem when migrating applications from PG 9.x to 9.6. Same for 8.x to 9.6.
I recently migrated an application installed on around 100 servers from 8.4 to 9.6, and the only problem I had was regarding database encoding, more specifically with spanish characters and the fact that the database had been previously been created, for historical reasons, with SQL_ASCII instead of UTF8 encoding. That was solved just by using the --encoding argument for pg_dump.
Older PG versions used to cause more problems when migrating from older to newer versions. 7.x to 8.x was a real pain. But more modern versions have almost no problems.
Of course, if you depend on some extension, you should make sure it is supported and/or you can compile it for PG 9.6.
Regards,
Alvaro Aguayo
Jefe de Operaciones
Open Comb Systems E.I.R.L.
Oficina: (+51-1) 3377813 | RPM: #034252 / (+51) 995540103 | RPC: (+51) 954183248
Website: www.ocs.pe
Sent from my Sony Xperia™ smartphone
---- 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.
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Application Dependency/Limitations of Postgres Version Upgrade
2018-03-10 06:49 Application Dependency/Limitations of Postgres Version Upgrade amitabh kumar <amitabhnayak1980@gmail.com>
@ 2018-03-10 14:50 ` Adrian Klaver <adrian.klaver@aklaver.com>
2018-03-10 14:58 ` Re: Application Dependency/Limitations of Postgres Version Upgrade Félix GERZAGUET <felix.gerzaguet@gmail.com>
1 sibling, 1 reply; 4+ messages in thread
From: Adrian Klaver @ 2018-03-10 14:50 UTC (permalink / raw)
To: amitabh kumar <amitabhnayak1980@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Application Dependency/Limitations of Postgres Version Upgrade
2018-03-10 06:49 Application Dependency/Limitations of Postgres Version Upgrade amitabh kumar <amitabhnayak1980@gmail.com>
2018-03-10 14:50 ` Re: Application Dependency/Limitations of Postgres Version Upgrade Adrian Klaver <adrian.klaver@aklaver.com>
@ 2018-03-10 14:58 ` Félix GERZAGUET <felix.gerzaguet@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Félix GERZAGUET @ 2018-03-10 14:58 UTC (permalink / raw)
To: amitabh kumar <amitabhnayak1980@gmail.com>; +Cc: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general <pgsql-general@lists.postgresql.org>
On Sat, Mar 10, 2018 at 3:50 PM, Adrian Klaver <adrian.klaver@aklaver.com>
wrote:
> On 03/09/2018 10:49 PM, amitabh kumar wrote:
>
>> 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.
>
> I would as matter of course also review the release notes for each major
> release since 8.4 to look for further gotchas.
>
One convenient way of reviewing the "cumulated" release notes is:
https://why-upgrade.depesz.com/show?from=8.4&to=9.6.8
--
Félix
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-03-10 14:58 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10 06:49 Application Dependency/Limitations of Postgres Version Upgrade amitabh kumar <amitabhnayak1980@gmail.com>
2018-03-10 07:11 ` Alvaro Aguayo Garcia-Rada <aaguayo@opensysperu.com>
2018-03-10 14:50 ` Adrian Klaver <adrian.klaver@aklaver.com>
2018-03-10 14:58 ` Félix GERZAGUET <felix.gerzaguet@gmail.com>
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