r/programming • • Sep 24 '20

PostgreSQL 13 Released!

https://www.postgresql.org/about/news/2077/
1.3k Upvotes

236 comments sorted by

View all comments

Show parent comments

91

u/Chousuke Sep 24 '20

It's fine to use old versions while they're still supported, but you don't have that much time left until 9.6 is EOL, so it's definitely a good idea to start planning an upgrade.

In my experience, upgrades have mostly required 3 things:

  1. pg_upgrade

  2. post-upgrade maintenance (reindex/vacuum)

  3. upgrade JDBC drivers for Java software using ancient libraries.

Relatively painless

-17

u/drink_with_me_to_day Sep 24 '20

After 4 years a version is already EOL?

39

u/Chousuke Sep 24 '20

5 years. It goes EOL in November 2021. I suppose Red Hat will continue supporting it afterwards as part of RHEL, but that's not upstream support.

5 years is a long time for software to go without upgrades; and I'm willing to bet that your stuff will just work with 13 unless you're doing something really weird and deprecated with 9.6.

Actual client-facing features rarely change in major ways, especially for core functionality. I've previously upgraded an application from 8.3 to 9.3 (5 years apart) and it just worked. Literally all I had to do for the application itself was to upgrade the JDBC driver.

20

u/mqudsi Sep 24 '20

5 years is a long time for software to go without upgrades; and I'm willing to bet that your stuff will just work with 13

I just want to point out that sticking to an old major version is absolutely not the same as “no upgrades.” In fact, that’s the difference between EOL and not: until it’s EOL, it’s still being patched and updated.

14

u/Chousuke Sep 24 '20

I get your point, but I wouldn't really call minor versions "upgrades". They're necessary maintenance. I really did mean major upgrades when I said that 5 years is a long time. I think PostgreSQL's 5 years of support is extremely reasonable considering how easy it is to upgrade most of the time.

That said, it's not *wrong* to build on a stable platform and avoid the latest and greatest. You just need to plan out your lifecycle ahead of time.

-11

u/1X3oZCfhKej34h Sep 24 '20

I mean it's a relational database. They haven't changed much in ~40 years...

17

u/yawkat Sep 24 '20

Postgres improvements across major versions have been significant over the years. It's not stagnant at all.

2

u/ric2b Sep 26 '20

So upgrade it, what are you waiting for?

21

u/TuesdayWaffle Sep 24 '20

It looks like PostgreSQL versions are supported for 5 years, which, in my experience, is not uncommon for software these days. I believe Ubuntu has the same support cycle, for example.

25

u/flying-sheep Sep 24 '20

If one wants crappy software where even the bugs are vendor-lock in but you get a million years of support for the piece of shit, they can always sell the souls of all their workers to oracle.

8

u/VegetableMonthToGo Sep 24 '20

If you want to use old crap, see OracleDB