Revision 8149
Added by Aaron Marcuse-Kubitza almost 12 years ago
schemas/functions.sql | ||
---|---|---|
649 | 649 |
value text; |
650 | 650 |
BEGIN |
651 | 651 |
EXECUTE $$SELECT "to" FROM $$||map||$$ WHERE "from" = $1$$ |
652 |
INTO STRICT value USING key;
|
|
652 |
INTO value USING key; |
|
653 | 653 |
RETURN value; |
654 | 654 |
END; |
655 | 655 |
$_$; |
Also available in: Unified diff
schemas/functions.sql: map_get(): Fixed bug where can't use STRICT in EXECUTE INTO because there will sometimes be no match, causing a "query returned no rows" error