Closed (outdated)
Project:
Message
Version:
7.x-1.12
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2016 at 12:40 UTC
Updated:
15 Jan 2024 at 21:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nailsoncunha commentedAnd now, this error too
Update #7013
Failed: DatabaseSchemaObjectExistsException: Cannot add unique key temp_key to table message: unique key already exists. em DatabaseSchema_pgsql->addUniqueKey() (line 461 in .../includes/database/pgsql/schema.inc).
Comment #3
alex-b commentedComment #4
alex-b commentedYou seem to be using PostgreSQL as database which appears to not like the patch developed in issue 2051751.
Comment #5
alex-b commentedComment #6
nailsoncunha commentedThanks
Comment #7
nailsoncunha commentedComment #8
kschisler commentedI don't think this issue should be marked as fixed. I am also running postgres and am receiving the same errors when trying to update. I am digging into this issue and if I can fix it I will post a patch for it.
Comment #9
kschisler commentedFound out I do not actually need this module anymore so I have uninstalled it and will not be actively working on a patch
Comment #10
alex-b commentedPostgreSQL does not have the original problem fixed in update 7013 (looking at
DatabaseSchema_pgsql::processField()) , so the attached patch which prevents that update from running in this case should be fine.Comment #11
kschisler commentedTested this one out. Works like a charm.
Thanks alex-b!
Comment #12
rosk0+1 for RTBC.
Tested on PHP 5.5 and PostgreSQL 9.3.17.
Comment #13
bluegeek9 commented