瀏覽代碼

Update content.md

Noah A 7 年之前
父節點
當前提交
1befb43b5b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      postgres/content.md

+ 1 - 1
postgres/content.md

@@ -57,7 +57,7 @@ This environment variable is recommended for you to use the PostgreSQL image. Th
 
 Note 1: The PostgreSQL image sets up `trust` authentication locally so you may notice a password is not required when connecting from `localhost` (inside the same container). However, a password will be required if connecting from a different host/container.
 
-Note 2: This variable sets the superuser password in the PostgreSQL instance, and has no effect on the PGPASSWORD variable that may be used by the psql client. PGPASSWORD, if used, will be specified as a separate environment variable.
+Note 2: This variable defines the superuser password in the PostgreSQL instance, as set by the `initdb` script during inital container startup. It has no effect on the `PGPASSWORD` environment variable that may be used by the `psql` client at runtime, as described at [https://www.postgresql.org/docs/10/static/libpq-envars.html](https://www.postgresql.org/docs/10/static/libpq-envars.html). `PGPASSWORD`, if used, will be specified as a separate environment variable.
 
 ### `POSTGRES_USER`