0

MySQL's command line tool has a flag --i-am-a-dummy that sets execution limits:

With --safe-updates, you can modify rows only by specifying the key values that identify them, or a LIMIT clause, or both. This helps prevent accidents. Safe-updates mode also restricts SELECT statements that produce (or are estimated to produce) very large result sets.

Is there a way to turn on similar features in psql?

1 Answer 1

1

There was a proposal for an extension that would do part of this, but it never got finalized. Perhaps another push could get it done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.