Skip to content

(ISSUE-272) Allow to disable mod plugin in sync_triggers - #273

Merged
marksteward merged 2 commits into
sqlalchemy-continuum:masterfrom
nanvel:ISSUE-272-kwargs_for_sync_triggers
Apr 18, 2022
Merged

marksteward merged 2 commits into
sqlalchemy-continuum:masterfrom
nanvel:ISSUE-272-kwargs_for_sync_triggers

Conversation

@nanvel

@nanvel nanvel commented Apr 17, 2022

Copy link
Copy Markdown
Contributor

The pg audit function was failing because it is built with _mod feature enabled by default.

There are a few ways to disable it, I had to copy/change sync_triggers, and I see other developers fork the repository. Neither of the solutions is good.

This PR allows passing create_triggers arguments as sync_triggers kwargs.

I don't see a good way to detect if the plugin is enabled in sync_triggers.

@marksteward

Copy link
Copy Markdown
Collaborator

Thanks for this! I don't use the trigger-based versioning, so please let me know if there are any other outstanding issues and I'll put aside some time to improve documentation. I'm currently aware of #272 and #114.

@marksteward
marksteward merged commit 92eeb1e into sqlalchemy-continuum:master Apr 18, 2022
@nanvel
nanvel deleted the ISSUE-272-kwargs_for_sync_triggers branch April 18, 2022 15:43
AbdealiLoKo pushed a commit to AbdealiLoKo/sqlalchemy-continuum that referenced this pull request Aug 23, 2022
Pass sync_triggers kwargs through to create_triggers

Allows use of native versioning without mod tracking
indiVar0508 pushed a commit to indiVar0508/sqlalchemy-continuum that referenced this pull request Sep 11, 2022
Pass sync_triggers kwargs through to create_triggers

Allows use of native versioning without mod tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants