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 1rgVyh-006UU8-HF for pgsql-www@arkaria.postgresql.org; Sat, 02 Mar 2024 20:29:03 +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 1rgVyf-00H3hc-VQ for pgsql-www@arkaria.postgresql.org; Sat, 02 Mar 2024 20:29:02 +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 1rgVyf-00H3hU-Oq for pgsql-www@lists.postgresql.org; Sat, 02 Mar 2024 20:29:02 +0000 Received: from tux-cave.hellug.gr ([195.134.99.74]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rgVyd-002SCl-FY for pgsql-www@postgresql.org; Sat, 02 Mar 2024 20:29:01 +0000 X-Spam-Status: No X-Hellug-MailScanner-From: vyruss@hellug.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.906, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, HTML_MESSAGE 0.00, T_SCC_BODY_TEXT_LINE -0.01, URIBL_BLOCKED 0.00, URIBL_DBL_BLOCKED_OPENDNS 0.00, URIBL_ZEN_BLOCKED_OPENDNS 0.00) X-Hellug-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-Hellug-MailScanner-ID: 422KSV9j029898 Received: from mail.hellug.gr (localhost [127.0.0.1]) (authenticated bits=0) by tux-cave.hellug.gr (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTPSA id 422KSV9j029898 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 2 Mar 2024 22:28:32 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_9ba1e3905cc64537bc376f994e21b528" Date: Sat, 02 Mar 2024 20:28:31 +0000 From: Jimmy Angelakos To: Tom Lane Cc: Erik Wienhold , Marcos Pegoraro , pgsql-www@postgresql.org Subject: Re: Diff of this page with other version Organization: Hellenic Linux User Group In-Reply-To: <3129677.1709400823@sss.pgh.pa.us> References: <3129677.1709400823@sss.pgh.pa.us> Message-ID: X-Sender: vyruss@hellug.gr User-Agent: Roundcube Webmail/1.3.17 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=_9ba1e3905cc64537bc376f994e21b528 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII On 02/03/2024 17:33, Tom Lane wrote: > 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 I agree with Tom, I think automation of this process is the way to go here. Best regards, Jimmy --=_9ba1e3905cc64537bc376f994e21b528 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

On 02/03/2024 17:33, Tom Lane wrote:

= Erik Wienhold <ewie@ewie.name> = writes:
I think you underestimate the effort because the chang= es 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 betwe= en v15 and v16, I see that
the addition of STORAGE modified an existi= ng line.  So that regex has to
match and wrap just the relevant = substring.  When new storage modes are
added we end up with nest= ed version info in order to compare vXX with
pre v16:

Yeah.  I think the chances of getting people to do this in the = =2Esgml
files are precisely zero.  What might have a chance of h= appening is
to provide a way on the website of running htmldiff or si= milar tool
over two versions of a doc page on-the-fly and show the re= sults.

         &= nbsp;  regards, tom lane

I agree with Tom, I think automation of this process is the way to go he= re.

Best regards,
Jimmy

--=_9ba1e3905cc64537bc376f994e21b528--