Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1siFFY-0014P3-Rx for pgsql-general@arkaria.postgresql.org; Sun, 25 Aug 2024 15:33:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1siFFW-00GETy-Qq for pgsql-general@arkaria.postgresql.org; Sun, 25 Aug 2024 15:33:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1siFFV-00GETq-9K for pgsql-general@lists.postgresql.org; Sun, 25 Aug 2024 15:33:51 +0000 Received: from fout1-smtp.messagingengine.com ([103.168.172.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1siFFR-001RHZ-9n for pgsql-general@lists.postgresql.org; Sun, 25 Aug 2024 15:33:48 +0000 Received: from phl-compute-01.internal (phl-compute-01.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id 9EB031389445; Sun, 25 Aug 2024 11:33:43 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sun, 25 Aug 2024 11:33:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724600023; x=1724686423; bh=SGb2BB6SEocqLuaQoocrvSMv8E+OMC4LEd/JN2HxC+0=; b= Fs7eDqlvgig1Y2GhjkELYBP4fIxOnd9lx5QU7MqrW3Vv1owjCgjl22bRLJ9tmG7l d9I77e20f+OlisTKh6CdeOxh9Q+C56Qlqv1jGAMGyvhleaAHXTCct5/IPPPUkCBy 2wtcR5+mZfW3Yv1OCG+EdvL4tQSpE3YUFhTYotlgnjPAot0DQCVLvNjm35AT/LYi c0/3VwVKqGlWee/sAOpbCTa8alOxsCZ39a13dUAaVqY5ijJtTu2b1E/ZOUzTjapI pLfkU9mwESatTYBYOnl962zdtYNvaPjlkXVhIVMGixjdLucfIn32/CxT6ytWkGOR Pzy4KcbLxhn0HEP7dmlSjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724600023; x= 1724686423; bh=SGb2BB6SEocqLuaQoocrvSMv8E+OMC4LEd/JN2HxC+0=; b=W L/GQk5kivpzO0K0XXSaDA+MZDsEvptnFvFZOQHVP3+OFoCQKXb1zrdEOxfgpjlTO x27Ix4GN/H5Sre0PbkgafCtGWaYwKAaS0nVM8or0KK9fu2CmrtWUPAwnTnSAj6tA 4l3pCyIGVVTGYTXyxBJas1I+vNx65g0Ay2sVqUhkEkiyBQgDiQZ+0WvqoxtWK7mg 1FL751KwZA7KaxObnTnJP0l/RO9UXhjh7vsXprLBmSX71ubsTbu/6abLNPq0ikF0 NWBuDmkOBRtzCnPuIuVGfD6H+x9skwG6zEpCMqdwOGTUV+EKJaMCEegElRIEBziv 3oeA9soXByCQTYnE+8H6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddviedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeelgeevkeekkeeuiefgtdev ieeluefhfedufeetkeejffekjeeujeehgeehgeektdenucffohhmrghinhepphhoshhtgh hrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspg hrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhgihgrtgho sggsihesohhpthhiohhnmhgvthhrihgtshdrtghomhdprhgtphhtthhopehpghhsqhhlqd hgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Aug 2024 11:33:42 -0400 (EDT) Message-ID: <55d5e0db-f80a-4253-8c21-9b7b6c6a2f4d@aklaver.com> Date: Sun, 25 Aug 2024 08:33:41 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: On exclusion constraints and validity dates To: Justin Giacobbi , "pgsql-general@lists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 8/22/24 11:13, Justin Giacobbi wrote: > Hello, > > Currently I’m looking at working around this in the application or in a > stored procedure/insert trigger that is essentially the same logic. > Whichever seems easier to maintain. > > Advice on how to submit a feature request, or maybe a better workaround > that I haven’t discovered would be most welcome. What would be even more > welcome is someone with insight into these pieces of the program that > can tell me if I’d be biting off more than I can chew (or violating a > principle) trying to submit one of the three options above as a feature. Merge?: https://www.postgresql.org/docs/current/sql-merge.html > > Thank you > -- Adrian Klaver adrian.klaver@aklaver.com