Re: Add CLUSTER ON to pg_dumps

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Add CLUSTER ON to pg_dumps
Date: 2003-03-21 15:42:11
Message-ID: 20030321154211.GI3205@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-03-21 17:00:22 Re: psql patch
Previous Message Jeroen T. Vermeulen 2003-03-21 11:51:23 Re: psql patch