[ic] Interchange6::Schema

Kaare Rasmussen kaare at jasonic.dk
Sat Dec 14 10:33:58 UTC 2013


Hi Racke

A pull request using Getopt::Long has been sent. I guess there are 
others that could do a better job, but I don't know them. I saw a 
presentation telling there are 63 cli option modules...

Anyway, I paramererized the mysql and postgres versions and made a 
--clean option.

Turns out SQL::Translator will produce IF EXISTS for postgres versions 
 >= 8.2. A reasonable default is 9.

> On 12/14/2013 10:55 AM, Kaare Rasmussen wrote:
>> Hi Jon
>>
>>> Having said that, if you want to work up a patch to the script that generates the SQL, bin/interchange6-create-database, that would be great. Perhaps a similar -c / --clean option like pg_dump has that would
>> Which of the many command line option handlers do we prefer?
>>
> Well, I don't really have a preference on that. Automatic generation of --help would be a plus though.
>
> Regards
> 	Racke
>




More information about the interchange-users mailing list