Commit debb7da3 authored by Dries's avatar Dries
Browse files

- Patch #39019 by Cvbge: set search_path for functions in database.pgsql.

parent 679649ba
......@@ -872,6 +872,9 @@ ALTER SEQUENCE menu_mid_seq RESTART 3;
--- Functions
---
--- Always installed in 'public' as prefix isn't appended to function names
SET search_path TO public;
CREATE OR REPLACE FUNCTION "greatest"(numeric, numeric) RETURNS numeric AS '
SELECT CASE WHEN (($1 > $2) OR ($2 IS NULL)) THEN $1 ELSE $2 END;
' LANGUAGE 'sql';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment