Re: Adding a column with default value possibly corrupting a functional index.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adding a column with default value possibly corrupting a functional index.
Дата
Msg-id 501.1166288322@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Adding a column with default value possibly corrupting a functional index.  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
Ответы Re: Adding a column with default value possibly corrupting a functional index.  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
Список pgsql-admin
"Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes:
> I have an index on upper(general.cat_url(category_id)) on a table.
> when i add a column *with* default value , a query that previously
> used to give result does not give results anymore. REINDEX'ing the
> table produces correct result.

Can you provide a self-contained example of this?  What PG version are
you using?  What is that nonstandard function you're using in the index?

            regards, tom lane

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

Предыдущее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Adding a column with default value possibly corrupting a functional index.
Следующее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: Adding a column with default value possibly corrupting a functional index.