Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iailT-0000ZM-Ix for pgsql-committers@arkaria.postgresql.org; Fri, 29 Nov 2019 16:05:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iailP-0000JY-Os for pgsql-committers@arkaria.postgresql.org; Fri, 29 Nov 2019 16:04:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iailO-0000JR-6v for pgsql-committers@lists.postgresql.org; Fri, 29 Nov 2019 16:04:59 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iailJ-0004Cv-R6 for pgsql-committers@lists.postgresql.org; Fri, 29 Nov 2019 16:04:56 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E389521E6A; Fri, 29 Nov 2019 11:04:50 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 29 Nov 2019 11:04:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Pm/BWNuo/4OMq5p5cEtYZQc6Y//xjMu7f8TiPyLQ5 tQ=; b=ngD9sryMoltuhv8CKRWDppX0OMnRc0tMbLrq9mZUgH0KtM356sK1tIgt5 EbpxPFiArU/CokL+s5Ljp47eFUKNcNzwafmokjhqggxp+1UpwQLVw1nC4kO9zipU 8pbIguRo4cbqV4x7tSf+HendJVr5FxzNqdzb0oiYBzqk7yiKtjIGZz1O33IFZ2Uq M7A1BO1n9OZ1xacxEWzcrRQ343QpFHg2G1OCeZKjGwN8vHokKwNI3ApYPy0xVOFv CAMscw12r1BfxtUp30Wffn9+MADLMlE8IJdPmtGp9bwBB1iydhQPdvIZqwlCPSzY iYUdbzdO1CCG7DY+fTys2ZMztqnYg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeiledgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhfhokffffgggjggtgfesth ejredttdefjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgv rhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhmqeenucffohhmrg hinhepvdhnughquhgrughrrghnthdrtghomhenucfkphepleefrddvgedvrddugeejrdej leenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtse dvnhguqhhurggurhgrnhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from april.pezone.net (p5df2934f.dip0.t-ipconnect.de [93.242.147.79]) by mail.messagingengine.com (Postfix) with ESMTPA id 3CCB780059; Fri, 29 Nov 2019 11:04:47 -0500 (EST) Subject: Re: pgsql: Add a regression test for allow_system_table_mods To: Tom Lane References: <13656.1575041267@sss.pgh.pa.us> Cc: pgsql-committers@lists.postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <315cfd3b-9d04-0ea4-76d8-1507c8bd9bb7@2ndquadrant.com> Date: Fri, 29 Nov 2019 17:04:45 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <13656.1575041267@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-11-29 16:27, Tom Lane wrote: > Peter Eisentraut writes: >> Add a regression test for allow_system_table_mods > > Oooh ... some of the buildfarm members are pointing out that this > didn't follow a project convention: Um, yes, that's why it's in unsafe_tests. Is there a way around this? > > @@ -153,6 +153,7 @@ > ROLLBACK; > -- reserved tablespace name > CREATE TABLESPACE pg_foo LOCATION '/no/such/location'; > +WARNING: tablespaces created by regression test cases should have names starting with "regress_" > ERROR: directory "/no/such/location" does not exist > -- triggers > CREATE TRIGGER t1 BEFORE INSERT ON pg_description EXECUTE FUNCTION tf1(); > > regards, tom lane > -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services