pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: frant101@googlemail.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Reindex + relation doesnt exist
Date: Mon, 10 Mar 2008 15:43:11 -0700
Message-ID: <dcc563d10803101543j4223dc9ckfb417bca7a974b35@mail.gmail.com> (raw)
In-Reply-To: <54da9d7c-f6c9-41cd-a167-11a52d35b383@x30g2000hsd.googlegroups.com>
References: <54da9d7c-f6c9-41cd-a167-11a52d35b383@x30g2000hsd.googlegroups.com>

On Mon, Mar 10, 2008 at 8:49 AM,  <frant101@googlemail.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?



view thread (5+ messages)  latest in thread

Message-ID: <dcc563d10803101543j4223dc9ckfb417bca7a974b35@mail.gmail.com>
Permalink:  ../dcc563d10803101543j4223dc9ckfb417bca7a974b35@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10803101543j4223dc9ckfb417bca7a974b35@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, frant101@googlemail.com
  Subject: Re: Reindex + relation doesnt exist
  In-Reply-To: <dcc563d10803101543j4223dc9ckfb417bca7a974b35@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox