2026-10-11 07:00:59
This commit is contained in:
1 parent
fc997210bf
commit
ce49d78f31
12 files changed
+54
-11
No files matched your search
@@ -26,6 +26,7 @@ The orchestrator runs the installers in this order:
|
||||
6. pg_stat_statements
|
||||
7. pg_repack
|
||||
8. pg_stat_monitor
|
||||
9. pgvector
|
||||
|
||||
After a successful run, the orchestrator:
|
||||
|
||||
@@ -47,9 +48,10 @@ Each component can also be installed independently. The PostgreSQL installation
|
||||
./install_pg_stat_statements.sh 18.6
|
||||
./install_pg_repack.sh 18.6
|
||||
./install_pg_stat_monitor.sh 18.6
|
||||
./install_pgvector.sh 18.6
|
||||
```
|
||||
|
||||
`install_postgresql.sh` recreates both the staging directory and the versioned PostgreSQL prefix before downloading sources. Extension installers recreate only the staging directory and preserve the PostgreSQL prefix.
|
||||
All source downloads, extracted source trees, and build workspaces use the `tmp/` directory alongside the scripts by default. `install_postgresql.sh` recreates that staging directory and the versioned PostgreSQL prefix before downloading sources. Each extension installer recreates only the staging directory and preserves the PostgreSQL prefix.
|
||||
|
||||
## Script descriptions
|
||||
|
||||
@@ -94,6 +96,10 @@ Builds and installs the `pg_repack` extension and its `pg_repack` command-line u
|
||||
|
||||
Builds and installs Percona's `pg_stat_monitor` extension.
|
||||
|
||||
### `install_pgvector.sh`
|
||||
|
||||
Builds and installs pgvector against the selected PostgreSQL installation.
|
||||
|
||||
### `install_common.sh`
|
||||
|
||||
Shared helper functions used by the installers, including:
|
||||
@@ -112,7 +118,7 @@ The following environment variables can override defaults:
|
||||
| Variable | Default | Purpose |
|
||||
| --- | --- | --- |
|
||||
| `POSTGRES_ROOT` | `/app/postgres/rdbms` | Root directory for versioned PostgreSQL installations |
|
||||
| `STAGING_DIR` | `/app/staging_area/copilot/tmp` | Temporary source and build directory |
|
||||
| `STAGING_DIR` | `<script directory>/tmp` | Temporary source downloads, extracted source, and build directory |
|
||||
| `JOBS` | `nproc` result | Parallel build job count |
|
||||
| `CONFIG_FILE` | unset | PostgreSQL configuration file to update |
|
||||
| `PG_CRON_TAG` | Latest compatible release/tag | pg_cron source tag |
|
||||
@@ -121,6 +127,7 @@ The following environment variables can override defaults:
|
||||
| `SET_USER_TAG` | Latest release/tag | set_user source tag |
|
||||
| `PG_REPACK_TAG` | Latest release/tag | pg_repack source tag |
|
||||
| `PG_STAT_MONITOR_TAG` | Latest release/tag | pg_stat_monitor source tag |
|
||||
| `PGVECTOR_TAG` | Latest release/tag | pgvector source tag |
|
||||
|
||||
Repository variables can also be overridden when using a custom mirror:
|
||||
|
||||
@@ -131,6 +138,7 @@ PGAUDIT_REPOSITORY=owner/repository
|
||||
SET_USER_REPOSITORY=owner/repository
|
||||
PG_REPACK_REPOSITORY=owner/repository
|
||||
PG_STAT_MONITOR_REPOSITORY=owner/repository
|
||||
PGVECTOR_REPOSITORY=owner/repository
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
Reference in new issue
Block a user