Re: refdb db in menu?
Michael Smith <[email protected]>
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <20031213103445.GA528@theThirdPoliceman> |
Markus Hoenicka <[email protected]> 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
signature.asc
(application/pgp-signature, 155 B)
-----BEGIN PGP SIGNATURE----- iD8DBQE/2utFsGCNMsnBsxkRAp28AJ4wA6vGUA+/kd3mvBRCqF1XWbvzmQCePSyQ UtS0WV6OfdY7LqToLbuE4hk= =N4uV -----END PGP SIGNATURE-----