From: Noah Misch <noah@leadboat.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: doc: restrictions on alter database moving default tablespace
Date: Mon, 15 Dec 2014 22:33:12 -0500
Message-ID: <20141216033312.GA5584@gust> (raw)
In-Reply-To: <20141212211450.GA7456@momjian.us>
References: <E1XfUv4-0001IS-Ad@gemulon.postgresql.org>
<20141021053843.GA287253@tornado.leadboat.com>
<20141212211450.GA7456@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On Fri, Dec 12, 2014 at 04:14:50PM -0500, Bruce Momjian wrote:
> On Tue, Oct 21, 2014 at 01:38:43AM -0400, Noah Misch wrote:
> > On Sat, Oct 18, 2014 at 02:23:46PM +0000, Bruce Momjian wrote:
> > > doc: restrictions on alter database moving default tablespace
> > >
> > > Mention tablespace must be empty and no one connected to the database.
> >
> > The database must not contain any object explicitly assigned to its future
> > default tablespace, but that tablespace need not be empty. Objects of other
> > databases in the tablespace pose no problem.
>
> I am back to look at this comment, and I don't understand what change is
> being requested. Are you saying it is just the commit message that
> isn't clear?
>
> The new text is:
>
> The new default tablespace for this database must be empty, and no one
> can be connected to the database.
>
> That makes the distinction that only the tablespace for the existing
> database has to be empty, not the entire tablespace.
No, the commit message accurately describes the change. Your reply helps me
understand your conception of the software's behavior, but I still read your
committed documentation text differently. For "the new default tablespace for
this database" to qualify as "empty", it must contain no object from any
database. A tablespace is a cross-database, unitary object. Each tablespace
is either empty from every perspective or not empty from any perspective.
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.
The database must not contain any object explicitly located in the new
default tablespace, and no one can be connected to the database.
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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, bruce@momjian.us
Subject: Re: pgsql: doc: restrictions on alter database moving default tablespace
In-Reply-To: <20141216033312.GA5584@gust>
References: <E1XfUv4-0001IS-Ad@gemulon.postgresql.org> <20141021053843.GA287253@tornado.leadboat.com> <20141212211450.GA7456@momjian.us> <20141216033312.GA5584@gust>
* 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