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 1rgTFB-006FPn-NP for pgsql-www@arkaria.postgresql.org; Sat, 02 Mar 2024 17:33:54 +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 1rgTF9-00Gl5E-KQ for pgsql-www@arkaria.postgresql.org; Sat, 02 Mar 2024 17:33:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rgTF9-00Gl56-4u for pgsql-www@lists.postgresql.org; Sat, 02 Mar 2024 17:33:51 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rgTF5-002W4l-NZ for pgsql-www@postgresql.org; Sat, 02 Mar 2024 17:33:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 422HXhro3129678; Sat, 2 Mar 2024 12:33:43 -0500 From: Tom Lane To: Erik Wienhold cc: Marcos Pegoraro , pgsql-www@postgresql.org Subject: Re: Diff of this page with other version In-reply-to: References: Comments: In-reply-to Erik Wienhold message dated "Sat, 02 Mar 2024 17:14:59 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3129676.1709400823.1@sss.pgh.pa.us> Date: Sat, 02 Mar 2024 12:33:43 -0500 Message-ID: <3129677.1709400823@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Erik Wienhold writes: > I think you underestimate the effort because the changes are not always > as clear (adding one line) as for copy.sgml as you've shown above. For > example, if I check create_table.sgml between v15 and v16, I see that > the addition of STORAGE modified an existing line. So that regex has to > match and wrap just the relevant substring. When new storage modes are > added we end up with nested version info in order to compare vXX with > pre v16: Yeah. I think the chances of getting people to do this in the .sgml files are precisely zero. What might have a chance of happening is to provide a way on the website of running htmldiff or similar tool over two versions of a doc page on-the-fly and show the results. regards, tom lane