> > This seems an area where providing consistent cross- platform > behavior > > might be difficult. Do we actually need this functionality inside the > > > DBMS in the first place? > > It sounds like we should probably just shelve the idea of sharing this > code. It is very useful to us, since it allows a single database > connection to monitor the health of the database and detect impending > failure. Having our monitoring software need to know the operating > system of each database, with security to log into the OS of each > machine, would be far worse from a security standpoint, more fragile, > and more work than adding these functions to the database. But no
Why don't you have a process on the machine update a set of values in the database that you then read from remote? You don't need to know the free diskspace in real time. A 2 minute old value is probably just as good. -- ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match