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
https://github.com/aamine/activerecord4-redshift-adapter/blob/master/lib/active_record/connection_adapters/redshift_adapter.rb#L247 runs DISCARD ALL, but that's not valid in Redshift, so it throws an exception instead:
DISCARD ALL
# DISCARD ALL; ERROR: syntax error at or near "DISCARD" LINE 1: DISCARD ALL; ^
This should probably be replaced with something like pg_terminate_backend, but that might not behave exactly the same way.
pg_terminate_backend
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
https://github.com/aamine/activerecord4-redshift-adapter/blob/master/lib/active_record/connection_adapters/redshift_adapter.rb#L247 runs
DISCARD ALL
, but that's not valid in Redshift, so it throws an exception instead:This should probably be replaced with something like
pg_terminate_backend
, but that might not behave exactly the same way.The text was updated successfully, but these errors were encountered: