diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -269,6 +269,22 @@ Each supported product has a custom variable `sql-*-login-params' | |||
| 269 | which is a list of the parameters to be prompted for before a | 269 | which is a list of the parameters to be prompted for before a |
| 270 | connection is established. | 270 | connection is established. |
| 271 | 271 | ||
| 272 | By default, the value of the parameter is simply prompted for. For | ||
| 273 | `server' and `database', they can be specified in a list as shown | ||
| 274 | below: | ||
| 275 | |||
| 276 | (server :file ARG) | ||
| 277 | (database :file ARG) | ||
| 278 | (server :completion ARG) | ||
| 279 | (database :completion ARG) | ||
| 280 | |||
| 281 | The ARG when :file is specified is a regexp that will match valid file | ||
| 282 | names (without the directory portion). Generally these strings will | ||
| 283 | be of the form ".+\.SUF" where SUF is the desired file suffix. | ||
| 284 | |||
| 285 | When :completion is specified, the ARG corresponds to the PREDICATE | ||
| 286 | argument to the `completing-read' function. | ||
| 287 | |||
| 272 | *** Added `sql-connection-alist' to record login parameter values. | 288 | *** Added `sql-connection-alist' to record login parameter values. |
| 273 | An alist for recording different username, database and server | 289 | An alist for recording different username, database and server |
| 274 | values. If there are multiple databases that you connect to the | 290 | values. If there are multiple databases that you connect to the |