pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #15878: Changing two column types in single request raises error that index already exists. 2+ messages / 2 participants [nested] [flat]
* BUG #15878: Changing two column types in single request raises error that index already exists. @ 2019-06-27 07:10 PG Bug reporting form <noreply@postgresql.org> 0 siblings, 1 reply; 2+ messages in thread From: PG Bug reporting form @ 2019-06-27 07:10 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org; +Cc: aglushkov@shakuro.com The following bug has been logged on the website: Bug reference: 15878 Logged by: Andrey Glushkov Email address: aglushkov@shakuro.com PostgreSQL version: 11.4 Operating system: Ubuntu 18.04.2 LTS Description: psql -U postgres psql (11.4 (Ubuntu 11.4-1.pgdg18.04+1)) Type "help" for help. postgres=# CREATE DATABASE test_database; CREATE DATABASE postgres=# \c test_database You are now connected to database "test_database" as user "postgres". test_database=# test_database=# CREATE TABLE comments( test_database(# weight integer, test_database(# is_question boolean test_database(# ); CREATE TABLE test_database=# test_database=# CREATE INDEX index_comments_on_weight ON comments USING btree (weight); CREATE INDEX test_database=# CREATE INDEX index_comments_on_is_question ON comments USING btree (is_question); CREATE INDEX test_database=# test_database=# \set VERBOSITY verbose test_database=# test_database=# ALTER TABLE "comments" test_database-# ALTER COLUMN "weight" TYPE integer, test_database-# ALTER COLUMN "is_question" TYPE boolean; ERROR: 42P07: relation "index_comments_on_weight" already exists LOCATION: index_create, index.c:877 test_database=# ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15878: Changing two column types in single request raises error that index already exists. @ 2019-06-27 07:48 Sergei Kornilov <sk@zsrv.org> parent: PG Bug reporting form <noreply@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Sergei Kornilov @ 2019-06-27 07:48 UTC (permalink / raw) To: aglushkov@shakuro.com <aglushkov@shakuro.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org> Hello Unfortunally this is regression in 11.4, you are right. This is bug is already fixed in report #15865 [1], but not yet released. Not sure if an earlier release is planned for this bug or we wait August minor releases. https://www.postgresql.org/message-id/flat/15865-17940eacc8f8b081%40postgresql.org regards, Sergei ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-06-27 07:48 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-06-27 07:10 BUG #15878: Changing two column types in single request raises error that index already exists. PG Bug reporting form <noreply@postgresql.org> 2019-06-27 07:48 ` Sergei Kornilov <sk@zsrv.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox