Fix function signatures of varnish sql funcs in dev env

This should be the same as are used in the prodiction. We don't use them
in a way that has any effect on this today, but in case we do in the
future.
This commit is contained in:
Magnus Hagander
2018-07-06 15:08:36 +02:00
parent bdd5a0de33
commit 8306ebdf8e

View File

@ -7,15 +7,13 @@ BEGIN;
--
CREATE OR REPLACE FUNCTION varnish_purge(url text)
RETURNS bigint
RETURNS void
AS $$
SELECT 1::bigint;
$$ LANGUAGE 'sql';
CREATE OR REPLACE FUNCTION varnish_purge_expr(url text)
RETURNS bigint
CREATE OR REPLACE FUNCTION varnish_purge_expr(expr text)
RETURNS void
AS $$
SELECT 1::bigint;
$$ LANGUAGE 'sql';
COMMIT;