Created
January 4, 2013 19:57
-
-
Save akahn/4455429 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >> connection = PGconn.new(...) | |
| >> connection.exec('update foo set bar=true') # long running query | |
| ^C^C^C^C^C^C | |
| # Can't cancel the query | |
| >> connection.async_exec('update foo set bar=true') # long running query | |
| ^C | |
| >> | |
| # Control is returned to the prompt but query is still executing |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is on MRI 1.9.3 on Linux, btw.