Re: [COMMITTERS] pgsql: Add ALTER TABLESPACE ... MOVE command - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: [COMMITTERS] pgsql: Add ALTER TABLESPACE ... MOVE command
Date
Msg-id 20140413051015.GN2556@tamriel.snowman.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add ALTER TABLESPACE ... MOVE command  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Ick.  That's just plain sloppy.  Please create a separate production,
> *and* a separate comment header.

Done.

> Commit d86d51a95 was pretty damn awful in this regard as well, but
> let's clean them both up, not make it worse.

Yeah, I think I noticed this in passing but probably did the same as
Robert and figured "oh, I'm just playing with this, I'll go back and
clean it up later.." and then promptly forgot about it 'cause it worked
just fine.

> Existing precedent would suggest inventing two new productions named the
> same as the parse node types they produce, viz AlterTableSpaceMoveStmt
> and AlterTableSpaceOptionsStmt.

This felt a bit like overkill to me for these few, so I just did them
under a single 'AlterTblSpcStmt'.  I'm not against going back and
changing it if others feel differently.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Patch to fix a couple of compiler warnings from 80a5cf64
Next
From: Amit Kapila
Date:
Subject: Re: proposal: interprocess EXPLAIN PID