Fixing that PostgreSQL upgrade problem was extremely painful with our text-replace based database script generation technique. Take a look at the stuff I committed yesterday if you don't believe me. So after I finished the work, I replaced the text-replace stuff with a much more powerful and flexible generator: Velocity (driven by the Texen task). I've got code ready to commit. The proposal is here:

http://rollerweblogger.org/wiki/Wiki.jsp? page=Proposal_VelocityGeneratedDatabaseScripts

DIFF says the scripts I'm generating with the new technique are identical to the old scripts. I'd like to commit this stuff today in the trunk. No matter how you feel about generating database scripts (I'm for it), you have to admit that this is a big improvement over text-replace.

Any objections to this proposal?

- Dave




Reply via email to