From 70a9fc47b4bdd4edd13544992d2cf8ef039070c7 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 5 Oct 2016 14:31:19 -0400 Subject: [PATCH] Don't use quoted identifier for the username --- builtin/logical/postgresql/secret_creds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/logical/postgresql/secret_creds.go b/builtin/logical/postgresql/secret_creds.go index 120104500..535d1c1a6 100644 --- a/builtin/logical/postgresql/secret_creds.go +++ b/builtin/logical/postgresql/secret_creds.go @@ -249,7 +249,7 @@ func (b *backend) secretCredsRevoke( } stmt, err := tx.Prepare(Query(query, map[string]string{ - "name": pq.QuoteIdentifier(username), + "name": username, })) if err != nil { return nil, err