Re: Add CLUSTER ON to pg_dumps

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Add CLUSTER ON to pg_dumps
Дата
Msg-id 20030321154211.GI3205@dcc.uchile.cl
обсуждение исходный текст
Ответ на Add CLUSTER ON to pg_dumps  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: Add CLUSTER ON to pg_dumps  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Fri, Mar 21, 2003 at 12:25:17PM +0800, Christopher Kings-Lynne wrote:

> +                 /*
> +                  * If the index is clustered, we need to issue a CLUSTER command
> +                  * since that is the only way of setting indisclustered.
> +                  */
> +                 if (indisclustered) {
> +                     appendPQExpBuffer(q, "\nALTER TABLE %s CLUSTER",
> +                                  fmtId(tbinfo->relname));
> +                     appendPQExpBuffer(q, " ON %s;\n",
> +                                  fmtId(indexrelname));
> +                 }

You forgot to update the comments...

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Escucha y olvidarás; ve y recordarás; haz y entenderás" (Confucio)

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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Add CLUSTER ON to pg_dumps
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql patch