Re: [tkined] Postgres support built into Scotty?

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 4 Aug 1998 18:52:25 +0200

>>>>> Sean Watkins (northrock) writes:

Sean> With this in mine, I'm interested in having "tickets" written to
Sean> a postgres Table whenever tkined notices something down;
Sean> whenever traps are generated... etc.

Sean> Reading the source, it appears that scotty supports mSQL which
Sean> is great. However all our other "in-house" unix based RDBMS
Sean> runs in Postgres. Is there an easy 1.2.3.... way to change the
Sean> "configure" script or "hooks" to build in Postgres support?

There is no real support for databases in the sense that the scripts
do something like you described above. And even the msql support in
the C code is going away because the msqltcl interface is now a
dynamically loadable module.

So yes, you have to add a yew lines Tcl here and there to make things
work like you want them to work. (It would be cool if Tcl had a RDBMS
independent DB API which would offer core relational operations, but
which would work with whatever RDBMS backend you have. Something like
this could probably be written on top of the various existing Tcl APIs
- but I never looked closer into this issue.)
Juergen

Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3289)

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.