BUG #15871: Regression in 11.4 altering type on column with an index

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема BUG #15871: Regression in 11.4 altering type on column with an index
Дата
Msg-id CAKFQuwYM+X1guwL9mQwH0U4Z5PXkzyJ9osdpGCgCqNutzy_4Fw@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #15871: Regression in 11.4 altering type on column with an index  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15871: Regression in 11.4 altering type on column with an index  (Tom Dunstan <pgsql@tomd.cc>)
Список pgsql-bugs
On Monday, June 24, 2019, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      15871
Logged by:          Tom Dunstan
Email address:      pgsql@tomd.cc
PostgreSQL version: 11.4
Operating system:   Linux x86_64 (Alpine 3.9)
Description:       

test=# ALTER TABLE FOO ALTER ts1 TYPE TIMESTAMP WITH TIME ZONE, ALTER ts2
TYPE TIMESTAMP WITH TIME ZONE;
ERROR:  42P07: relation "foo_ts1_idx" already exists
LOCATION:  index_create, index.c:877

Necessary condition seems to be:
 - Multiple columns altered in the same statement
 - Both altered columns have an index

Seems to be the same behavior as BUG #1586 whose fix just got applied today and will appear in the next point release.

David J.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15871: Regression in 11.4 altering type on column with an index
Следующее
От: Tom Dunstan
Дата:
Сообщение: Re: BUG #15871: Regression in 11.4 altering type on column with an index