Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-events
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-events
Commits
f47d9eb3
Commit
f47d9eb3
authored
Nov 16, 2007
by
adverbage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- remove the condition around creating bitfromint4
parent
5fac74a8
Pipeline
#64
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
18 deletions
+4
-18
acs-events-create.sql
sql/postgresql/acs-events-create.sql
+4
-18
No files found.
sql/postgresql/acs-events-create.sql
View file @
f47d9eb3
...
...
@@ -5,26 +5,12 @@
-- @cvs-id $Id$
-- Make sure the function is there during an upgrade from ]po[ 3.1.2 -> 3.3 or higher
create
function
inline_0
()
returns
integer
as
'
-- Create a bitfromint4(integer) function if it doesn
''
t exists.
-- Due to a bug in PG 7.3 this function is absent in PG 7.3.
declare
v_bitfromint4_count integer;
create
or
replace
function
bitfromint4
(
integer
)
returns
bit
varying
as
'
begin
select into v_bitfromint4_count count(*) from pg_proc where proname =
''
bitfromint4
''
;
if v_bitfromint4_count = 0 then
create or replace function bitfromint4 (integer) returns bit varying as
''
begin
return $1::bit(32);
end;
''
language
''
plpgsql
''
immutable strict;
end if;
return 1;
end;'
language
'plpgsql'
;
return $1::bit(32);
end;'
language
'plpgsql'
immutable
strict
;
select
inline_0
();
drop
function
inline_0
();
-- Create the objects and packages for the ACS Events service
...
...
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