Catch IndexAlreadyExists#4710
Conversation
Signed-off-by: dartcafe <github@dartcafe.de>
|
The problem seems to be the column comparison: polls/lib/Db/V10/IndexManager.php Lines 31 to 41 in 443b600 PostgreSQL seems to put indexed columns into quotes, if the column name matches reserved keywords. By logging the comparison in case of the catch, the problem becomes visible: Expected is We expect This also explains, why we get this error only with the options and the watch tables. |
|
So let's use Keep the catch with the logging, although it should never be necessary to catch this situation. |
|
Test results: A) Catch with B) Catch with |
Signed-off-by: dartcafe <github@dartcafe.de>
Further research is going on, but this should fix #4694 for the moment.