mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-01 15:54:53 +00:00

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.
19 lines
342 B
PL/PgSQL
19 lines
342 B
PL/PgSQL
BEGIN;
|
|
|
|
--
|
|
-- "cheating" version of the varnish_purge() function
|
|
-- that can be used on a local installation that doesn't
|
|
-- have any frontends.
|
|
--
|
|
|
|
CREATE OR REPLACE FUNCTION varnish_purge(url text)
|
|
RETURNS void
|
|
AS $$
|
|
$$ LANGUAGE 'sql';
|
|
|
|
CREATE OR REPLACE FUNCTION varnish_purge_expr(expr text)
|
|
RETURNS void
|
|
AS $$
|
|
$$ LANGUAGE 'sql';
|
|
|
|
COMMIT; |