Install PostgreSQL extensions in a container
Synopsis
Start a container with the specified PostgreSQL version and install
PostgreSQL extension from commandline arguments. The argument format
is NAME=VERSION.
pgxman container install [flags]
Examples
# Install the latest pgvector in a container.
pgxman container install pgvector
# Install the latest pgvector for PostgreSQL 15 in a container.
pgxman container install pgvector --pg 15
# Install pgvector 0.5.0 for PostgreSQL 15 in a container.
pgxman container install pgvector=0.5.0 --pg 15
# Install pgvector 0.5.0 and postgis 3.3.3 for PostgreSQL 15 in a container
pgxman container install pgvector=0.5.0 postgis=3.3.3 --pg 15
# Install a local Debian package in a container
pgxman container install /PATH_TO/postgresql-15-pgxman-pgvector_0.5.0_arm64.deb
Options
-h, --help help for install
--pg string Install the extension for the PostgreSQL version. Supported values are 13, 14, 15, 16. (default "15")
--runner-image string Override the default runner image
Options inherited from parent commands
--debug enable debug logging
--registry string registry URL (default "https://registry.pgxman.com/v1")
SEE ALSO