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

0

u/FanimeFartoon Sep 24 '20

I wish they'd still release 32bits binaries for Wndows We have many small clients with old servers :/

23

u/dwdwfeefwffffwef Sep 24 '20

That's pretty insane. Who has windows servers so old that they are 32 bit, but wants to run the latest postgres? I guess you, but it's so weird, doesn't really make sense.

7

u/FanimeFartoon Sep 24 '20

Well, I know it sounds weird, but there are many small companies who run old windows systems on machines with 2 ~ 3 GB ram. So 1 - they don't want to spend money with license 2 - if they do that the performance of the machine will get worse since 64bit windows consumes more memory.

So people may say "oh you should use a cloud server or whatever...", ok, but not everyone wants their data on the cloud, I mean, I'm fine about but if the customer doesn't want...

By the way, as I said, I wish they still have support for it, but I tottally understand not having xD And well, I'm not the only one:

https://stackoverflow.com/questions/54572745/why-is-there-no-32bit-windows-installer-for-postgresql-11-1

4

u/KingStannis2020 Sep 25 '20

Hopefully these 15 year old machines aren't running on 15 year old hard drives, without backups.

2

u/PristineReputation Sep 25 '20

Or are connected to the internet with ports open, or are vulnerable to attacks from the internal network.

30

u/Bakoro Sep 24 '20 edited Sep 24 '20

I want to know how anyone justifies that, when even a 4 year old Raspberry Pi is 64 bit.

Serious question here, what are these people doing that they haven't been able to buy a new server in the past 15 years? A new barebones 1u supermicro server is less than $1k. I spent more than that on my laptop.

If they can't buy a server outright, why not get an Amazon EC2 up or something?

I really try to be understanding of people, I know what it's like to be poor, but at this point I have a hard time respecting this so-called "need" to cater to decade+ old hardware, which is often massively outperformed by relatively cheap modern hardware. I flat out don't respect anyone's wailing who are unwilling to spend a dollar to upgrade, and instead demands the world cater to their miserliness. The energy savings alone can basically pay for the new hardware sometimes.

Same thing for anyone who is still running decades old software that can't be altered or upgraded in any way and won't run on new machines. At a certain point they're going to be forced to upgrade with a downtime longer than a proper planned upgrade, or they'll have to just shut down the business. At the very least run it in a VM so you have some kind of security, come on.

If you're their tech person, I don't envy you. There's going to come a day when all their shit's broke and they're going to be screaming at you to get it back up and running "because we are losing thousands of dollars per minute".

11

u/hak8or Sep 24 '20

Here is what I imagine hearing in this case (and still hear in my own case):

The server was set up many many years ago, with the original core folks working on it having moved to other companies. The server runs absolutely critical software, meaning either extended downtime is unacceptable or the current state of the stuff on the server is absolutely critical.

The downtime one I don't buy, since if that is so critical then you already should have a backup server ready to take over.

The second I can understand more, but disagree on a fundamental level. If you can't recreate the state of that box and/or don't know what it's running, then that means you have a very very dangerous situation. Moving to a better server shouldn't be your top concern at that point, it should be how to get out of that technical debt.

On a basic level, both of these reasons are flawed. Running on a 32 bit box means the box is 15+ years old at this point. The fan bearings are probably dying, the drivers are likely going to die, the bios no longer has security updates for ipmi, and the OS running it is likely Eol'd many years ago and therefore also has no security updates. If your infrastructure is so brittle that it can't handle bieng recreated partially, then your infrastructure is fundementally flawed and needs to be fixed.

4

u/Uristqwerty Sep 24 '20

Running on a 32 bit box means the box is 15+ years old at this point

That's a bit of a flawed assumption, since even the latest x86 CPU still supports 16-bit code, much less 32-bit. I know people who are effectively superstitious about pointer size and memory use, so would put a 32-bit OS on any machine with 4GB of memory or less today.

3

u/WJMazepas Sep 25 '20

I work with Raspberry pis and their OS is all 32bit. Even the 64bit OS only released this year and only recently IIRC it left beta version so there is still cases for a 32bit version

2

u/[deleted] Sep 24 '20

they haven't been able to buy a new server in the past 15 years?

But they're happy to pay the energy bill.

9

u/[deleted] Sep 24 '20

How old are these servers if they don't have 64bit support?

2

u/skippingstone Sep 25 '20

How do they afford to pay you, when they cannot afford to upgrade their infrastructure?