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

function musicbrainz_unaccent(character varying) does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • None
    • Admin
    • None

      I get the following error on my Debian stable (squeeze) box:

      DBD::Pg::st execute failed: ERROR:  function musicbrainz_unaccent(character varying) does not exist
      LINE 1: SELECT  regexp_replace(upper(substr(musicbrainz_unaccent( $1...
                                                  ^
      HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
      QUERY:  SELECT  regexp_replace(upper(substr(musicbrainz_unaccent( $1 ), 1, 6)), '[^A-Z ]', '_', 'g')
      CONTEXT:  PL/pgSQL function "page_index" line 7 at assignment at /home/weisslj/src/musicbrainz-server/admin/replication/../../lib/Sql.pm line 103.
      

      It works however on my Debian unstable box. I installed both postgresql extensions successfully, and they work when testing them manually:

      $ psql -U musicbrainz musicbrainz_db
      musicbrainz_db=> select musicbrainz_unaccent('asd');
       musicbrainz_unaccent 
      ----------------------
       asd
      (1 row)
      

      How could I further test what is going wrong here?

            Unassigned Unassigned
            hrglgrmpf Johannes W
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package