Re: Reindex + relation doesnt exist

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: frant101(at)googlemail(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Reindex + relation doesnt exist
Date: 2008-03-10 22:43:11
Message-ID: dcc563d10803101543j4223dc9ckfb417bca7a974b35@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Mar 10, 2008 at 8:49 AM, <frant101(at)googlemail(dot)com> wrote:
> I am trying to reindex some indexes through a batch script. for
> example
>
> Database : hermes
> Schema : sc1
> Indexes : ind1
>
> when i use reindexdb with the following switches
>
> ./reindexdb --index=ind1 hermes
>
> i get the below error message
> reindexdb: reindexing of index "ind1" in database "hermes" failed:
> ERROR: relation "ind1" does not exist
>
> when i know that the index does exist, same thing happens if i set up
> a batch script and call it through psql command using the reindex
> index ind1;

Is it perhaps in a different schema / search path than the one you're
accessing? If you append the schema to the name does it work?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message dareen saleh 2008-03-11 07:44:36 helpppppppppppppppp??????????
Previous Message Grzegorz Dostatni 2008-03-10 22:23:06 WAL Archiving, warm standby - edge cases questions: