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ï

CommentFileSizeAuthor
#3 database.pgsql.diff1010 bytesCvbge
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kinai’s picture

a ";" 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ï

kinai’s picture

To 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 ?

Cvbge’s picture

FileSize
1010 bytes

Attached patch should fix all errors.

Dries’s picture

Committed to HEAD.

Cvgbe: sorry, I got your username wrong in the commit message.

Cvbge’s picture

I don't mind.
There's allways cvs admin command in such cases ;)

Anonymous’s picture