Re: BUG #7589: Canceled "CREATE UNIQUE INDEX CONCURRENTLY" leave not-fully-build index existing - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7589: Canceled "CREATE UNIQUE INDEX CONCURRENTLY" leave not-fully-build index existing
Date
Msg-id 2170.1349807328@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7589: Canceled "CREATE UNIQUE INDEX CONCURRENTLY" leave not-fully-build index existing  (serovov+pgsql@gmail.com)
List pgsql-bugs
serovov+pgsql@gmail.com writes:
> 01=# CREATE UNIQUE INDEX CONCURRENTLY obj_pkey ON obj (id);
> ERROR:  canceling statement due to statement timeout
> 01=# CREATE UNIQUE INDEX CONCURRENTLY obj_pkey ON obj (id);
> ERROR:  relation "obj_pkey" already exists

This is not a bug, it is the documented failure behavior of CREATE INDEX
CONCURRENTLY.  See
http://www.postgresql.org/docs/9.2/static/sql-createindex.html#SQL-CREATEINDEX-CONCURRENTLY

            regards, tom lane

pgsql-bugs by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] BUG #7534: walreceiver takes long time to detect n/w breakdown
Next
From: Tom Lane
Date:
Subject: Re: BUG #7591: Large query string has limit