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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
Cc: "Lista Postgres" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Adding a column with default value possibly corrupting a functional index.
Date: 2006-12-16 16:58:42
Message-ID: 501.1166288322@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2006-12-16 17:27:02 Re: Adding a column with default value possibly corrupting a functional index.
Previous Message Rajesh Kumar Mallah 2006-12-16 16:24:36 Adding a column with default value possibly corrupting a functional index.