Skip to content

Commit a2a74fb

Browse files
Merge pull request #7521 from segmentio/charholt-patch-1
Adding clarity on permissions when using the same user from destination
2 parents 4686d38 + 38f804c commit a2a74fb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/connections/reverse-etl/reverse-etl-source-setup-guides/postgres-setup.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,10 @@ To set up Postgres with Reverse ETL:
4040

4141
* Give the `segment` user write permissions for the Segment managed schema (`__SEGMENT_REVERSE_ETL`), which keeps track of changes to the query results.
4242

43-
After you've successfully added your Postgres source, [add a model](/docs/connections/reverse-etl/setup/#step-2-add-a-model) and follow the rest of the steps in the Reverse ETL setup guide.
43+
After you've successfully added your Postgres source, [add a model](/docs/connections/reverse-etl/setup/#step-2-add-a-model) and follow the rest of the steps in the Reverse ETL setup guide.
44+
45+
### How to use the same user for a Postgres destination and Reverse ETL source
46+
If you’re using the same database user for both a Segment [Postgres warehouse destination](/docs/connections/storage/catalog/postgres/) (where Segment writes data into Postgres) and Reverse ETL source (where Segment reads data from Postgres), make sure the user has:
47+
- SELECT or READ access on all source tables for Reverse ETL
48+
- CREATE SCHEMA `__SEGMENT_REVERSE_ETL` permission (or ability to use an existing schema)
49+
- INSERT, UPDATE, and DELETE permissions on tables within `__SEGMENT_REVERSE_ETL`

0 commit comments

Comments
 (0)