bgschiller / postgres_kernel

A simple Jupyter kernel for PostgreSQL
MIT License
64 stars 19 forks source link

Add autocommit switch #14

Closed KeynesYouDigIt closed 6 years ago

KeynesYouDigIt commented 6 years ago

adds AUTOCOMMIT_SWITCH which detects user input after --autocommit:. Commits the current transaction and then sets autocommit to true or false (case insensitive). Throws descriptive error if input is incorrect.