This is a discussion on RE: [Info-Ingres] Another Ingres config file question within the Ingres forums, part of the Database Server Software category; --> It would be nice if the entire binary config file could be replaced with a nice text file version. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| It would be nice if the entire binary config file could be replaced with a nice text file version. e.g. # Configuration File for db1 WorkLocation=/fs1/Ingres/Work DataLocation=/fs1/Ingres/Data/Default/db1 LastTableName=aaacccdbd LastJournal=00055 Checkpoint1=24-Sept-2004 10:23:23 Checkpoint2=25-Sept-2004 10:33:23 etc. Then a utility similar to "ingsetenv" could be used to edit it (so that the Ingres DBMS can be kept up to date with the latest changes). e.g. ingsetcfg db1 "LastJournal=00056" Anyone fancy hacking the source code? :-) Or I suppose another idea would be to replace it with extra tables within iidbdb and get rid of configuration files altogether. -----Original Message----- From: info-ingres-bounces@ams.org [mailto:info-ingres-bounces@ams.org] On Behalf Of Laframboise André Sent: 26 October 2004 15:02 To: 'info-ingres@ams.org ' Subject: [Info-Ingres] Another Ingres config file question Hi Guys, I wrote a small program to modify the Ingres config file in order to implement a poor man's version of a replicator. Pretty straight foward. One thing I do is modify all directory path names with a new one of the same lenght. That's because each string in the file is prefixed with a string lenght value. It works OK but I would like to make the program more dynamic. I currently have to re-code/re-compile if the source database changes. i.e. gets a new data/work location, etc. Now that Ingres is open source, does that mean the structure of the config file is available ? Just wonderin'... Andre _______________________________________________ Info-ingres mailing list |
| Thread Tools | |
| Display Modes | |
|
|