Skip to content
Snippets Groups Projects
Commit 42b1dc62 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #91477 by havran: fixed PostgreSQL install with database table...

- Patch #91477 by havran: fixed PostgreSQL install with database table prefixing.  Missing brackets.
parent 82637c02
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -708,7 +708,7 @@ function system_install() {
list smallint_unsigned NOT NULL default 0,
PRIMARY KEY (fid, vid)
)");
db_query("CREATE INDEX file_revisions_vid_idx ON file_revisions(vid)");
db_query("CREATE INDEX {file_revisions}_vid_idx ON {file_revisions} (vid)");
db_query("CREATE TABLE {filter_formats} (
format serial,
......@@ -3349,7 +3349,7 @@ function system_update_1012() {
$ret[] = update_sql("ALTER TABLE {file_revisions} ADD INDEX(vid)");
break;
case 'pgsql':
$ret[] = update_sql('CREATE INDEX {file_revisions}_vid_idx ON {file_revisions}(vid)');
$ret[] = update_sql('CREATE INDEX {file_revisions}_vid_idx ON {file_revisions} (vid)');
break;
}
return $ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment