浏览代码

Postgres supports sql.gz import from initdb folder

Sergey Zhuravel 8 年之前
父节点
当前提交
12b7486704
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      postgres/content.md

+ 1 - 1
postgres/content.md

@@ -115,7 +115,7 @@ The two easiest ways to get around this:
 
 
 # How to extend this image
 # How to extend this image
 
 
-If you would like to do additional initialization in an image derived from this one, add one or more `*.sql` or `*.sh` scripts under `/docker-entrypoint-initdb.d` (creating the directory if necessary). After the entrypoint calls `initdb` to create the default `postgres` user and database, it will run any `*.sql` files and source any `*.sh` scripts found in that directory to do further initialization before starting the service.
+If you would like to do additional initialization in an image derived from this one, add one or more `*.sql`, `*.sql.gz`, or `*.sh` scripts under `/docker-entrypoint-initdb.d` (creating the directory if necessary). After the entrypoint calls `initdb` to create the default `postgres` user and database, it will run any `*.sql` files and source any `*.sh` scripts found in that directory to do further initialization before starting the service.
 
 
 For example, to add an additional user and database, add the following to `/docker-entrypoint-initdb.d/init-user-db.sh`:
 For example, to add an additional user and database, add the following to `/docker-entrypoint-initdb.d/init-user-db.sh`: