top | item 40264507

(no title)

RoboTeddy | 1 year ago

How’s PostgreSQL’s code quality? If projects have tons of technical debt or poor abstractions it can often be hard to make significant changes. Is that the case here, or no?

discuss

order

convolvatron|1 year ago

eh...you know, if you're in the right parts its actually pretty pleasant. there is alot of good design in Postgres.

otoh, there is some awful legacy stuff, and some really awfully crosscutting stuff around physical logging (I just looked at the locking around running queries on a replica, and that's clearly never going to be correct)

despite the fact that its in C, given a couple major refactors that will never happen, it could be really nice

anarazel|1 year ago

> I just looked at the locking around running queries on a replica, and that's clearly never going to be correct

Uh, huh. Details please?