Project

General

Profile

« Previous | Next » 

Revision 7820

schemas/functions.sql: functions._map(): Made function STRICT because it always returns NULL if either argument is NULL

View differences:

schemas/functions.sql
236 236
--
237 237

  
238 238
CREATE FUNCTION _map(map hstore, value text) RETURNS text
239
    LANGUAGE plpgsql IMMUTABLE
239
    LANGUAGE plpgsql IMMUTABLE STRICT
240 240
    AS $$
241 241
DECLARE
242 242
    match text := map -> value;

Also available in: Unified diff