Re: Index trouble with 8.3b4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hannes Dorbath <light(at)theendofthetunnel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Index trouble with 8.3b4
Date: 2008-01-13 20:54:50
Message-ID: 8709.1200257690@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hannes Dorbath <light(at)theendofthetunnel(dot)de> writes:
> This is a general thing I'd like to ask. If the creation of an index
> fails, why is it nevertheless there?

It's a rather ugly consequence of the fact that CREATE INDEX
CONCURRENTLY requires more than one transaction. If the later ones
fail, the invalid index is still there.

It'd be nice to clean that up sometime, but don't hold your breath.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hannes Dorbath 2008-01-13 21:01:49 Re: Index trouble with 8.3b4
Previous Message Hannes Dorbath 2008-01-13 19:55:59 Re: Index trouble with 8.3b4

Browse pgsql-hackers by date

  From Date Subject
Next Message Webb Sprague 2008-01-13 20:59:02 Re: Postgresql Materialized views
Previous Message Joshua D. Drake 2008-01-13 20:54:06 Re: Postgresql Materialized views