Closed (fixed)
Project:
Drupal core
Component:
postgresql database
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 May 2005 at 13:33 UTC
Updated:
9 Jun 2005 at 21:57 UTC
Jump to comment: Most recent file
Hello,
Since my last post, i've updated my installation. database.pgsql contain multiple error :
psql:database.pgsql:206: ERROR: the type «longtext» does not exist
psql:database.pgsql:512: ERROR: syntax error on or near «CREATE» at character 46
psql:database.pgsql:513: ERROR: the relation «permission» does not exist
psql:database.pgsql:703: ERROR: The column «changed» does not exist
psql:database.pgsql:797: ERROR: The relation «permission» does not exist
psql:database.pgsql:800: ERROR: The relation «permission» does not exist
Someone could fix this error ???
Thanks,
Kinaï
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | database.pgsql.diff | 1010 bytes | Cvbge |
Comments
Comment #1
kinai commenteda ";" missing line 503 in database.pgsql
Change
CREATE INDEX url_alias_src ON url_alias(src)
to
CREATE INDEX url_alias_src ON url_alias(src);
kinaï
Comment #2
kinai commentedTo fix this problem, I think change below is needed :
line 703 :
CREATE INDEX users_changed_idx ON users(changed);
to
CREATE INDEX users_access_idx ON users(access);
because no column changed exist in users table. In database.mysql, Index is created on access column
--
-- Table structre for table 'contact'
--
CREATE TABLE contact (
subject varchar(255) NOT NULL default '',
recipients longtext NOT NULL default '',
reply longtext NOT NULL default ''
);
to
CREATE TABLE contact (
subject varchar(255) NOT NULL default '',
recipients text NOT NULL default '',
reply text NOT NULL default ''
);
because le longtext format don't exist on postgresql.
This change is right ?
Comment #3
Cvbge commentedAttached patch should fix all errors.
Comment #4
dries commentedCommitted to HEAD.
Cvgbe: sorry, I got your username wrong in the commit message.
Comment #5
Cvbge commentedI don't mind.
There's allways cvs admin command in such cases ;)
Comment #6
(not verified) commented