NEW :
In order to get easier the installation and the upgrade of the database a new module webbased has been created, the old version of install.sh is now obsolete
This commit is contained in:
parent
29f5d52e33
commit
53234e02f3
32 changed files with 4798 additions and 0 deletions
19
html/admin/sql/mod1/function.sql
Normal file
19
html/admin/sql/mod1/function.sql
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-- Name: plpgsql_call_handler (); Type: FUNCTION; Schema: public; Owner: dany
|
||||
--
|
||||
|
||||
CREATE FUNCTION plpgsql_call_handler () RETURNS language_handler
|
||||
AS '$libdir/plpgsql', 'plpgsql_call_handler'
|
||||
LANGUAGE c;
|
||||
-- Name: today_hour (); Type: FUNCTION; Schema: public; Owner: dany
|
||||
--
|
||||
|
||||
CREATE FUNCTION today_hour () RETURNS text
|
||||
AS '
|
||||
declare
|
||||
hour text ;
|
||||
begin
|
||||
select to_char(now(),''HHMI'') into hour;
|
||||
return hour;
|
||||
end;
|
||||
'
|
||||
LANGUAGE plpgsql;
|
||||
Loading…
Add table
Add a link
Reference in a new issue