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

Change logic for from_pg to from_couch #5

Open
sysadminmike opened this issue Dec 17, 2014 · 2 comments
Open

Change logic for from_pg to from_couch #5

sysadminmike opened this issue Dec 17, 2014 · 2 comments

Comments

@sysadminmike
Copy link
Owner

Need to modify the sql in the library and trigger.

Update readme accordingly

I dont think its possible not to do this without somehow identifying to the trigger where the query came from

@sysadminmike
Copy link
Owner Author

Maybe look at doing something with INSERT/UPDATE/DELETE in the trigger so they are converted into bulk requests with bulk size of 1 - ie emulate the current couch_put and do the backend json update work.

@sysadminmike
Copy link
Owner Author

Investigate if postgres function can bypass a trigger

if so then modify the node update/insert/delete stuff to use a function instead of calling INSERT/UPDATE/DELETE with from_couch set

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