Re: Index creation fails with automatic names

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Index creation fails with automatic names
Дата
Msg-id 1382038659.43531.YahooMailNeo@web162902.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: Index creation fails with automatic names  (Ian Lawrence Barwick <barwick@gmail.com>)
Ответы Re: Index creation fails with automatic names  (Ian Lawrence Barwick <barwick@gmail.com>)
Список pgsql-general
Ian Lawrence Barwick <barwick@gmail.com> wrote:

> It works fine for me on Pg 9.3.1:
>
> postgres=# CREATE TABLE foo(val1 text, val2 text);
> CREATE TABLE
> postgres=# CREATE INDEX on foo((lower(val1)));
> CREATE INDEX
> postgres=# CREATE INDEX on foo((lower(val2)));
> CREATE INDEX

You seem to be creating the indexes one at a time, all on the same
connection.  The OP's problem occurs when starting five CREATE
INDEX statements in five different sessions all at the same time.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: Index creation fails with automatic names
Следующее
От: AI Rumman
Дата:
Сообщение: when do I analyze after concurrent index creation?