Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with citus triggers #2

Open
coco98 opened this issue Nov 28, 2018 · 0 comments
Open

Test with citus triggers #2

coco98 opened this issue Nov 28, 2018 · 0 comments

Comments

@coco98
Copy link
Contributor

coco98 commented Nov 28, 2018

Just had a conversation with Craig today. This landed at citus a few weeks ago:
http://docs.citusdata.com/en/v8.0/extra/triggers.html

At a high-level, Craig said that our updatable views system which uses triggers to enforce ACL can work if the trigger instrumentation is on the coordinator database. When the coordinator rewrites queries for the sharded tables and pushes that out, everything should just work. Triggers running on the sharded database won't work because set local will not be passed down to them.

Let's try things out with citus again and depending on issues we run into we can talk to the engineering folks at Citus to help us out.

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

No branches or pull requests

1 participant