Re: indisclustered and clusterdb

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)atentus(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: indisclustered and clusterdb
Date: 2002-09-11 04:03:10
Message-ID: 200209110403.g8B43Bc11768@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Alvaro Herrera wrote:
> En Mon, 02 Sep 2002 21:14:01 -0400
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> escribi?:
>
> > BTW, clusterdb is not schema-aware and will surely fail in any database
> > where more than one schema is in use, because it doesn't trouble to
> > schema-qualify table names.
>
> Ok, the following patch should solve this concern. It also tries to
> connect as little times as possible (the previous one would connect one
> time per table plus one per database; this one connects two times per
> database).
>
> It's ugly and has the same concurrency problems that arose for the
> original CLUSTER ALL patch, but I don't think there's a clean way to
> solve them in a shell script. Maybe an indication should be put in
> clusterdb.sgml that it should run separate from standard CLUSTER
> operations or from other runs of clusterdb?
>
> Sorry this took so long.
>
> --
> Alvaro Herrera (<alvherre[a]atentus.com>)
> "There was no reply" (Kernel Traffic)

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-09-11 04:04:20 Re: [HACKERS] About connectby()
Previous Message Bruce Momjian 2002-09-11 04:02:31 Re: contrib/intarray regression failure fix