Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmYdg-0000TT-9d for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Nov 2021 09:51:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mmYdf-0005ln-5y for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Nov 2021 09:50:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmYde-0005ld-T3 for pgsql-hackers@lists.postgresql.org; Mon, 15 Nov 2021 09:50:58 +0000 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmYdc-000305-Dt for pgsql-hackers@postgresql.org; Mon, 15 Nov 2021 09:50:58 +0000 Received: (Authenticated sender: vik@postgresfriends.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 9117A1BF203; Mon, 15 Nov 2021 09:50:49 +0000 (UTC) Subject: Re: WIP: System Versioned Temporal Table To: Daniel Gustafsson , Simon Riggs Cc: Corey Huinker , Jaime Casanova , vignesh C , Ibrar Ahmed , Surafel Temesgen , =?UTF-8?Q?R=c3=a9mi_Lapeyre?= , Ryan Lambert , Masahiko Sawada , Michael Paquier , Eli Marmor , David Steele , PostgreSQL-development , Georgios , Li Japin References: <7990518c-3dd3-4f30-c5e1-e094f6126e9a@postgresfriends.org> <358FBCC9-F788-4ECE-8104-6825F65D1C56@hotmail.com> <20210910183023.GB5852@ahch-to> <335B3EDC-ACCD-4312-9783-C2F8FB083D80@yesql.se> From: Vik Fearing Message-ID: Date: Mon, 15 Nov 2021 10:50:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <335B3EDC-ACCD-4312-9783-C2F8FB083D80@yesql.se> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/15/21 10:47 AM, Daniel Gustafsson wrote: >> On 19 Sep 2021, at 20:32, Simon Riggs wrote: > >> My preferred approach would be to do this "for free" in the table >> access method, but we're a long way from this in terms of actual >> implementation. When Corey suggested earlier that we just put the >> syntax in there, this was the direction I was thinking. >> >> After waiting a day since I wrote the above, I think we should go with >> (2) as Corey suggests, at least for now, and we can always add (3) >> later. > > This patch no longer applies, are there plans on implementing the approaches > discussed above, or should we close this entry and open a new one when a > freshly baked pathed is ready? I spent a lot of time a while ago trying to fix this patch (not just rebase it), and I think it should just be rejected, unfortunately. The design decisions are just too flawed, and it conflates system_time periods with system versioning which is very wrong. -- Vik Fearing