diff --git a/docs/apt.md b/docs/apt.md index ee301d7f..e92d8697 100644 --- a/docs/apt.md +++ b/docs/apt.md @@ -139,6 +139,12 @@ Run all the commands in the following sections as root or using the `sudo` comma $ sudo apt install percona-pg-gather ``` + Install `pgvector` + + ```{.bash data-prompt="$"} + $ sudo apt install percona-postgresql-{{pgversion}}-pgvector + ``` + Some extensions require additional setup in order to use them with Percona Distribution for PostgreSQL. For more information, refer to [Enabling extensions](enable-extensions.md). ### Start the service diff --git a/docs/enable-extensions.md b/docs/enable-extensions.md index 07da8105..484fafd0 100644 --- a/docs/enable-extensions.md +++ b/docs/enable-extensions.md @@ -4,7 +4,7 @@ Some components require additional configuration before using them with Percona ## Patroni -Patroni is the third-party high availability solution for PostgreSQL. The [High Availability in PostgreSQL with Patroni](solutions/high-availability.md) chapter provides details about the solution overview and architecture deployment. +Patroni is the high availability solution for PostgreSQL. The [High Availability in PostgreSQL with Patroni](solutions/high-availability.md) chapter provides details about the solution overview and architecture deployment. While setting up a high availability PostgreSQL cluster with Patroni, you will need the following components: @@ -14,7 +14,7 @@ While setting up a high availability PostgreSQL cluster with Patroni, you will n - [HAProxy :octicons-link-external-16:](https://www.haproxy.org/). -If you install the software fom packages, all required dependencies and service unit files are included. If you [install the software from the tarballs](tarball.md), you must first enable `etcd`. See the steps in the [etcd](#etcd) section if this document. +If you install the software fom packages, all required dependencies and service unit files are included. If you [install the software from the tarballs](tarball.md), you must first enable `etcd`. See the steps in the [etcd](#etcd) section in this document. See the configuration guidelines for [Debian and Ubuntu](solutions/ha-setup-apt.md) and [RHEL and CentOS](solutions/ha-setup-yum.md). @@ -126,7 +126,7 @@ $ pgpool -f /pgpool.conf ## pg_stat_monitor -Please refer to [`pg_stat_monitor`](pg-stat-monitor.md#setup) for setup steps. +Please refer to [`pg_stat_monitor`](https://docs.percona.com/pg-stat-monitor/setup.html) for setup steps. ## wal2json @@ -136,6 +136,19 @@ After the installation, enable the following option in `postgresql.conf` configu wal_level = logical ``` +<<<<<<< HEAD +======= +Start / restart the server to apply the changes. + +## pgvector + +To get started, enable the extension for the database where you want to use it: + +```sql +CREATE EXTENSION vector; +``` + +>>>>>>> 7845a94c... PG-1214 Documented install and enable pgvector steps ## Next steps [Connect to PostgreSQL :material-arrow-right:](connect.md){.md-button} \ No newline at end of file diff --git a/docs/yum.md b/docs/yum.md index 9525f3ba..d8746e2c 100644 --- a/docs/yum.md +++ b/docs/yum.md @@ -335,7 +335,13 @@ $ sudo yum -y install curl $ sudo yum install percona-pgpool-II-pg{{pgversion}} ``` - Some extensions require additional setup in order to use them with Percona Distribution for PostgreSQL. For more information, refer to [Enabling extensions](enable-extensions.md). + Install `pgvector` package suite: + + ```{.bash data-prompt="$"} + $ sudo yum install percona-pgvector_{{pgversion}} percona-pgvector_{{pgversion}}-debuginfo percona-pgvector_{{pgversion}}-debugsource percona-pgvector_{{pgversion}}-llvmjit + ``` + + Some extensions require additional setup in order to use them with Percona Distribution for PostgreSQL. For more information, refer to [Enabling extensions](enable-extensions.md). ### Start the service