Tuesday, December 1, 2009

dbext multiple profiles for same server

these are my current profiles for dbext in my .vimrc file:
let g:dbext_default_profile_chris_emeadb11 =
'type=ORA:user=chris:passwd=****:host=10.165.248.252:port=1521:srvname=emeadb11'
"let g:dbext_default_profile_chris_emeadb =
'type=ORA:user=chris:passwd=****:host=10.165.252.86:port=1521:srvname=emeadb'
let g:dbext_default_profile_kcierpisz_mktgcd =
'type=ORA:user=kcierpisz:passwd=****:srvname=mktgcd'
let g:dbext_default_profile_glm_tsbu64 =
'type=ORA:user=glm:passwd=****:srvname=tsbu64'
let g:dbext_default_profile_kcierpiszjupiter =
'type=ORA:user=kcierpisz:passwd=****:srvname=jupiterdb.us.oracle.com'

and it works fine,

when I add one more profile:
let g:dbext_default_profile_computerprofile =
'type=ORA:user=computerprofile:passwd=****:srvname=jupiterdb.us.oracle.com'

I get following error when trying to select then profile to run some
sql snippet:

0. None
1. chris_emeadb11
2. computerprofile
3. glm_tsbu64
4. kcierpisz_mktgcd
5. kcierpisz_mktgcd_dbi
6. kcierpiszjupiter

I select 2

dbext: Profiles cannot be nested
dbext: Profiles cannot be nested
dbext:A valid database type must be chosen

how can i correct that?

thanks,
chris

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment