Re: CLUSTER not in multi-command string?

Поиск
Список
Период
Сортировка
От Michael Monnerie
Тема Re: CLUSTER not in multi-command string?
Дата
Msg-id 200904292330.10940@zmi.at
обсуждение исходный текст
Ответ на Re: CLUSTER not in multi-command string?  (Michael Monnerie <michael.monnerie@is.it-management.at>)
Список pgsql-admin
On Mittwoch 29 April 2009 Michael Monnerie wrote:
> Is there any change I can make a single db call with cluster &
> analyze, like:
> cluster ; begin ; analyze ; commit

From the man page of psql I found this:
echo 'cluster; analyze'|psql -U postgres dbname

Works both on 8.1 and 8.3. From a user pov this is a bit strange, but I
found a workaround and that's enough for me. Thanks, Alvaro, for the
hint.

mfg zmi
--
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4


Вложения

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

Предыдущее
От: Andreas 'ads' Scherbaum
Дата:
Сообщение: Re: Alter table command for renaming table is getting stuck.
Следующее
От: Robert Ladyman
Дата:
Сообщение: Re: Anyone tried storing software users as database users?