Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8F6E62E0166 for ; Mon, 10 Mar 2008 19:43:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 44016-02 for ; Mon, 10 Mar 2008 19:43:13 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by postgresql.org (Postfix) with ESMTP id 1F25F2E0161 for ; Mon, 10 Mar 2008 19:43:12 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id m38so2546920waf.5 for ; Mon, 10 Mar 2008 15:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=7JJJaOuDA+8hsDZOoIO2jQ66NbWtitbDH4b5EdugCw8=; b=M8n/3gpuTAz5zkCrAYvjJAILaKlxYPz92+H1VgBjxCwIcvT2mfEExcufvIncVUOdfdg26Gx5H/6w6IenKmylNmcy3hIieA/wnNQMpBJGv3szL3Hw8t0WPuMqUdHZafLazeIh7CoexvJsQczYwgUEHHiGkRK1hu2aaSyQMR0qV+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vtIQ3GeCJ0oJARHMBy/2GJ6JHCjV39HsXXTe+XFIMUjrIXpNtuao1iphvm9IPuiLPXbZsbAmecHSJf6mubxhEnlHdixkEd1018CAEbY879n83sacYcn1PDFGcE9d3RlyS1mJOHARPZpIZSgt0E1u9WzVIkBK75t3Btnlvp38qcY= Received: by 10.115.60.1 with SMTP id n1mr3937651wak.37.1205188991898; Mon, 10 Mar 2008 15:43:11 -0700 (PDT) Received: by 10.114.133.6 with HTTP; Mon, 10 Mar 2008 15:43:11 -0700 (PDT) Message-ID: Date: Mon, 10 Mar 2008 15:43:11 -0700 From: "Scott Marlowe" To: frant101@googlemail.com Subject: Re: Reindex + relation doesnt exist Cc: pgsql-admin@postgresql.org In-Reply-To: <54da9d7c-f6c9-41cd-a167-11a52d35b383@x30g2000hsd.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <54da9d7c-f6c9-41cd-a167-11a52d35b383@x30g2000hsd.googlegroups.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/81 X-Sequence-Number: 28564 On Mon, Mar 10, 2008 at 8:49 AM, 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?