From f4a63c159a1dd2723e59737ddbe55fdb01eaa185 Mon Sep 17 00:00:00 2001 From: Brooke Hamilton Date: Fri, 10 Jul 2020 17:41:50 -0400 Subject: [PATCH] Detail on postgre connection strings --- howto/setup-state-store/setup-postgresql.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/howto/setup-state-store/setup-postgresql.md b/howto/setup-state-store/setup-postgresql.md index 53e54ab17..c94388365 100644 --- a/howto/setup-state-store/setup-postgresql.md +++ b/howto/setup-state-store/setup-postgresql.md @@ -24,7 +24,9 @@ Either the default "postgres" database can be used, or create a new database for ## Create a Dapr component -Create a file called `postgres.yaml`, paste the following and replace the `` value with your connection string. If you want to also configure PostgreSQL to store actors, add the `actorStateStore` configuration element shown below. +Create a file called `postgres.yaml`, paste the following and replace the `` value with your connection string. The connection string is a standard PostgreSQL connection string. For example, `"host=localhost user=postgres password=example port=5432 connect_timeout=10 database=dapr_test"`. See the PostgreSQL [documentation on database connections](https://www.postgresql.org/docs/current/libpq-connect.html), specifically Keyword/Value Connection Strings, for information on how to define a connection string. + +If you want to also configure PostgreSQL to store actors, add the `actorStateStore` configuration element shown below. ```yaml apiVersion: dapr.io/v1alpha1