Re: pgsql/src/backend/tcop utility.c

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: pgsql/src/backend/tcop utility.c
Дата
Msg-id 3C631BF5.9108027C@tpf.co.jp
обсуждение исходный текст
Ответ на pgsql/src/backend/tcop utility.c  (inoue@postgresql.org)
Список pgsql-committers
Tom Lane wrote:
>
> inoue@postgresql.org writes:
> >       Removed a check for REINDEX TABLE.
>
> As I commented before, what is the point of forbidding REINDEX INDEX
> if you are going to allow REINDEX TABLE?  Or REINDEX DATABASE for that
> matter?  You may as well strip out the corresponding checks in the
> other two cases too.

Simply because I've never tested REINDEX INDEX/DATABASE case
under postmaster and I'm afraid of the following.
1) I didn't make any device to not look up the reindexing
   index itself in case of REINDEX INDEX.
2) REINDEX DATABASE generates multiple transactions internally.
   There's no such command other than VACUUM.

regards,
Hiroshi Inoue

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

Предыдущее
От: tgl@postgresql.org
Дата:
Сообщение: pgsql/src/backend/postmaster pgstat.c
Следующее
От: momjian@postgresql.org
Дата:
Сообщение: pgsql/doc TODO