Skip to content

v0.2.0

Choose a tag to compare

@hymkor hymkor released this 15 Apr 09:43
· 843 commits to master since this release
  • Insert # at the beginning of each line of spooled SQL ( grep -v "^#" FILENAME can extract only CSV data )
  • Fix for go-readline-ny v0.10.1 ( The return values of Coloring interface methods are changed from int to readline.ColorSequence )
  • Enabled automatic rollback by default on errors except for Oracle (Previously, when using PostgreSQL, we used to roll back. The point is, when the number of supported DBs increases in the future, which one will be the default)
  • On error, contain "(%T)" (type of error) into error message
  • Implemented automatic rollback of a transaction on 'exit', 'quit', or EOF

  • スプールされた SQL の各行の先頭に # を挿入 ( grep -v "^#" FILENAME で、CSVデータのみが取り出せる)
  • go-readline-ny v0.10 のための修正(色付けinterfaceの戻り値が int から readline.ColorSequence 型にかえる対応)
  • Oracle以外ではデフォルトでエラー時に自動でロールバックするようにした(前は PosgreSQL の時はロールバックするようにしていた。要は今後サポート DB が増えたときにどちらがデフォルトにするかという話)
  • エラー時、メッセージに (%T) (エラーの型)を含むようにした
  • exit , quit , EOF で終了する際、トランザクションを自動的にロールバックするようにした。