Re: doc review for v14
Justin Pryzby <pryzby@telsasoft.com>
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
Commits
-
Fix typos and grammar in comments and docs
- 7ef8b52cf079 14.0 landed
-
Fix typos and grammar in documentation and code comments
- 1cdbf7f0d256 9.6.22 landed
- a2b35b3117eb 10.17 landed
- 7f493570af92 11.12 landed
- d42978c67afa 12.7 landed
- dc6d285c2ef9 13.3 landed
- 609b0652af00 14.0 landed
-
Move pg_stat_statements query jumbling to core.
- 5fd9dfa5f50e 14.0 cited
-
doc: Improve description of data checksums
- bd1b8d0ef2eb 14.0 landed
-
Fix some typos, grammar and style in docs and comments
- c7a4fc3dd001 9.6.22 landed
- a8f26f6c8882 10.17 landed
- 70dc2385f9a2 11.12 landed
- 3b2af88788e1 12.7 landed
- 9de839fb4ab0 13.3 landed
- bcf2667bf62d 14.0 landed
-
doc: Improve wording of section for repslot statistics
- 2a5862f01364 14.0 landed
-
Implement support for bulk inserts in postgres_fdw
- b663a4136331 14.0 cited
-
psql \dX: list extended statistics objects
- ad600bba0422 14.0 cited
-
Add documentation chapter about checksums
- cf621d9d84db 14.0 cited
-
Simplify some comments in xml.c
- b49154b3b7a4 14.0 landed
-
Allow decoding at prepare time in ReorderBuffer.
- a271a1b50e9b 14.0 cited
-
Extend the output plugin API to allow decoding of prepared xacts.
- 0aa8a01d04c8 14.0 cited
-
doc: Improve some grammar and sentences
- d46eb10c06f4 9.5.25 landed
- b25c106df71f 9.6.21 landed
- a8c68e7796d4 10.16 landed
- e06713ab6eac 11.11 landed
- 9ad2689889ad 12.6 landed
- 5253906fac5a 13.2 landed
-
doc: Improve description of min_dynamic_shared_memory
- 1b3433e25f81 14.0 landed
-
Fix typos and grammar in docs and comments
- 90fbf7c57df6 14.0 landed
-
Multirange datatypes
- 6df7a9698bb0 14.0 cited
-
Move per-agg and per-trans duplicate finding to the planner.
- 0a2bc5d61e71 14.0 cited
-
Allow pg_rewind to use a standby server as the source system.
- 9c4f5192f69e 14.0 cited
-
snapshot scalability: cache snapshots using a xact completion counter.
- 623a9ba79bbd 14.0 cited
-
Add tests for tuplesort.c.
- 4a252996d5fd 13.0 cited
-
Document piecemeal construction of partitioned indexes
- 5efd604ec0a3 12.0 cited
-
Report progress of CREATE INDEX operations
- ab0dfc961b6a 12.0 cited
-
Fix misc typos, mostly in comments.
- 6b387179baab 12.0 cited
-
Improve pageinspect module
- d6061f83a166 9.6.0 cited
-
Revamp the WAL record format.
- 2c03216d8311 9.5.0 cited
-
Fix assorted bugs in CREATE/DROP INDEX CONCURRENTLY.
- 3c84046490be 9.3.0 cited