| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера