We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff46f96 commit e856713Copy full SHA for e856713
1 file changed
ob-sql.el
@@ -84,7 +84,8 @@
84
'postgres "\\set ON_ERROR_STOP 1
85
\\pset footer off
86
\\pset pager off
87
-\\pset format unaligned")
+\\pset format unaligned"
88
+ 'mysql "\\n")
89
"Command preamble to run upon shell start.")
90
(defvar org-sql-session-command-terminated nil)
91
(defvar org-sql-session--batch-terminate "---#" "To print at the end of a command batch.")
@@ -94,8 +95,9 @@
94
95
"Print the command batch termination as last command.")
96
(defvar org-sql-terminal-command-prefix
97
(list 'sqlite "\\."
- 'postgres "\\\\")
98
- "Identify a command for the SQL shell.")
+ 'postgres "\\\\"
99
+ 'mysql "\\\!")
100
+ "Identify a command for the SQL shell.")
101
(defvar org-sql-environment
102
(list 'postgres '(("PGPASSWORD" sql-password))))
103
(defvar org-sql-session-clean-output nil
0 commit comments