Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Haag
tcexam_uibk
Commits
77ebef46
Commit
77ebef46
authored
Sep 25, 2015
by
Daniel Haag
Browse files
fixed missing semicolon and unified function definition format in postgres structure functions
parent
c8ca18e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/postgres_db_structure_functions.sql
View file @
77ebef46
...
...
@@ -170,9 +170,6 @@ ALTER FUNCTION get_tcexam_group_users(character varying)
-- get tcexam_user
CREATE
OR
REPLACE
FUNCTION
get_tcexam_user
(
userid
character
varying
)
RETURNS
text
LANGUAGE
plpgsql
SECURITY
DEFINER
SET
search_path
TO
tcexam
,
pg_temp
AS
$
function
$
DECLARE
...
...
@@ -198,7 +195,9 @@ WHERE u.user_name = userid
RETURN
xoutput
;
END
;
$
function
$
LANGUAGE
plpgsql
SECURITY
DEFINER
SET
search_path
TO
tcexam
,
pg_temp
;
ALTER
FUNCTION
get_tcexam_user
(
character
varying
)
OWNER
TO
tcexam
;
...
...
@@ -236,9 +235,6 @@ ALTER FUNCTION insert_tcexam_group(character varying, character varying, charact
CREATE
OR
REPLACE
FUNCTION
insert_tcexam_user
(
xmlbody
text
)
RETURNS
void
LANGUAGE
plpgsql
SECURITY
DEFINER
SET
search_path
TO
tcexam
,
pg_temp
AS
$
function
$
DECLARE
login
character
varying
;
...
...
@@ -265,7 +261,9 @@ AS $function$
END
;
$
function
$
LANGUAGE
plpgsql
SECURITY
DEFINER
SET
search_path
TO
tcexam
,
pg_temp
;
ALTER
FUNCTION
insert_tcexam_user
(
text
)
OWNER
TO
tcexam
;
...
...
@@ -347,9 +345,6 @@ ALTER FUNCTION update_tcexam_group(character varying, character varying, charact
CREATE
OR
REPLACE
FUNCTION
update_tcexam_user
(
xmlbody
text
)
RETURNS
void
LANGUAGE
plpgsql
SECURITY
DEFINER
SET
search_path
TO
tcexam
,
pg_temp
AS
$
function
$
DECLARE
login
character
varying
;
...
...
@@ -390,7 +385,9 @@ AS $function$
END
;
$
function
$
LANGUAGE
plpgsql
SECURITY
DEFINER
SET
search_path
TO
tcexam
,
pg_temp
;
ALTER
FUNCTION
update_tcexam_user
(
text
)
OWNER
TO
tcexam
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment