2.0 to 2.1 upgrade script. Problem with force_unicode_normal_form

Bug #825881 reported by Bill Ott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Undecided
Unassigned

Bug Description

Line 2688:
   DROP FUNCTION IF EXISTS public.force_unicode_normal_form (TEXT,TEXT);

Line 6003:
  UPDATE metabib.facet_entry SET value = evergreen.force_unicode_normal_form(value,'NFC');

Without a CREATE FUNCTION between them...

Revision history for this message
Bill Ott (bott) wrote :

Doh! schema. Disregard.

Revision history for this message
Bill Ott (bott) wrote :

Should line 41 be:

        NEW.value := evergreen.force_unicode_normal_form(NEW.value,'NFC');

instead of:

       NEW.value := force_unicode_normal_form(NEW.value,'NFC');

Since it's no longer public?

Revision history for this message
Mike Rylander (mrylander) wrote :

Because of the new search_path rule, it doesn't have to be qualified. However, that would be more clear. Leaving this bug open to keep it on the radar.

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Is this relevant any longer?

Changed in evergreen:
status: New → Incomplete
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Hasn't been fixed by now, probably never will be.

Changed in evergreen:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.