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 1ghGMU-0001ah-O1 for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Jan 2019 16:05:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ghGMS-0000iD-6f for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Jan 2019 16:05:44 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1ghGMQ-0000hl-4s for pgsql-bugs@lists.postgresql.org; Wed, 09 Jan 2019 16:05:44 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ghGMM-0003fa-7Z for pgsql-bugs@lists.postgresql.org; Wed, 09 Jan 2019 16:05:41 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AF765213CA; Wed, 9 Jan 2019 11:05:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 09 Jan 2019 11:05:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm3; bh=T gdNCJLniE2vv6/uSWa9Xlq1zvsBgHTtcQuQCsh4o1Y=; b=byLguXG6jgtO9gwVM GOSMYSwy4LQmrcMDKNelh8Zll2mYMIQQufuw/Aoyvoe/WlMIH4L7wdDX17tyBg6F 2HJlV38LKcRe8ixait8up4GImtQPZtJPQU/ZY/CU8f7R4Skn+PtO4YjjEFIOluaO sAKpagsH+c4HiWaX8fdqK/W3KWL7TRDtMiuGIp5iK/t9EyvINbUpmV8LVuQjVRkk hGpAvDnQR4hu0B8Lx3jkpeGO0XJRFAuQOzuWdEgUcRNDB8w6MI9gwGZITLZOYgVF Yu1/pQsoWXZITL8ygD9n8baC9MJF+/2B/HVOhJUAx0Nguv1rArtrhNyeEmiF7JQb Yk3aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=TgdNCJLniE2vv6/uSWa9Xlq1zvsBgHTtcQuQCsh4o 1Y=; b=ZuQZfKmnSJ6CSE7uiHh3Xvd5bcNRWkRblNmMsR9s06/zIlhd3GiuPHNuG sOBVcPejy+sdTWYYALC0z7nlppLhOCNKIJOmoynA1s0XIMvtKPBNfar1OcEAnzNt k9/J9IBfEV3RasckMG3knIhY+vxPK/msy2KR2fpdVojjFp/A8e7WXS8bjMLUHrEa T2QbuGfHXizHbx6+tgZqeQPNRJ2FhnXl+g/vagX92NWZ0EAdK5He/pnKMGqrn+gS zpxlxP9l4kYpsUhGUyN8chB0Ywqo6Pu+DJHTjYOfeTT8Enlv8ciZdGghFIUiPp2z n93egrkHLxIIAa/yMp87uMJJAlKgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrfedugdekheculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjsehtke ertddttdejnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegr nhgrrhgriigvlhdruggvqeenucfkphepleekrddvuddtrddugedtrddujedunecurfgrrh grmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvgenucevlhhu shhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 2874DE4394; Wed, 9 Jan 2019 11:05:35 -0500 (EST) Date: Wed, 9 Jan 2019 08:05:33 -0800 From: Andres Freund To: liuwanle2010@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15581: CREATE TABLE IF NOT EXISTS error Message-ID: <20190109160533.23y7hmjpf5hclvvx@alap3.anarazel.de> References: <15581-085ab3bb11d7e2fa@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <15581-085ab3bb11d7e2fa@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-01-09 02:12:54 +0000, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 15581 > Logged by: iG > Email address: liuwanle2010@gmail.com > PostgreSQL version: 11.1 > Operating system: Debian 9 > Description: > > sql: > create table if not exists z.user_20190110 partition of z.user for values > from ('20190110') to ('20190111'); > > messages: > NOTICE: relation "user_20190110" already exists, skipping > ERROR: table "user_20190110" is already distributed > SQL 状态:42P16 This does not appear to be an error message emitted by plain postgres. Area you using an extension like Citus? If so, that's likely where you'd need to redirect this bug to. Greetings, Andres Freund