From: Paul V. <pa...@vi...> - 2007-06-20 12:07:00
|
Hi Norman, > Thanks again for your help on the limbo transactions. One question = though,=20 > in your example you show a run of gstat with a databases name of=20 > localhost:filename - this appears to work in your example, but I = thought=20 > gstat had to be run locally. When I try a 'remote' path like yours, I = simply=20 > get file not found errors. I'm using v2.0 though - so it could be that.= =20 No, you're right, gstat doesn't do remote databases. The "localhost:" was= there because during testing I copied the connect string from the gfix = command issued earlier. However, the fact that this doesn't generate an = error made me wonder if gstat would really connect to localhost. So I = replaced "localhost:" with "sofa:" (the machine name) and it still = worked. After that, I used various existing and non-existing host names = and IP numbers and it kept working (provided the path was correct *on my = local machine*). As it turns out, you can (with 1.5) prepend almost any kind of nonsense = followed by a ":" and gstat will simply strip it. Only if the connect = string contains 3 or more colons will you get a syntax error (on Windows!= I presume it's 2 on Linux). This may be something to add to the gstat = chapter, when the time comes. Greetings, Paul Vinkenoog |