wal sink is a synchronous standby that writes to no disk: it streams the primary's WAL over its permanent slot and reports a position flushed only once the bytes are a create-only object in S3. synchronous_standby_names names two sinks, so a commit returns when one of them has stored it. wal push and wal restore are the archive and restore commands; restore assembles a segment the primary never finished from the sinks' objects. wal gate is pre_promote: a standby is promoted only once it has replayed every complete record the store holds. bench/ starts a primary with two sinks, measures commit latency, then twice destroys the primary's data directory mid-load and restores from a base backup and S3 alone, checking every acknowledged id. Co-authored-by: Hanzo Dev <[email protected]>
PostgreSQL Database Management System
This directory contains the source code distribution of the PostgreSQL database management system.
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions. This distribution also contains C language bindings.
Copyright and license information can be found in the file COPYRIGHT.
General documentation about this version of PostgreSQL can be found at https://www.postgresql.org/docs/devel/. In particular, information about building PostgreSQL from the source code can be found at https://www.postgresql.org/docs/devel/installation.html.
The latest version of this software, and related software, may be obtained at https://www.postgresql.org/download/. For more information look at our web site located at https://www.postgresql.org/.