Re: SET WITHOUT CLUSTER patch - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: SET WITHOUT CLUSTER patch
Date
Msg-id 200405021358.i42DwMD17477@candle.pha.pa.us
Whole thread Raw
In response to Re: SET WITHOUT CLUSTER patch  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: SET WITHOUT CLUSTER patch  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne wrote:
> >>Actually, it occurs to me that the SET WITHOUT CLUSTER form CAN recurse. 
> >>   Should I make it do that, even though the CLUSTER ON form cannot?
> > 
> > I just thought about this.  CLUSTER is more of a storage-level
> > specification, rather than a logical one.  Seems it is OK that WITOUTH
> > CLUSTER not recurse into inherited tables, especially since the CLUSTER
> > command does not.
> 
> The patch I submitted earlier already does do recursion - I don't see 
> why it shouldn't really.  It's better than failing saying that legal 
> grammar is in fact illegal :)

Uh, if the CLUSTER doesn't recurse, the WITHOUT shouldn't either, I
think, and throwing an error seems fine to me, even if it isn't the same
wording as a syntax error.

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


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: SET WITHOUT CLUSTER patch
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: SET WITHOUT CLUSTER patch