Re: Add CLUSTER ON to pg_dumps - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: Add CLUSTER ON to pg_dumps
Date
Msg-id 20030321154211.GI3205@dcc.uchile.cl
Whole thread Raw
In response to Add CLUSTER ON to pg_dumps  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: Add CLUSTER ON to pg_dumps
List 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 by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Add CLUSTER ON to pg_dumps
Next
From: Peter Eisentraut
Date:
Subject: Re: psql patch