Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
229
Merge Requests
229
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
d61bd21b
Commit
d61bd21b
authored
Jun 03, 2009
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#106559
follow-up by Josh Waihi: Fix typo preventing Drupal from installing on PostgreSQL.
parent
d73fe8ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/system/system.install
modules/system/system.install
+2
-2
No files found.
modules/system/system.install
View file @
d61bd21b
...
...
@@ -340,7 +340,7 @@ function system_install() {
LANGUAGE \'sql\''
);
db_query
(
'CREATE OR REPLACE FUNCTION "substr_index"(text, text, integer) RETURNS text AS
db_query
(
'CREATE OR REPLACE FUNCTION "substr
ing
_index"(text, text, integer) RETURNS text AS
\'SELECT array_to_string((string_to_array($1, $2)) [1:$3], $2);\'
LANGUAGE \'sql\''
);
...
...
@@ -3516,7 +3516,7 @@ function system_update_7024() {
$ret
=
array
();
if
(
db_driver
()
==
'pgsql'
)
{
$ret
[]
=
update_sql
(
'CREATE OR REPLACE FUNCTION "substr_index"(text, text, integer) RETURNS text AS
$ret
[]
=
update_sql
(
'CREATE OR REPLACE FUNCTION "substr
ing
_index"(text, text, integer) RETURNS text AS
\'SELECT array_to_string((string_to_array($1, $2)) [1:$3], $2);\'
LANGUAGE \'sql\''
);
...
...
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