pgrust
Postgres rewritten in Rust, now passing 100% of the Postgres regression tests
Explore how pgrust implements logical and physical replication using the CopyBoth API. Discover type-safe Rust methods for seamless data streaming and slot management.
How pgrust Implements Locking and LWLock: PostgreSQL Concurrency Primitives in RustDiscover how pgrust implements PostgreSQL locking and LWLock using Rust abstractions. Learn about safe concurrency primitives and RAII guard types for shared memory coordination.
How pgrust Manages User-Defined Types and Domains: A Deep Dive into the Type Cache SystemDiscover how pgrust manages user-defined types and domains using a centralized type cache system and specialized modules. Learn about constraint validation and I/O operations.
How Vacuum and Autovacuum Operations Work in pgrustExplore how pgrust implements PostgreSQL vacuum and autovacuum in Rust. Understand heap_vacuum_rel, cost-delay, and eager-freeze for efficient database maintenance.
Connection Handling and Postmaster Architecture in pgrust: A Deep Dive into the Rust PostgreSQL ImplementationExplore pgrust's connection handling and postmaster architecture, a Rust port of PostgreSQL's model. Understand how the master process manages backends for client requests.
How pgrust Handles Prepared Statements and Portals: PostgreSQL's Two-Stage Model in RustLearn how pgrust implements PostgreSQL's prepared statements and portals in Rust. Discover safe Rust seams for query planning and execution contexts.
How the COPY Command Works in pgrust: Protocol Implementation and Data StreamingExplore the pgrust COPY command's protocol implementation and data streaming. Understand frontend/backend message handling and PostgreSQL's bulk data transfer.
Which Index Access Methods Are Supported by pgrust? B‑tree, Hash, GiST, and GINExplore pgrust's support for PostgreSQL index access methods including B-tree, Hash, GiST, and GIN. Discover Rust-based equivalents for efficient indexing.
How pgrust Implements Transaction and Concurrency Control: A Deep Dive into the Rust PostgreSQL CloneExplore how pgrust implements transaction and concurrency control using safe Rust abstractions and callback-driven seams for MVCC snapshot handling and resource management in this PostgreSQL clone.
How the pgrust Query Optimizer Works: A Deep Dive into the Rust ImplementationExplore the pgrust query optimizer, a Rust re-implementation of PostgreSQL's planner. Learn its stages: variable flattening, catalog lookups, path generation, and join ordering. Understand this modular architecture.
pgrust Parser Architecture: How SQL Parsing Works in the PL/pgSQL FrontendExplore pgrust's parser architecture. Discover how it parses SQL within PL/pgSQL by using a recursive-descent parser and custom scanner, mirroring PostgreSQL's grammar.
How the Catalog System Functions in the pgrust Project: A Technical Deep DiveExplore the pgrust catalog system's Rust implementation of PostgreSQL's system-catalog. Learn about OID lookups, MVCC snapshot management, and runtime catalog-driven dispatch.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →