Re: reindexdb -t schema.table name

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andy Shellam <andy-lists(at)networkmail(dot)eu>
Cc: dx k9 <bitsandbytes88(at)hotmail(dot)com>, posgres support <pgsql-admin(at)postgresql(dot)org>
Subject: Re: reindexdb -t schema.table name
Date: 2009-06-09 19:56:56
Message-ID: 27658.1244577416@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Andy Shellam <andy-lists(at)networkmail(dot)eu> writes:
> After passing the "-e" argument it appears reindexdb is running the
> following SQL: REINDEX TABLE "system.supplier";
> According to the documentation for 8.3.7 (the version I'm running) this
> syntax should work:

No. What would work is REINDEX TABLE "system"."supplier";

reindexdb isn't designed to support schema-qualified names. You'd
need another switch to pass the schema name.

A possible workaround if you really need the schema qualification is

PGOPTIONS="--search_path=system" reindexdb ... -t supplier

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andy Shellam 2009-06-09 20:29:39 Re: reindexdb -t schema.table name
Previous Message Plugge, Joe R. 2009-06-09 19:29:31 Re: reindexdb -t schema.table name