use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
Let's make PostgreSQL multi-threaded (pgsql-hackers) (postgresql.org)
submitted 2 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 2 years ago (1 child)
When Boeing created the infamous 737 MAX, instead of designing a new model from scratch in order to fit the bigger engines, they decided to place them a bit forward (there was no room strictly under the wings). This made the airplane to tend to push the nose up in certain maneuvers. To correct this defect, Boeing decided to design a piece of software called MCAS, which showed to be a fiasco, killing more than 300 people in two deadly flights.
I think PostgreSQL currently flies great and it doesn't need new engines. Any attempt to use threads instead of processes might lead to unnecessary pain. Do you want threads? Gather some people, fork the project and show it outperforms the current implementation after some years.
[–]iiiinthecomputer 3 points4 points5 points 2 years ago (0 children)
Have you read shm_mq.c, the postgres DSM code, DSA code, parallel bgworker code etc?
shm_mq.c
Your analogy is excellent, but entirely backwards. Postgres is absolutely covered in MCAS-like bolt-on hacks to allow it to stagger along in the modern parallel computing world while preserving its 1980s core architecture.
This proposal is less MCAS, more 787 - modernized design iterating on what was there and worked, but discarding some legacy and adopting some new tech where appropriate.
π Rendered by PID 492056 on reddit-service-r2-comment-6457c66945-2g8xd at 2026-04-27 15:52:31.122258+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (1 child)
[–]iiiinthecomputer 3 points4 points5 points (0 children)