Research project for bi-directional replication in PostgreSQL
- taminomara/psql-hooks
- PostgresConference BDR 2ndQuadrant
- multi-master-replication-solutions-for-postgresql/
- 2ndQuadrant/bdr/tree/REL0_9_94b2
- PostgreSQL's BDR and UDR Explained
- postgresql-bdr-is-bdr-truly-multi-master-is-it-open-source-and-eol-for-1-x-i
- postgresql-bi-directional-replication-using-pglogical/
- BDR extension repository entrypoint file
- Webinar: pglogical and Postgres BDR update by Simon Riggs
- Citus extension entrypoint: https://github.com/citusdata/citus/blob/main/src/backend/distributed/shared_library_init.c
- Example extensions: https://github.com/postgres/postgres/tree/master/src/test/modules
- Postgres docs about extensions: C language functions
- Hooks_in_postgresql.pdf
- Background workers: https://www.postgresql.org/docs/current/bgworker.html
- C language functions: https://www.postgresql.org/docs/current/xfunc-c.html
- SPI: https://www.postgresql.org/docs/current/spi.html
- Extension points: https://wiki.postgresql.org/wiki/PostgresServerExtensionPoints
SetConfigOption("lock_timeout", "10000", PGC_USERSET, PGC_S_SESSION);
can be used to set optionsMemoryContextSwitchTo
: what is this function, why and when is needed?