Revision 7820
Added by Aaron Marcuse-Kubitza over 11 years ago
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
schemas/functions.sql: functions._map(): Made function STRICT because it always returns NULL if either argument is NULL