Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwjOO-0007YJ-Kh for pgsql-performance@arkaria.postgresql.org; Mon, 03 Sep 2018 07:35:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwjOM-0005E4-Nd for pgsql-performance@arkaria.postgresql.org; Mon, 03 Sep 2018 07:35:22 +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.89) (envelope-from ) id 1fwjOM-0005Do-GC for pgsql-performance@lists.postgresql.org; Mon, 03 Sep 2018 07:35:22 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwjOJ-0005nF-2m for pgsql-performance@lists.postgresql.org; Mon, 03 Sep 2018 07:35:21 +0000 Received: from [192.168.178.20] (unknown [185.38.49.16]) by mail.i-mark.de (Postfix) with ESMTPSA id 574991580101 for ; Mon, 3 Sep 2018 09:35:15 +0200 (CEST) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.16) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: trying to delete most of the table by range of date col To: pgsql-performance@lists.postgresql.org References: <20180903070624.GA11702@telsasoft.com> From: Andreas Kretschmer Message-ID: <4a0271e9-df9e-680e-9b21-636763cb674f@a-kretschmer.de> Date: Mon, 3 Sep 2018 09:35:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180903070624.GA11702@telsasoft.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 03.09.2018 um 09:06 schrieb Justin Pryzby: > Note, I believe it's planned in the future for foreign keys to support > referenes to partitioned tables, at which point you could just DROP the monthly > partition...but not supported right now. the future is close, that's possible in 11 ;-) Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com