Re: Patch for ALTER DATABASE WITH TABLESPACE - Mailing list pgsql-hackers

From Bernd Helmle
Subject Re: Patch for ALTER DATABASE WITH TABLESPACE
Date
Msg-id 53E161336762B0E3E7D81AED@imhotep.credativ.de
Whole thread Raw
In response to Re: Patch for ALTER DATABASE WITH TABLESPACE  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Patch for ALTER DATABASE WITH TABLESPACE
List pgsql-hackers
--On Dienstag, November 04, 2008 14:56:44 -0500 Tom Lane 
<tgl@sss.pgh.pa.us> wrote:

[...]

>
> Not sure what Bernd tried exactly, but it can be done.
>

Cool, i didn't recognize the obvious possibility to add a separate rule for 
this. I've just extended the alterdb_opt_item with SET TABLESPACE, which 
lead to a shift/reduce.

> I see the point about the parallel to CREATE DATABASE, but on the other
> hand we also have ALTER DATABASE SET for parameters.  I suspect people
> are more likely to expect the SET syntax.
>

Yes, that seems logical to me, too. So i think we should go for it. 
Guillaume?


--  Thanks
                   Bernd


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: [PATCH] Cleanup of PLpgSQL_recfield
Next
From: Guillaume Lelarge
Date:
Subject: Re: Patch for ALTER DATABASE WITH TABLESPACE