Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-kernel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-kernel
Commits
0c128c42
Commit
0c128c42
authored
Feb 19, 2006
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- returning email for name of a party
parent
eb4931b4
Pipeline
#65
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
community-core-create.sql
sql/postgresql/community-core-create.sql
+3
-4
No files found.
sql/postgresql/community-core-create.sql
View file @
0c128c42
...
...
@@ -310,14 +310,13 @@ end;' language 'plpgsql';
create
or
replace
function
party__name
(
integer
)
returns
varchar
as
'
declare
party_id alias for $1;
p
_p
arty_id alias for $1;
begin
if party_id = -1 then
if p
_p
arty_id = -1 then
return
''
The Public
''
;
else
return email from parties
where party_id =
party_id;
return email from parties
p where p.party_id = p_
party_id;
end if;
end;'
language
'plpgsql'
immutable
strict
;
create
or
replace
function
party__email
(
integer
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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