Skip to main content

Community

Destination Improvement: Disable trigger / index / constraints for postgres

Please sign in to leave a comment.

Comments

2 comments

  • Mark Van de Wiel User

    Hi Tushar,

    Let me find out if we can do this and if so, when we might slit this in.

    Thanks,
    Mark.

  • Mark Van de Wiel User

    Hi Tushar,

    You can disable trigger firing etc. using the following approach.

    Create an action Environment for the PostgreSQL destination, with:
    Name=HVR_SQL_INIT
    Value=SET session_replication_role = 'replica';

    Hope this helps.

    Mark.