Project

General

Profile

« Previous | Next » 

Revision 10315

bugfix: schemas/util.sql: _map(map hstore, value anyelement): need to cast result to unknown to support types that don't have a cast directly from text

View differences:

schemas/util.sql
295 295
    LANGUAGE plpgsql IMMUTABLE STRICT
296 296
    AS $$
297 297
DECLARE
298
    result value%TYPE := util._map(map, value::text);
298
    result value%TYPE := util._map(map, value::text)::unknown;
299 299
BEGIN
300 300
    RETURN result;
301 301
END;

Also available in: Unified diff