From ce49d78f3165faffe636e339c040eb3c1ecfe5c2 Mon Sep 17 00:00:00 2001 From: support Date: Sun, 11 Oct 2026 09:00:59 +0200 Subject: [PATCH] 2026-10-11 07:00:59 --- PostgreSQL/build_rdbms_01/Readme.md | 12 +++++-- PostgreSQL/build_rdbms_01/install_pg_cron.sh | 2 +- .../build_rdbms_01/install_pg_repack.sh | 2 +- .../build_rdbms_01/install_pg_stat_monitor.sh | 2 +- .../install_pg_stat_statements.sh | 2 +- PostgreSQL/build_rdbms_01/install_pgaudit.sh | 2 +- PostgreSQL/build_rdbms_01/install_pgvector.sh | 34 +++++++++++++++++++ .../build_rdbms_01/install_postgresql.sh | 2 +- .../install_postgresql_extensions.sh | 2 ++ PostgreSQL/build_rdbms_01/install_set_user.sh | 2 +- .../build_rdbms_01/install_timescaledb.sh | 2 +- PostgreSQL/build_rdbms_01/resume.txt | 1 - 12 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 PostgreSQL/build_rdbms_01/install_pgvector.sh delete mode 100644 PostgreSQL/build_rdbms_01/resume.txt diff --git a/PostgreSQL/build_rdbms_01/Readme.md b/PostgreSQL/build_rdbms_01/Readme.md index da317d3..6d36213 100644 --- a/PostgreSQL/build_rdbms_01/Readme.md +++ b/PostgreSQL/build_rdbms_01/Readme.md @@ -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` | `