Re: cluster-operation successfull?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cluster-operation successfull?
Дата
Msg-id 1978.1116358952@sss.pgh.pa.us
обсуждение исходный текст
Ответ на cluster-operation successfull?  (Timo Roessner <timo.roessner@gmx.net>)
Ответы Re: cluster-operation successfull?  (Timo Roessner <timo.roessner@gmx.net>)
Список pgsql-novice
Timo Roessner <timo.roessner@gmx.net> writes:
> scince i didnt receive a success message from the cluster-operation i am
> not quite sure wether the data was clustered at all
> or wether the cluster-operation was canceled when the ssh-connection was
> canceled.
> is there a way to determine wether data was clustered or not?

Look in the pg_index catalog to see which indexes are marked as
clustered.  In recent PG versions something like this is the easiest
way:

select indrelid::regclass, indexrelid::regclass from pg_index
where indisclustered;

I would expect the server to have finished out the command it was
currently working on before noticing the loss of connection, so
the odds are good that the cluster did finish.

            regards, tom lane

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

Предыдущее
От: Timo Roessner
Дата:
Сообщение: cluster-operation successfull?
Следующее
От: William Shatner
Дата:
Сообщение: Storing/Using Passwords