We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Because Postgres doesn't allow PREPARE of transactions that have notified:
cannot PREPARE a transaction that has executed LISTEN, UNLISTEN, or NOTIFY
whimper.
The notify wouldn't necessarily have to be in the same transaction as writing to the queue.
I'm going to try to hack around this:
Remove the trigger after calling create()
Modify my code to notify in an after commit hook.
No action for you at this time. This is a FYI.
The text was updated successfully, but these errors were encountered:
I just released:
https://pypi.python.org/pypi/psycopg2transaction
To use this with pq, I have to remove the trigger and then get psycopg2transaction to send the notification:
psycopg2transaction
https://github.com/zc/twotieredkanban/blob/master/server/zc/twotieredkanban/email.py
It would be nice of create had an option to not create the trigger, but it's easy enough to drop it after the fact.
create
Sorry, something went wrong.
No branches or pull requests
Because Postgres doesn't allow PREPARE of transactions that have notified:
whimper.
The notify wouldn't necessarily have to be in the same transaction as writing to the queue.
I'm going to try to hack around this:
Remove the trigger after calling create()
Modify my code to notify in an after commit hook.
No action for you at this time. This is a FYI.
The text was updated successfully, but these errors were encountered: