diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-10-26 23:32:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-10-26 23:32:43 +0000 |
commit | 42b1dc6215c3aa55a6408eddbfcecca09a28e352 (patch) | |
tree | 0dfad2f35330b015eeec5541b7b8cab3a90827a6 /modules/system | |
parent | 82637c026af9fbb2c147614e75bf99c7622ee2ae (diff) | |
download | brdo-42b1dc6215c3aa55a6408eddbfcecca09a28e352.tar.gz brdo-42b1dc6215c3aa55a6408eddbfcecca09a28e352.tar.bz2 |
- Patch #91477 by havran: fixed PostgreSQL install with database table prefixing. Missing brackets.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 8c3bb8a10..f18b2ff87 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -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; |