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 1vDhGr-00DnHA-0j for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Oct 2025 10:49:44 +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 1vDhGp-00CKFc-UP for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Oct 2025 10:49:42 +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 1vDhGp-00CKFS-7o for pgsql-hackers@lists.postgresql.org; Tue, 28 Oct 2025 10:49:42 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vDhGl-004gO7-2G for pgsql-hackers@lists.postgresql.org; Tue, 28 Oct 2025 10:49:41 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 94D52EC04E4; Tue, 28 Oct 2025 06:49:37 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Tue, 28 Oct 2025 06:49:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; 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=fm2; t=1761648577; x=1761734977; bh=Ie48ZBsiFUCjwjIRiIV5fVi1CT5XAad+tnizLa1pSFc=; b= ZxzndR0nUVvWieCwZntqFum1gJ/cHULyiDGg26Zdn8uxcIqZ4jKxNUcoQOBJzGg0 qJtL7eiw2H9dHzYiG5255O+sdhoTChpjGEBGiRqytsojo9C/CxTInM49Jr6yQ66O HFX5iTVEPJAOli0nLSv84cvgnWL/CGaRjXhR0DyuzOUPAfHrGb/977EJHN6Ax1wZ /AIJeHaVCMzGtw0wjFS/+/VfFRWp7M1PS8Oz/nCT1Oz01nfh3EM5+FPoPyWVLHCD UFDLisn7AZb6w4KkN8YmbzzkIWQPHAToI2phcHwWj09AiNluSmLTj3KThPDFrsiE PHn0umRQrSgwrbPX2jUUpw== 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-sender :x-me-sender:x-sasl-enc; s=fm3; t=1761648577; x=1761734977; bh=I e48ZBsiFUCjwjIRiIV5fVi1CT5XAad+tnizLa1pSFc=; b=mk9Dri8k0uj6N7YOY e+vybQas/+jcKN4gsTtpt5OZnGVdSAY++I8IjDi9VdJTPs97W1qLeqWwWeBMlQtz K4tpMo4trFRsaTW1JAkZyER2t6015qk55/oX4WHotsadOjnTrLA1BZwvZxEU6wEH LS7ZKYi/zCcGDZ0LQV0f4Ss/3jZ0iKzuUI5eF4Vhq7d4QwPkwQNwV3oQSvM13897 9VAVUaWMFZGQakZ0E2SV2bdjqkIdd6b1+8uf4IQyK0ckblfljivp3ZH0azPe9wFU wy0+aG8oK7seDNubTrVok2ymHmIR8/vZNEoivS1NFirqNBiZqD7QYg4KuHHdPTu8 +1XWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdduiedtieeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenuc ggtffrrghtthgvrhhnpeehiedvhfeuhfeugefgfeehgeejtdevuefhtefhueefvddugfdt ueehgfefudfhffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpthhtohep vddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepphhjsehilhhluhhmihhnrghtvg gutghomhhpuhhtihhnghdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhs sehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Oct 2025 06:49:36 -0400 (EDT) Message-ID: <2f5364f3-a1d3-4410-98f3-d788b11e6525@eisentraut.org> Date: Tue, 28 Oct 2025 11:49:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: SQL:2011 Application Time Update & Delete To: Paul A Jungwirth , PostgreSQL Hackers References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 24.10.25 19:08, Paul A Jungwirth wrote: > The first 3 doc patches all apply to features that we released in v18, > so it would be nice to get those reviewed/merged soon if possible. I have looked through the documentation patches 0001 through 0003. I suggest making the Temporal Tables chapter a section instead. It doesn't feel big enough to be a top-level topic. I think it would fit well into the Data Definition chapter, perhaps after the "System Columns" section (section 5.6). And then the temporal update and delete material would go into the Data Manipulation chapter. The syntax examples for temporal primary keys would be better if they used complete CREATE TABLE examples instead of ALTER TABLE on some table that is presumed to exist. (Or you could link to where in the documentation the table is created.) The PostgreSQL documentation is not really a place to describe features that don't exist. So while it's okay to mention system time in the glossary because it contrasts with application time, it doesn't seem appropriate to elaborate further on this in the main body of the documentation, unless we actually implement it. Similarly with periods, we can document them when we have them, but before that it's just a distraction. The pictures are nice. Again, it would be helpful if you showed the full CREATE TABLE statement beforehand, so that it is easier to picture when kind of table structure is being reflected. Initially, I read $5, $8, etc. as parameter numbers, not as prices. Perhaps possible confusion could be avoided if you notionally make the price column of type numeric and show the prices like 5.00, 8.00, etc. I also looked over the patch "Add UPDATE/DELETE FOR PORTION OF" a bit. I think it has a good structure now. I'll do a more detailed review soon.