From 2621f95bd2bb5e7e0772c887a04ec342332b7514 Mon Sep 17 00:00:00 2001 From: Mars Hall Date: Mon, 25 Feb 2019 16:30:30 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20doc=20corrections?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/remote-state/pg/backend_state.go | 3 +-- website/docs/backends/types/pg.html.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/remote-state/pg/backend_state.go b/backend/remote-state/pg/backend_state.go index 04ab79d33..a886d7f4c 100644 --- a/backend/remote-state/pg/backend_state.go +++ b/backend/remote-state/pg/backend_state.go @@ -58,8 +58,7 @@ func (b *Backend) StateMgr(name string) (state.State, error) { } // Check to see if this state already exists. - // If we're trying to force-unlock a state, we can't take the lock before - // fetching the state. If the state doesn't exist, we have to assume this + // If the state doesn't exist, we have to assume this // is a normal create operation, and take the lock at that point. existing, err := b.Workspaces() if err != nil { diff --git a/website/docs/backends/types/pg.html.md b/website/docs/backends/types/pg.html.md index 2bafbb1a3..3617667e8 100644 --- a/website/docs/backends/types/pg.html.md +++ b/website/docs/backends/types/pg.html.md @@ -50,7 +50,7 @@ The following configuration options or environment variables are supported: ## Technical Design -Postgres version 9.5 or newer is required to support advisory locks, the "ON CONFLICT" upsert syntax, *jsonb* data type. +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.