repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Remove $wgDebugFunctionEntry, unused
[mediawiki.git]
/
tests
/
phpunit
/
data
/
db
/
postgres
/
functions.sql
blob
3086d4d5a6177cfec48620eecbb4c490bc0c0d34
1
-- Postgres test file for DatabaseTest::testStoredFunctions()
2
3
CREATE FUNCTION mw_test_function()
4
RETURNS INTEGER
5
LANGUAGE plpgsql AS
6
$mw$
7
DECLARE foo INTEGER;
8
BEGIN
9
foo := 21;
10
RETURN foo * 2;
11
END
12
$mw$;