Skip to main content

Module pg_fetch

Module pg_fetch 

Source
Expand description

Download PostgreSQL binaries from Maven Central.

The PgFetchSettings struct describes which binary to fetch (OS, architecture, version) and exposes PgFetchSettings::fetch_postgres to perform the actual HTTP download. The downloaded bytes are a JAR file (ZIP) that is later unpacked by crate::pg_unpack.

Structs§

PgFetchSettings
Settings that determine which PostgreSQL binary package to download.
PostgresVersion
A PostgreSQL version string in MAJOR.MINOR.PATCH form.

Constants§

PG_V10
PostgreSQL 10.23.0 binaries.
PG_V11
PostgreSQL 11.22.1 binaries.
PG_V12
PostgreSQL 12.22.0 binaries.
PG_V13
PostgreSQL 13.23.0 binaries.
PG_V14
PostgreSQL 14.21.0 binaries.
PG_V15
PostgreSQL 15.16.0 binaries.
PG_V16
PostgreSQL 16.12.0 binaries.
PG_V17
PostgreSQL 17.8.0 binaries.
PG_V18
PostgreSQL 18.2.0 binaries.