Re: reindexdb -t schema.table name

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: reindexdb -t schema.table name
Дата
Msg-id 27658.1244577416@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: reindexdb -t schema.table name  (Andy Shellam <andy-lists@networkmail.eu>)
Ответы Re: reindexdb -t schema.table name  (Andy Shellam <andy-lists@networkmail.eu>)
Список pgsql-admin
Andy Shellam <andy-lists@networkmail.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

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Plugge, Joe R."
Дата:
Сообщение: Re: reindexdb -t schema.table name
Следующее
От: Andy Shellam
Дата:
Сообщение: Re: reindexdb -t schema.table name