Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
8a0a50d3
Commit
8a0a50d3
authored
18 years ago
by
Gerhard Killesreiter
Browse files
Options
Downloads
Patches
Plain Diff
#58113
, error on install with postgresql7.3.10, patch by Cvbge
parent
cdbf7b40
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
database/database.pgsql
+8
-8
8 additions, 8 deletions
database/database.pgsql
scripts/prefix.sh
+1
-0
1 addition, 0 deletions
scripts/prefix.sh
with
9 additions
and
8 deletions
database/database.pgsql
+
8
−
8
View file @
8a0a50d3
...
@@ -390,8 +390,9 @@ CREATE INDEX locales_target_plural_idx ON locales_target(plural);
...
@@ -390,8 +390,9 @@ CREATE INDEX locales_target_plural_idx ON locales_target(plural);
--
--
CREATE SEQUENCE menu_mid_seq START 2;
CREATE TABLE menu (
CREATE TABLE menu (
mid
serial
,
mid
integer NOT NULL DEFAULT nextval('menu_mid_seq')
,
pid integer NOT NULL default '0',
pid integer NOT NULL default '0',
path varchar(255) NOT NULL default '',
path varchar(255) NOT NULL default '',
title varchar(255) NOT NULL default '',
title varchar(255) NOT NULL default '',
...
@@ -868,15 +869,10 @@ INSERT INTO locales_meta (locale, name, enabled, isdefault) VALUES ('en', 'Engli
...
@@ -868,15 +869,10 @@ INSERT INTO locales_meta (locale, name, enabled, isdefault) VALUES ('en', 'Engli
INSERT INTO variable (name, value) VALUES ('node_options_forum', 'a:1:{i:0;s:6:"status";}');
INSERT INTO variable (name, value) VALUES ('node_options_forum', 'a:1:{i:0;s:6:"status";}');
INSERT INTO menu VALUES (
2,
0, '', 'Primary links', '', 0, 115);
INSERT INTO menu
(pid, path, title, description, weight, type)
VALUES (0, '', 'Primary links', '', 0, 115);
INSERT INTO variable VALUES ('menu_primary_menu', 'i:2;');
INSERT INTO variable VALUES ('menu_primary_menu', 'i:2;');
INSERT INTO variable VALUES ('menu_secondary_menu', 'i:2;');
INSERT INTO variable VALUES ('menu_secondary_menu', 'i:2;');
---
--- Alter some sequences
---
ALTER SEQUENCE menu_mid_seq RESTART 3;
---
---
--- Functions
--- Functions
---
---
...
@@ -900,7 +896,11 @@ CREATE OR REPLACE FUNCTION "concat"(text, text) RETURNS text AS '
...
@@ -900,7 +896,11 @@ CREATE OR REPLACE FUNCTION "concat"(text, text) RETURNS text AS '
SELECT $1 || $2;
SELECT $1 || $2;
' LANGUAGE 'sql';
' LANGUAGE 'sql';
CREATE OR REPLACE FUNCTION "if"(boolean, anyelement, anyelement) RETURNS anyelement AS '
CREATE OR REPLACE FUNCTION "if"(boolean, text, text) RETURNS text AS '
SELECT CASE WHEN $1 THEN $2 ELSE $3 END;
' LANGUAGE 'sql';
CREATE OR REPLACE FUNCTION "if"(boolean, integer, integer) RETURNS integer AS '
SELECT CASE WHEN $1 THEN $2 ELSE $3 END;
SELECT CASE WHEN $1 THEN $2 ELSE $3 END;
' LANGUAGE 'sql';
' LANGUAGE 'sql';
This diff is collapsed.
Click to expand it.
scripts/prefix.sh
+
1
−
0
View file @
8a0a50d3
...
@@ -25,5 +25,6 @@
...
@@ -25,5 +25,6 @@
s/^CREATE UNIQUE INDEX
\(
.*
\)
ON /CREATE UNIQUE INDEX
$PREFIX
\\
1 ON
$PREFIX
/;
s/^CREATE UNIQUE INDEX
\(
.*
\)
ON /CREATE UNIQUE INDEX
$PREFIX
\\
1 ON
$PREFIX
/;
s/^UPDATE
\(
.*
\)
SET /UPDATE
$PREFIX
\\
1 SET /;
s/^UPDATE
\(
.*
\)
SET /UPDATE
$PREFIX
\\
1 SET /;
s/^DROP TABLE IF EXISTS /DROP TABLE IF EXISTS
$PREFIX
/;
s/^DROP TABLE IF EXISTS /DROP TABLE IF EXISTS
$PREFIX
/;
s/ DEFAULT nextval('/ DEFAULT nextval('
$PREFIX
/;
"
$2
"
$2
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment