Skip to content

Commit f52edd4

Browse files
authored
Use db user when adding tables to replication (#130)
1 parent 6d8440a commit f52edd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pg_easy_replicate/orchestrate.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def add_tables_to_publication(
106106
ADD TABLE #{quote_ident(table_name)}",
107107
connection_url: conn_string,
108108
schema: schema,
109+
user: db_user(conn_string),
109110
)
110111
end
111112
rescue => e

0 commit comments

Comments
 (0)