pgcli
pgcli copied to clipboard
Feature Request: Show how many rows are going to be altered alongside "you're about to run a destructive command"
That's quite difficult or fragile, depending on how you approach it: that would need to execute the statement within its own transaction that gets rolledback at end.
As noted by @lelit, I cannot be done without actually executing the query. Even if we did create a savepoint/transaction for that (and rollback), what if the query takes hours?
I am closing this.