From fd83280b70b515098e9cdc4e95de163071013e11 Mon Sep 17 00:00:00 2001 From: mmomjian <50788000+mmomjian@users.noreply.github.com> Date: Sun, 31 Mar 2024 21:52:20 -0400 Subject: [PATCH] docs: Postgres standalone fix (#8427) --- docs/docs/administration/postgres-standalone.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/administration/postgres-standalone.md b/docs/docs/administration/postgres-standalone.md index 4c3c774557..c29aa54e6b 100644 --- a/docs/docs/administration/postgres-standalone.md +++ b/docs/docs/administration/postgres-standalone.md @@ -1,4 +1,4 @@ -# Preparing a pre-existing Postgres server +# Pre-existing Postgres While not officially recommended, it is possible to run Immich using a pre-existing Postgres server. To use this setup, you should have a baseline level of familiarity with Postgres and the Linux command line. If you do not have these, we recommend using the default setup with a dedicated Postgres container. @@ -45,7 +45,7 @@ CREATE EXTENSION vectors; CREATE EXTENSION earthdistance CASCADE; ALTER DATABASE SET search_path TO "$user", public, vectors; GRANT USAGE ON SCHEMA vectors TO ; -GRANT SELECT ON TABLE pg_vector_index_stat to ; +ALTER DEFAULT PRIVILEGES IN SCHEMA vectors GRANT SELECT ON TABLES TO ; COMMIT; ```