/ db / functions /
/db/functions/template.m4
1 dnl Copyright (C) 2015 The Meme Factory, Inc., http://www.meme.com/
2 dnl
3 dnl This file is part of Gombe-MI.
4 dnl
5 dnl Gombe-MI is free software; you can redistribute it and/or modify
6 dnl it under the terms of the GNU General Public License as published by
7 dnl the Free Software Foundation; either version 3 of the License, or
8 dnl (at your option) any later version.
9 dnl
10 dnl This program is distributed in the hope that it will be useful,
11 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 dnl GNU General Public License for more details.
14 dnl
15 dnl You should have received a copy of the GNU General Public License
16 dnl along with Gombe-MI. If not, see <http://www.gnu.org/licenses/>.
17 dnl
18 dnl Template function, never executed.
19 dnl
20 dnl Karl O. Pinc <kop@meme.com>
21 dnl
22 dnl
23 dnl m4 includes
24 include(`copyright.m4')
25 include(`constants.m4')
26 include(`macros.m4')
27 dnl
28
29 CREATE OR REPLACE FUNCTION template()
30 RETURNS INT
31 LANGUAGE plpgsql
32 SECURITY DEFINER
33 gmi_function_set_search_path
34 AS $$
35 -- One line description
36 --
37 -- GPL_notice(` --', `2015', `The Meme Factory, Inc. http://www.meme.com/')
38 --
39 -- Syntax: template()
40 --
41 -- Arguments:
42 --
43 -- Remarks:
44 --
45 -- Bugs:
46
47 DECLARE
48
49 BEGIN
50
51 RETURN 0;
52 END;
53 $$;
54 grant_func_priv(`template()')