Re: [Refdb-devel] refdb db in menu?
Status: Beta
Brought to you by:
mhoenicka
From: Michael S. <sm...@xm...> - 2003-12-13 10:34:57
|
Markus Hoenicka <mar...@mh...> writes: > Bruce D'Arcus writes: > > > > Question: > > > > Should the base db (now called "refdb") be included in the list of dbs > > in the menu? > > > > I'm not sure how to handle this intelligently. In a shared environment > you'll always face the problem that your database engine hosts a > variety of databases that do not belong to RefDB. You should exclude > these as well. The only way that I can think of is to stick to a > name pattern for RefDB databases and run listdb with an appropriate > regexp. Maybe the menu code can use a regexp if one is set in .emacs? Yes -- it actually already have the refdb-listdb-sql-regexp variable in there already to support just that. The default for it is "%". But as far as the base db named "refdb" goes, users should never be directly adding any data to that via refdbc -C addref or whatever, right? If so, then I will have the code not add it to the menu. --Mike |