From 51a171c7f42f12c53729c827e7c31fcaa3a8c489 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 18 May 2021 09:39:05 -0400 Subject: [PATCH] pg requires PostgreSQL 10 --- website/docs/language/settings/backends/pg.html.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/docs/language/settings/backends/pg.html.md b/website/docs/language/settings/backends/pg.html.md index 362443cfb..e83d6512a 100644 --- a/website/docs/language/settings/backends/pg.html.md +++ b/website/docs/language/settings/backends/pg.html.md @@ -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.