|
1 |
| -*dbext.txt* For Vim version 6.0. Last change: Sat Feb 19 2005 5:43:26 PM |
| 1 | +*dbext.txt* For Vim version 6.0. Last change: Fri Sep 09 2005 2:11:11 PM |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL
|
|
7 | 7 | David Fishburn < [email protected]>
|
8 | 8 |
|
9 | 9 | Database extension plugin (dbext.vim) manual
|
10 |
| - dbext.vim version 2.20 |
| 10 | + dbext.vim version 2.30 |
11 | 11 |
|
12 | 12 | For instructions on installing this file, type
|
13 | 13 | :help add-local-help
|
14 | 14 | |add-local-help| inside Vim.
|
15 | 15 |
|
16 | 16 | Homepage: http://vim.sourceforge.net/script.php?script_id=356
|
17 |
| -SourceForge: $Revision: 1.20 $ |
| 17 | +SourceForge: $Revision: 1.21 $ |
18 | 18 |
|
19 | 19 | *dbext* *dbext.vim* *db_ext* *db_ext.vim* *database-extension* *pgsql* *mysql*
|
20 | 20 | *asa* *ase* *ingres* *interbase* *sqlite* *sqlsrv* *ora* *db2*
|
@@ -49,6 +49,36 @@ SourceForge: $Revision: 1.20 $
|
49 | 49 | ------------------------------------------------------------------------------
|
50 | 50 | What's New *dbext-new*
|
51 | 51 |
|
| 52 | +Version 2.30 |
| 53 | + |
| 54 | + New Features |
| 55 | + ------------ |
| 56 | + - The result window has a local buffer mapping 'R', which will 'refresh' |
| 57 | + the window. This means it will re-run the previous statement which is |
| 58 | + useful if you are repeatedly checking something in the database. |
| 59 | + - SQL Anywhere (ASA) no longer relies on the jcatalogue tables to be |
| 60 | + installed in the database. System views are used instead. |
| 61 | + - Support for MySQL 5.0 has been added, which includes stored procedures |
| 62 | + and views (as much as the beta allowed). |
| 63 | + - For Postgress SQL you can now optionally enter an owner name to filter by |
| 64 | + when showing list of objects (tables, procedures, views). |
| 65 | + |
| 66 | + Bug Fixes |
| 67 | + ------------ |
| 68 | + - The |alternate-file| is no longer changed the first time the result buffer |
| 69 | + is opened. |
| 70 | + - Using DB2 with db2cmd incorrectly specified the command terminator with |
| 71 | + td, instead of -t. |
| 72 | + - On win32 platforms, if the bin_path has been specified for DB2, then |
| 73 | + add this to the system path since db2cmd relies on other batch files to |
| 74 | + operate correctly. |
| 75 | + - The connection string is displayed by both the Result buffer (first line) |
| 76 | + and the titlestring to the buffer (if enabled). This was not correctly |
| 77 | + appending the user used to connect to the database. |
| 78 | + - When parsing Vim scripts we did not correctly remove a leading line |
| 79 | + continuation slash from the from of a query. |
| 80 | + |
| 81 | + |
52 | 82 | Version 2.20
|
53 | 83 |
|
54 | 84 | New Features
|
@@ -230,7 +260,10 @@ Version 2.00
|
230 | 260 | let g:dbext_default_buffer_lines = 5 (default)
|
231 | 261 | <If you want each buffer to have its OWN Result buffer, you can define: >
|
232 | 262 | let g:dbext_default_use_sep_result_buffer = 1 (default=0)
|
233 |
| -< |
| 263 | +<There is a local buffer mapping created to re-run the statement which |
| 264 | + populated the result window. Pressing 'R' calls the DBRefreshResult |
| 265 | + command. |
| 266 | + |
234 | 267 | 3.2 Script Variables *dbext-configure-variables*
|
235 | 268 |
|
236 | 269 | Global variables: >
|
@@ -534,7 +567,7 @@ Version 2.00
|
534 | 567 |
|
535 | 568 | " Execute the current line
|
536 | 569 | " sql - execute - line
|
537 |
| - nnoremap <unique> <Leader>sea :.,.DBExecRangeSQL |
| 570 | + nnoremap <unique> <Leader>sel :.,.DBExecRangeSQL |
538 | 571 |
|
539 | 572 | " select * from the table under the cursor
|
540 | 573 | " sql - table
|
@@ -636,6 +669,8 @@ Version 2.00
|
636 | 669 | DBListProcedure - Lists all procedures (optional wildcard)
|
637 | 670 | DBListView - Lists all views (optional wildcard)
|
638 | 671 | DBListColumn - Comma separated list of columns for the given table
|
| 672 | + DBRefreshResult - Re-runs the statement currently displayed in the |
| 673 | + result window |
639 | 674 |
|
640 | 675 | ------------------------------------------------------------------------------
|
641 | 676 | 5. Adding new database types *dbext-newdb*
|
@@ -1209,6 +1244,10 @@ To specify the type of database you connect to most often, you can place the
|
1209 | 1244 |
|
1210 | 1245 | Let assume the command did successfully execute against your database.
|
1211 | 1246 |
|
| 1247 | + TIP |
| 1248 | + --- |
| 1249 | + While your cursor is in the result buffer, you can press 'R', and it will |
| 1250 | + re-run the command that created the current results. |
1212 | 1251 |
|
1213 | 1252 |
|
1214 | 1253 | Executing commands
|
|
0 commit comments