Project

General

Profile

Actions

Bug #93223

closed

Wrong syntax for ALTER INDEX on PostgreSQL

Added by Jörn Wagner almost 4 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2021-01-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
postgresql
Complexity:
Is Regression:
Sprint Focus:

Description

Database compare generates statements like ALTER INDEX public_index_phash_freeindexuid2_idx RENAME TO "freeIndexUid_65098221". This results in an error:

/* ERROR:  relation "public_index_phash_freeindexuid2_idx" does not exist */

The first argument needs to be quoted and case-sensitive like ALTER INDEX "public_index_phash_freeIndexUid2_idx" RENAME TO "freeIndexUid_65098221".

My PostgreSQL version is 12.5.


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Epic #90719: PostgreSQL related issuesAccepted2020-03-10

Actions
Related to TYPO3 Core - Bug #104449: Drop fields are not executed in Database AnalyzerClosedStefan Bürk2024-07-22

Actions
Actions

Also available in: Atom PDF