pg requires PostgreSQL 10
This commit is contained in:
parent
e39ba2816b
commit
51a171c7f4
|
@ -10,7 +10,7 @@ description: |-
|
|||
|
||||
**Kind: Standard (with locking)**
|
||||
|
||||
Stores the state in a [Postgres database](https://www.postgresql.org) version 9.5 or newer.
|
||||
Stores the state in a [Postgres database](https://www.postgresql.org) version 10 or newer.
|
||||
|
||||
This backend supports [state locking](/docs/language/state/locking.html).
|
||||
|
||||
|
@ -30,7 +30,7 @@ Before initializing the backend with `terraform init`, the database must already
|
|||
createdb terraform_backend
|
||||
```
|
||||
|
||||
This `createdb` command is found in [Postgres client applications](https://www.postgresql.org/docs/9.5/reference-client.html) which are installed along with the database server.
|
||||
This `createdb` command is found in [Postgres client applications](https://www.postgresql.org/docs/10/reference-client.html) which are installed along with the database server.
|
||||
|
||||
We recommend using a
|
||||
[partial configuration](/docs/language/settings/backends/configuration.html#partial-configuration)
|
||||
|
@ -79,8 +79,6 @@ The following configuration options or environment variables are supported:
|
|||
|
||||
## Technical Design
|
||||
|
||||
Postgres version 9.5 or newer is required to support advisory locks and the "ON CONFLICT" upsert syntax.
|
||||
|
||||
This backend creates one table **states** in the automatically-managed Postgres schema configured by the `schema_name` variable.
|
||||
|
||||
The table is keyed by the [workspace](/docs/language/state/workspaces.html) name. If workspaces are not in use, the name `default` is used.
|
||||
|
|
Loading…
Reference in New Issue