From 712c79b72225fff4accc9776d50e62b485c93e84 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Tue, 27 Jun 2023 18:01:02 -0500 Subject: [PATCH] Fix 'posgresql' typo in postgres readme --- postgres/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/README.md b/postgres/README.md index 0fdbd9ae421f..5b5d72ba82e8 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -189,7 +189,7 @@ See the PostgreSQL documentation on [`pg_hba.conf`](https://www.postgresql.org/d ### `PGDATA` -> **Important Note:** when mounting a volume to `/var/lib/posgresql`, the `/var/lib/postgresql/data` path is a local volume from the container runtime, thus data is not persisted on the mounted volume. +> **Important Note:** when mounting a volume to `/var/lib/postgresql`, the `/var/lib/postgresql/data` path is a local volume from the container runtime, thus data is not persisted on the mounted volume. This optional variable can be used to define another location - like a subdirectory - for the database files. The default is `/var/lib/postgresql/data`. If the data volume you're using is a filesystem mountpoint (like with GCE persistent disks), or remote folder that cannot be chowned to the `postgres` user (like some NFS mounts), or contains folders/files (e.g. `lost+found`), Postgres `initdb` requires a subdirectory to be created within the mountpoint to contain the data.