<div dir="ltr">Hi<div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Taking a step back for a moment, why is an SQL database the best way<br>
to store this data? What sorts of queries are you going to want to<br>
run on it? Would a text (Tcl array) representation similar to the<br>
PortIndex be a better fit?<br><br>
<br>
We need to store all the information about the existing state of the ports first, then uninstall all the ports and re-install on the updated OS after self-updating using the info we have in the database. So, we can't have a temporary kind of Tcl array representation.<br>
</blockquote>
<br></span>
A Tcl array representation doesn't have to be temporary. It can easily be written to a file.<br>
<br>
If the only operations are going to be storing the list of ports and then reinstalling all the ports in the list, that says to me that SQL is much more complexity than you need.</blockquote><div><br></div><div>I'll check with my mentor. I may not have been clear in explaining the need for SQL or Tcl array representation could be an easy way go.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In registry2 parlance, "imaged" means installed and "installed" means active. Confusing I know.<br></blockquote><div><br></div><div>Thanks for the clarification.</div><div><br></div><div>- Umesh </div></div><br></div></div></div>