Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1rgk-0004cP-Vw for pgsql-committers@arkaria.postgresql.org; Fri, 19 Dec 2014 07:09:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y1rgk-0003kq-8X for pgsql-committers@arkaria.postgresql.org; Fri, 19 Dec 2014 07:09:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y1rgi-0003kh-B6 for pgsql-committers@postgresql.org; Fri, 19 Dec 2014 07:09:24 +0000 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y1rga-0004oO-Lw for pgsql-committers@postgresql.org; Fri, 19 Dec 2014 07:09:22 +0000 Received: by mail-pa0-f51.google.com with SMTP id ey11so627808pad.24 for ; Thu, 18 Dec 2014 23:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=y5aw74jITI6S6h7ayk+1Ei7QvO41LL8uwS4pu8qdo28=; b=M69zczUmT7SvswNDXOkaY2bsC1/xO55md0W1NipGKnQlsmjmhpClYwlWcA8KWOvP3S EJDP7VC6MFjIfRimcSsud9yf0kPco9naOEKVWSheZRuEKx1YHTmVG6xJKLipkWk3B0Qr yQDVfG1DPag30K/dMBbcrXzof2QHUJtRqzDzw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=y5aw74jITI6S6h7ayk+1Ei7QvO41LL8uwS4pu8qdo28=; b=L/0a84dXHTfhGjFqf/Tqmvy6feQlJsxc/jbfuvEZrDhxJJykPt6Mnn+VKGVf1hyMgy ocLZN2okzobJBO3m11yO62KTatuHAb+p8EFkXNWIA5sBo+sbB9BlWyLtZPiZBjev0crM RiuPfbbYVhZmGQJqYaFhjK1VyLjSYykR8iNmFuURWRFBkOl/5eP3ssFHZEB+eHRMPSuU pXL/3VgvZqXnaPzBcz1PbhYEF3znV3y0FU0SXRzCY5RWsxThwXfTEN20HuJZZDGJ/nLn 6fDN4GqdZfNjyebp4XI6PhdinpOvGRqFKev7WPfphGYnHXtYzflrSRE0ZmF34NOmiKI7 mGMA== X-Gm-Message-State: ALoCoQlx19g1P6Fm6tLOmeK057Rcl8LfBvVFPo/qEs+3NPlsKadzYd7/k2TOJtaLjVSsyLh2WGqY X-Received: by 10.70.38.161 with SMTP id h1mr10047542pdk.97.1418972953755; Thu, 18 Dec 2014 23:09:13 -0800 (PST) Received: from tornado.leadboat.com (c-50-131-89-155.hsd1.ca.comcast.net. [50.131.89.155]) by mx.google.com with ESMTPSA id di3sm8604315pbc.46.2014.12.18.23.09.12 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 18 Dec 2014 23:09:13 -0800 (PST) Date: Fri, 19 Dec 2014 02:09:10 -0500 From: Noah Misch To: David G Johnston Cc: pgsql-committers@postgresql.org, bruce@momjian.us Subject: Re: pgsql: doc: restrictions on alter database moving default tablespace Message-ID: <20141219070910.GB1831739@tornado.leadboat.com> References: <20141021053843.GA287253@tornado.leadboat.com> <20141212211450.GA7456@momjian.us> <20141216033312.GA5584@gust> <1418704058049-5830836.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1418704058049-5830836.post@n5.nabble.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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