25 karma · joined Apr 8, 2017 (9y ago) · 19 submissions
comment 6d ago · link · parent
As I understand it, the new feature is not a continuous replication (for the above reason), but rather a one-off synchronization of the current sequence values of a leader to its followers, you'd need to run it again later for additional syncs.
comment 6d ago · link · parent
Also, the definition of a major release in Postgres is no new features, and, by extension, no system catalog changes. When the Postgres system catalog changes, you need to make a major version upgrade (this is e.g. the case if you want to upgrade from Postgres 19 beta3 to GA).
A lot of Postgres' reputation is on their solid minor releases, and they will not compromise that.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
See also https://www.reddit.com/r/LK99/comments/15jscal/comment/jv1mx...
comment 5y ago · link · parent
But I agree it's not a very good look to code-drop something on a .2 release when there's been 2,5 years of fixes.
comment 5y ago · link · parent
CockroachDB seems to be a distributed database system written in Go which has implemented a Postgres query/wire protocol compatibility layer.
PolarDB is a Postgres fork actually using the Postgres codebase and extending it to a distributed database system. Maybe one day they can unfork because it's possible to implement PolarDB on top of Postgres as an extension and/or they contribute/get all their changes into Postgres core.
comment 6y ago · link · parent
In practise, most german presidents will just be way too old four years after they leave office to be a viable candidate, and it looks a bit absurd for them to be pushed back into the office, exactly because there's very little real power.
comment 6y ago · link · parent
root@pg1:~# LANG=C apt install postgresql-12
Reading package lists... Done
[...]
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 59.7 MB of archives.
After this operation, 240 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
root@pg1:~# LANG=C apt install postgresql-12 postgresql-12-postgis-3
Reading package lists... Done
[...]
0 upgraded, 105 newly installed, 0 to remove and 0 not upgraded.
Need to get 104 MB of archives.
After this operation, 418 MB of additional disk space will be used.
Do you want to continue? [Y/n]
I think the addition of LLVM for JIT execution of plans added a lot to the Postgres install baseline (at least in distribution packages, you can compile a much leaner postgres yourself).comment 6y ago · link · parent
It is also available as a Debian package for the above versions via apt.postgresql.org.
comment 8y ago · link · parent
comment 8y ago · link · parent
The patroni project checks most of your other requirements: docker/containerized design with leader election/continuing operation via etcd or another external DCS. Not sure how easy upgrades are but I think the procedure is at least documented.
comment 9y ago · link · parent
I understand where you are coming from, but having this kind of multi-server-who-is-master knowledge baked into Postgres itself will surely take another couple of releases, if it will be included at all.
Probably BDR (bi-directional replication, master-master like logical replication) will be there first, but whether the question is whether it will help a lot for local scale-out workloads (as opposed to glueing two datacenters together and allow transactions on both sides).
comment 9y ago · link · parent
(and it is in general a good idea to keep the configuration the same as much as possible between primary and standbys).
comment 9y ago · link · parent
https://github.com/vmware/pg_rewind/tree/REL9_4_STABLE
It's from the people who wrote it upstream, they provide the code there for earlier Postgres releases.
comment 9y ago · link · parent
About raft-based leader-election, I believe the current recommendation is to look at patroni ( https://github.com/zalando/patroni), which has been built for docker and is now being integrated with Kubernetes; however, I don't think there is an inherent limitation that it couldn't be run on bare-metal.