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 1kvwxq-0008Md-NX for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jan 2021 06:34:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kvwxn-0000ov-Fa for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jan 2021 06:34:03 +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 1kvwxn-0000om-44 for pgsql-hackers@lists.postgresql.org; Sun, 03 Jan 2021 06:34:03 +0000 Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kvwxj-0003tY-FQ for pgsql-hackers@postgresql.org; Sun, 03 Jan 2021 06:34:01 +0000 Received: by mail-il1-x12b.google.com with SMTP id 75so22342568ilv.13 for ; Sat, 02 Jan 2021 22:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=G/U1J1PIhTovESAfIHH85cMIjDBA0OJtvSLv1eUuzNM=; b=yPGlISq/Vo6fQ92q2gNKiTep+KSr8V8wtQfuyJ1GsWWwOGhOzMCQf6DZECiqZnn3GZ OzZJC8ZWUYeF9pStHd4VUwt2DtTZ3sq+wOR1PojWVyNwiC2EMtSRmu/xy9qCkwEdE++H N39GnCq9lO+R9cUsICBiT0e0llwE5RPC8ABgsqAoA3OWsemEW6ErRgCOmQ3eDARlBX/U RigE3wB9dyafyOKSaHVIljoIvfP/GcdNWt5mciozpUo0pOUBjxrzhA8lQlP6giJDY27c E1yb/q1aSgoCdeHpq5zO1reDPtp4z5rMP8iwJIJwhvh9AOjqNoLYcfJWftZmD35KAZuY 5R+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=G/U1J1PIhTovESAfIHH85cMIjDBA0OJtvSLv1eUuzNM=; b=gGqyW5zweQwutXhHSIQkLv4S1K+Yh6Xq4JcsvD+rha2Bvx9/bqJAcqhN151r5KVkWi EsHuZlMwKlBRaU4gHL+ID1ohk60kYY63swzr8RimjpliyfWENzxAlg/h4DyRA5VeN/X7 rmaj3yWnz6qR9IM8JK/IT9xJiJd/rNDZilmANHD2E0N4SK/JFOnGNdgJPQ00E785jF/z 07sh/XuTkuCaO0c/6OjPedCAjCJNxOVIGeY7Emiy3fbJMy07iCMZ2dJZTCT0qWq4FtBv Q+iwqCh7YNnY3E0Ob6zf13bZinT5SM9n+xgNfGlgpG9vh9jwPp3Bm6rWd1pfTr7/d2Lq VS4g== X-Gm-Message-State: AOAM53225/Q8A0XvR4R2wKbv/749byHCQCpsffR0VlOPhbzqI+U0fSz1 P/pnWHbiGS2Aut1syACoc3uBgg== X-Google-Smtp-Source: ABdhPJwz3Yo3HpmZlRgaAjLVTu4SS29a7NYJJ+wuWvV1SvDzyVG+jxR38XzsBMp83vxx/ND3asfF8g== X-Received: by 2002:a05:6e02:8e5:: with SMTP id n5mr66322896ilt.151.1609655636385; Sat, 02 Jan 2021 22:33:56 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id p11sm38810159ilb.13.2021.01.02.22.33.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jan 2021 22:33:55 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 8DEB48038F3; Sun, 3 Jan 2021 00:33:54 -0600 (CST) Date: Sun, 3 Jan 2021 00:33:54 -0600 From: Justin Pryzby To: Michael Paquier Cc: pgsql-hackers@postgresql.org, Bruce Momjian , Thomas Munro Subject: Re: doc review for v14 Message-ID: <20210103063354.GI25152@telsasoft.com> References: <20201222041153.GK30237@telsasoft.com> <20201227202604.GC26311@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Jan 03, 2021 at 03:10:54PM +0900, Michael Paquier wrote: > On Tue, Dec 29, 2020 at 06:22:43PM +0900, Michael Paquier wrote: > > Yes, I have done an extra effort on those fixes where needed. On top > > of that, I have included catalogs.sgml, pgstatstatements.sgml, > > explain.sgml, pg_verifybackup.sgml and wal.sgml in 13. > > Justin, I got to look at the libxml2 part, and finished by rewording > the comment block as follows: > + * XmlTable returns a table-set of composite values. This error context > + * is used for providing more details, and needs to be reset between two > + * internal calls of libxml2 as different error contexts might have been > + * created or used. I don't like "this error context", since "this" seems to be referring to the "tableset of composite values" as an err context. I guess you mean: "needs to be reset between each internal call to libxml2.." So I'd suggest: > + * XmlTable returns a table-set of composite values. The error context > + * is used for providing additional detail. It needs to be reset between each > + * call to libxml2, since different error contexts might have been > + * created or used since it was last set. But actually, maybe we should just use the comment that exists everywhere else for that. /* Propagate context related error context to libxml2 */ xmlSetStructuredErrorFunc((void *) xtCxt->xmlerrcxt, xml_errorHandler); Maybe should elaborate and say: /* * Propagate context related error context to libxml2 (needs to be * reset before each call, in case other error contexts have been assigned since * it was first set) */ */ xmlSetStructuredErrorFunc((void *) xtCxt->xmlerrcxt, xml_errorHandler); -- Justin