Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzVLH-0001XZ-2z for pgsql-committers@arkaria.postgresql.org; Thu, 19 Nov 2015 19:58:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZzVLF-0001Z7-Iw for pgsql-committers@arkaria.postgresql.org; Thu, 19 Nov 2015 19:58:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZzVL3-0001Le-FV for pgsql-committers@postgresql.org; Thu, 19 Nov 2015 19:57:49 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZzVL1-0000VA-59; Thu, 19 Nov 2015 19:57:49 +0000 Received: from intern.anarazel.de (unknown [184.23.178.130]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 72489860001; Thu, 19 Nov 2015 20:57:46 +0100 (CET) Date: Thu, 19 Nov 2015 20:57:43 +0100 From: Andres Freund To: Robert Haas Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Make ALTER .. SET SCHEMA do nothing, instead of throwing an ERRO Message-ID: <20151119195743.GA6092@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.8 (----) 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 2015-11-19 15:51:33 +0000, Robert Haas wrote: > Make ALTER .. SET SCHEMA do nothing, instead of throwing an ERROR. Trying to undertstand what this changes I noticed this borked numbering: /* * Common checks on switching namespaces. * - * We complain if (1) the old and new namespaces are the same, (2) either the - * old or new namespaces is a temporary schema (or temporary toast schema), or - * (3) either the old or new namespaces is the TOAST schema. + * We complain if (1) either the old or new namespaces is a temporary schema + * (or temporary toast schema), or (3) either the old or new namespaces is the + * TOAST schema. */ Maybe just remove the the numbers? - Andres -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers