bilgihan;29001 Wrote:
Quote:
I've checked in source code imadb object definitions. Their objects have
been defined as 'exp.xxx.yyy...'.
Cannot we define infodb data structure on the same way, so it can be
used within imadb too? |
Unfortunately I don't think that is practical. The IMA data points are
basically a way to present variables within the DBMS server (and other
components) from SQL queries. The server doesn't keep a copy of the DB
config data around at all times, not even for open databases, so there
would be nothing for IMA to point to.
There is a built-in DB procedure ii_read_config_value that lets you
read some config file values, but it was designed for upgradedb and the
range of things you can read is very small. Also, I'm not sure that
non-privileged programs can use it. It might be possible for someone
(else!) to expand ii_read_config_file to return more "stuff". However I
think it would be easier to produce an alternate parse-able infodb.
--
kschendel