PostgreSQL compatibility¶
PostGamma supports PostgreSQL major 19. The source tree pins the official
PostgreSQL 19.0 release (REL_19_0) for the embedded libraries, threaded
server, and WebAssembly preview. The published PostGamma 0.1.0a1 native
packages embed PostgreSQL 19beta3. Run SHOW server_version; in a session
to check which kernel you are using. See downloads and source builds.
The API and ownership rules below apply to the embedded Python and C products. See server compatibility and the browser guide for those runtime modes.
Preserved behavior¶
PostGamma reuses PostgreSQL's parser, catalogs, planner, executor, transaction manager, WAL, crash recovery, SQL type system, simple protocol, extended protocol, and logical dump/restore implementations. Behavioral gates compare ordinary PostgreSQL/libpq execution with the in-process path.
Cluster directories¶
An embedded PostGamma database path is a PostgreSQL cluster directory with
additional embedded ownership rules. It is not a single-file format. The
embedded runtime does not write a signalable host PID into postmaster.pid,
change the host working directory, or permit two owners to open the same
directory concurrently.
Do not run pg_ctl against a live embedded cluster. Use the PostGamma API for
lifecycle and management.
Major upgrades¶
PostgreSQL data directories are not portable across major versions. To migrate:
- logically dump through the old supported PostGamma build;
- create a fresh instance with the new PostgreSQL-major build;
- logically restore the archive;
- run application-level verification before replacing the old directory.
Upgrade-audit support in the source repository measures how much adapter and ownership policy changes for a candidate PostgreSQL revision. Passing such an audit does not advertise candidate-major product support.
When moving from 19beta3 to 19.0, use the same logical dump and restore procedure. During the alpha series, opening an existing cluster directly is supported only when the destination release notes explicitly allow it. See Releases and upgrades.
Extensions¶
Only extensions named in the build's reviewed bundled-extension manifest are available. An ordinary binary PostgreSQL extension is not ABI-compatible merely because its SQL and C sources compile against PostgreSQL 19. See the bundled extension SDK.
The first release includes pgvector 0.8.6. See Vector search with pgvector for the installation, index, parameter, and result contracts.