Looks very useful, gOn++. Am I right in thinking that this only applies to DBI? If so, I'd really suggest a name in the DBIx::* hierarchy since Data:: applies, in my mind to all kinds of data, not just DBI. I suggest you drop a note to dbi-users@perl.org mentioning the url of this node so the folks over there can get in on the RFC. Also, you should make it explicit what happens in these cases: a) when you try to merge a column of one type in a db with a column of another type in the second db and b) when the length of the data in one db is different from that in the second e.g. you try to put a VARCHAR(50) value into a VARCHAR(10) column.

Also, is this meant to only work on two database in the same RDBMS or is it meant to be able to go, e.g. from a MySQL database to a Pg database?


In reply to Re: RFC: Data::Sync by jZed
in thread RFC: Data::Sync by g0n

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.