mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
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:
@ -7,15 +7,13 @@ BEGIN;
|
|||||||
--
|
--
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION varnish_purge(url text)
|
CREATE OR REPLACE FUNCTION varnish_purge(url text)
|
||||||
RETURNS bigint
|
RETURNS void
|
||||||
AS $$
|
AS $$
|
||||||
SELECT 1::bigint;
|
|
||||||
$$ LANGUAGE 'sql';
|
$$ LANGUAGE 'sql';
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION varnish_purge_expr(url text)
|
CREATE OR REPLACE FUNCTION varnish_purge_expr(expr text)
|
||||||
RETURNS bigint
|
RETURNS void
|
||||||
AS $$
|
AS $$
|
||||||
SELECT 1::bigint;
|
|
||||||
$$ LANGUAGE 'sql';
|
$$ LANGUAGE 'sql';
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
Reference in New Issue
Block a user