Mercurial > emacs
comparison etc/NEWS @ 110309:14a601b405fc
SQL Mode, Version 2.6
* progmodes/sql.el: Version 2.6
(sql-dialect): Synonym for "sql-product".
(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
(sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
Set "sql-buffer" to buffer name not buffer object so multiple sql
interactive buffers work properly. Reverts misguided changes in
earlier work.
(sql-comint): Make sure different buffer name is used if "*SQL*"
buffer is for a different product.
(sql-make-alternate-buffer-name): Fix bug with "sql-database"
login param.
(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
(sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
Accept new buffer name or prompt for one.
(sql-port): Default to zero.
(sql-comint-mysql): Handle "sql-port" as a numeric.
(sql-port-history): Delete unused variable.
(sql-get-login): Default "sql-port" to a number.
(sql-product-alist): Correct Postgres prompt and terminator
regexp.
(sql-sqlite-program): Dynamically detect presence of "sqlite" or
"sqlite3" executables.
(sql-sqlite-login-params): Add "*.sqlite[23]?" database name
pattern.
(sql-buffer-live-p): New function.
(sql-mode-menu, sql-send-string): Use it.
(sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
syntax pattern.
(sql-mode-postgres-font-lock-keywords): Support Postgres V9.
(sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
author | Michael Mauger <mmaug@yahoo.com> |
---|---|
date | Fri, 10 Sep 2010 23:17:02 -0400 |
parents | b10051866f51 |
children | 9b5623e06689 |
comparison
equal
deleted
inserted
replaced
110308:74362068fc07 | 110309:14a601b405fc |
---|---|
315 | 315 |
316 *** Several variables have been marked as safe local variables. The | 316 *** Several variables have been marked as safe local variables. The |
317 variables `sql-product', `sql-user', `sql-server', `sql-database' and | 317 variables `sql-product', `sql-user', `sql-server', `sql-database' and |
318 `sql-port' can now be safely used as local variables. | 318 `sql-port' can now be safely used as local variables. |
319 | 319 |
320 *** `sql-dialect' is a synonym for `sql-product'. | |
321 | |
320 *** Added ability to login with a port on MySQL. | 322 *** Added ability to login with a port on MySQL. |
321 The custom variable `sql-port' can be specified for connection to | 323 The custom variable `sql-port' can be specified for connection to |
322 MySQL servers. | 324 MySQL servers. |
325 | |
326 *** Dynamic selection of product in an SQL interactive session. | |
327 If you use `sql-product-interactive' to start an SQL interactive | |
328 session it uses the current value of `sql-product'. Preceding the | |
329 invocation with C-u will force it to ask for the product before | |
330 creating the session. | |
331 | |
332 *** Renaming a SQL interactive buffer when it is created. | |
333 Prefixing the SQL interactive commands (`sql-sqlite', `sql-postgres', | |
334 `sql-mysql', etc.) with C-u will force a new interactive session to be | |
335 started and will prompt for the new name. This will reduce the need | |
336 for `sql-rename-buffer' is most common use cases. | |
323 | 337 |
324 *** Command continuation prompts in SQL interactive mode are suppressed. | 338 *** Command continuation prompts in SQL interactive mode are suppressed. |
325 Multiple line commands in SQL interactive mode, generate command | 339 Multiple line commands in SQL interactive mode, generate command |
326 continuation prompts which needlessly confuse the output. These | 340 continuation prompts which needlessly confuse the output. These |
327 prompts are now filtered out from the output. This change impacts | 341 prompts are now filtered out from the output. This change impacts |