Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-1109

Copying edit notes fails

XMLWordPrintable

      The process ran smooth until copying edit notes:

      Insert edit notes
      DBD::Pg::db pg_putcopyend failed: ERROR: extra data after last expected column
      CONTEXT: COPY edit_note, line 975742: "567,188,65154,"[<a href=""http://www.lifeinparis.com/dcd/dcddiscomain.php?&ANNEE=1993&BAND=DC"">http..." at ./edits.pl line 60.

      Debug output for another case:

      in: 566,65103,188,"""Thee"" is how it is on the album cover, not a typo",
      out: 566,188,65103,"""Thee"" is how it is on the album cover, not a typo",

      Its seems double quotes give it issues – this is an issue on how Text::CSV and Postgres' idea of CSV work.

            acid2 Oliver Charles
            rob Robert Kaye
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                NGS - Release Candidate 1