You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the fallback workflow, for the import data to source command, after cutover to target, we ask users to disable triggers and drop FK constraints on the source.
To avoid this manual effort of disable or drop the trigger and FKs and then re-enable or recreate them after cutover to source, import data to source command can set the session_replication_role if it has privileges that will disable the triggers and FK internally.
On PostgreSQL 15+, there is a GRANT statement that will grant the use of this session parameter to any user.
GRANT SET ON PARAMETER session_replication_role to <ybvoyager_user>;
But on PostgreSQL < 15, there is only superuser privilege which will allow using this session parameter.
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
I confirm this issue does not contain any sensitive information.
The text was updated successfully, but these errors were encountered:
Jira Link: DB-15294
Description
In the fallback workflow, for the
import data to source
command, aftercutover to target,
we ask users to disable triggers and drop FK constraints on the source.To avoid this manual effort of disable or drop the trigger and FKs and then re-enable or recreate them after
cutover to source
,import data to source
command can set thesession_replication_role
if it has privileges that will disable the triggers and FK internally.On PostgreSQL 15+, there is a GRANT statement that will grant the use of this session parameter to any user.
But on PostgreSQL < 15, there is only superuser privilege which will allow using this session parameter.
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: