Re: vacuumlo fails pgsql ver 8.3

From: Pat Heuvel <pheuvel(at)tpg(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuumlo fails pgsql ver 8.3
Date: 2012-02-06 12:18:55
Message-ID: 4F2FC52F.20805@tpg.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/02/2012 4:39 AM, Tom Lane wrote:
> Pat Heuvel<pheuvel(at)tpg(dot)com(dot)au> writes:
>> [ vacuumlo fails ]
>> When I added the -v option, there were many "removing lo xxxxx" messages
>> before the above messages appeared. I have previously tried to reindex
>> pg_largeobject, but that process failed as well.
> You need to get the index consistent before trying vacuumlo; that
> program is not designed to deal with inconsistent catalogs.
>
> What exactly happens when you try to reindex pg_largeobject?
>
> regards, tom lane
>
ERROR: could not create unique index "pg_largeobject_loid_pn_index"
DETAIL: Table contains duplicated values.

********** Error **********

ERROR: could not create unique index "pg_largeobject_loid_pn_index"
SQL state: 23505
Detail: Table contains duplicated values.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lockas 2012-02-06 12:26:45 Re: Error while importing CSV file
Previous Message hubert depesz lubaczewski 2012-02-06 11:48:53 Re: Why this regexp matches?!