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
|
| Список | 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 по дате отправления: