Unix Technical Forum

RE: [Info-Ingres] Another Ingres config file question

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. ...


Go Back   Unix Technical Forum > Database Server Software > Ingres

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 07:29 PM
M.Cressey
 
Posts: n/a
Default RE: [Info-Ingres] Another Ingres config file question

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com