pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: David G Johnston <david.g.johnston@gmail.com>
Cc: pgsql-committers@postgresql.org
Cc: bruce@momjian.us
Subject: Re: pgsql: doc: restrictions on alter database moving default tablespace
Date: Fri, 19 Dec 2014 02:09:10 -0500
Message-ID: <20141219070910.GB1831739@tornado.leadboat.com> (raw)
In-Reply-To: <1418704058049-5830836.post@n5.nabble.com>
References: <E1XfUv4-0001IS-Ad@gemulon.postgresql.org>
	<20141021053843.GA287253@tornado.leadboat.com>
	<20141212211450.GA7456@momjian.us>
	<20141216033312.GA5584@gust>
	<1418704058049-5830836.post@n5.nabble.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On Mon, Dec 15, 2014 at 09:27:38PM -0700, David G Johnston wrote:
> Noah Misch-2 wrote
> > Here are a couple of alternatives for the documentation text:
> > 
> >   The new default tablespace must not already contain any of the
> > database's
> >   objects, and no one can be connected to the database.
> 
> +1; though maybe...
> 
> The newly assigned default tablespace must not contain any of the specified
> database's objects but otherwise need not be empty.  Additionally, there
> must not be anyone connected to the database.
> 
> This is a bit more verbose, and somewhat implied since newly created
> databases have their default set, by definition, to one hat likely already
> contains objects of other databases in the cluster, but does clarify the
> specific confusion raised here.  Re-reading I think the implicit version is
> likely sufficiently clear though.

That text, too, works for me.

> Side note: This implies you cannot change the default tablespace of the only
> database in a cluster...probably not worth mentioning in the docs though.

Agreed.

By the way, standard practice on PostgreSQL community mailing lists is to use
"reply to all".  More often than not, without that To:/Cc: directly to me, I
would never become aware of your reply.


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (8+ messages)  latest in thread

Message-ID: <20141219070910.GB1831739@tornado.leadboat.com>
Permalink:  ../20141219070910.GB1831739@tornado.leadboat.com/
Also on:    postgresql.org/message-id/20141219070910.GB1831739@tornado.leadboat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com, david.g.johnston@gmail.com, bruce@momjian.us
  Subject: Re: pgsql: doc: restrictions on alter database moving default tablespace
  In-Reply-To: <20141219070910.GB1831739@tornado.leadboat.com>
  References: <E1XfUv4-0001IS-Ad@gemulon.postgresql.org> <20141021053843.GA287253@tornado.leadboat.com> <20141212211450.GA7456@momjian.us> <20141216033312.GA5584@gust> <1418704058049-5830836.post@n5.nabble.com> <20141219070910.GB1831739@tornado.leadboat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox