Re: The Contrib Roundup (long)

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: The Contrib Roundup (long)
Дата
Msg-id 200506101110.13932.scrawford@pinpointresearch.com
обсуждение исходный текст
Ответ на Re: The Contrib Roundup (long)  (Kaare Rasmussen <kar@kakidata.dk>)
Ответы Re: The Contrib Roundup (long)  (Kaare Rasmussen <kar@kakidata.dk>)
Список pgsql-hackers
On Friday 10 June 2005 10:54 am, Kaare Rasmussen wrote:
> > actually I think part of the point of this was to give a command
> > line version of the reindex command, like we have for vaccum. If
> > that still matters, then it should probably stay.  Actually it
> > should probably be converted to C and moved to /src/bin.
>
> Wouldn't something like
>
> echo 'REINDEX DATABASE {database};' | psql {database}
>
> be easier?

But not as easy as:
psql -c "reindex database {database}" {database}

Add connection options as desired.

Cheers,
Steve



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

Предыдущее
От: Kaare Rasmussen
Дата:
Сообщение: Re: The Contrib Roundup (long)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The Contrib Roundup (long)