mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-25 16:02:27 +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)
|
||||
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;
|
Reference in New Issue
Block a user