Re: BUG #9148: generate invalid index (create index CONCURRENTLY ... )

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #9148: generate invalid index (create index CONCURRENTLY ... )
Дата
Msg-id 19797.1391891111@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #9148: generate invalid index (create index CONCURRENTLY ... )  (tiyukeji@126.com)
Список pgsql-bugs
tiyukeji@126.com writes:
> canceling  sql :
>  CREATE INDEX  CONCURRENTLY   t_1_index
>   ON t_1  USING btree
>   (name);

> result:
>    index t_1_index exist, but size 0

This is expected when using CREATE INDEX CONCURRENTLY.  See the
notes at
http://www.postgresql.org/docs/9.3/static/sql-createindex.html#SQL-CREATEINDEX-CONCURRENTLY
which say
"If a problem arises while scanning the table ... the CREATE INDEX command
will fail but leave behind an "invalid" index."

            regards, tom lane

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

Предыдущее
От: Firas Khasawneh
Дата:
Сообщение: Re: ODBC Driver not allowing updates into views
Следующее
От: linuxhippy@gmail.com
Дата:
Сообщение: BUG #9161: wal_writer_delay is limited to 10s