Re: doc review for v14
Michael Paquier <michael@paquier.xyz>
On Mon, Dec 21, 2020 at 10:11:53PM -0600, Justin Pryzby wrote:
> As I did last 2 years, I reviewed docs for v14...
Thanks for gathering all that!
> This year I've started early, since it takes more than a little effort and it's
> not much fun to argue the change in each individual hunk.
0001-pgindent-typos.not-a-patch touches pg_bsd_indent.
> /*
> - * XmlTable returns table - set of composite values. The error context, is
> - * used for producement more values, between two calls, there can be
> - * created and used another libxml2 error context. It is libxml2 global
> - * value, so it should be refreshed any time before any libxml2 usage,
> - * that is finished by returning some value.
> + * XmlTable returns a table-set of composite values. The error context is
> + * used for providing more detail. Between two calls, other libxml2
> + * error contexts might have been created and used ; since they're libxml2
> + * global values, they should be refreshed each time before any libxml2 usage
> + * that finishes by returning some value.
> */
That's indeed incorrect, but I am not completely sure if what you have
here is correct either. I'll try to study this code a bit more first,
though I have said that once in the past. :p
> --- a/src/bin/pg_dump/pg_restore.c
> +++ b/src/bin/pg_dump/pg_restore.c
> @@ -305,7 +305,7 @@ main(int argc, char **argv)
> /* Complain if neither -f nor -d was specified (except if dumping TOC) */
> if (!opts->cparams.dbname && !opts->filename && !opts->tocSummary)
> {
> - pg_log_error("one of -d/--dbname and -f/--file must be specified");
> + pg_log_error("one of -d/--dbname, -f/--file or -l/--list must be specified");
> exit_nicely(1);
> }
You have forgotten to update the TAP test pg_dump/t/001_basic.pl.
The message does not seem completely incorrect to me either. Hmm.
Restraining more the set of options is something to consider, though
it could be annoying. I have discarded this one for now.
> Specifies the amount of memory that should be allocated at server
> - startup time for use by parallel queries. When this memory region is
> + startup for use by parallel queries. When this memory region is
> insufficient or exhausted by concurrent queries, new parallel queries
> try to allocate extra shared memory temporarily from the operating
> system using the method configured with
> <varname>dynamic_shared_memory_type</varname>, which may be slower due
> to memory management overheads. Memory that is allocated at startup
> - time with <varname>min_dynamic_shared_memory</varname> is affected by
> + with <varname>min_dynamic_shared_memory</varname> is affected by
> the <varname>huge_pages</varname> setting on operating systems where
> that is supported, and may be more likely to benefit from larger pages
> on operating systems where that is managed automatically.
The current formulation is not that confusing, but I agree that this
is an improvement. Thomas, you are behind this one. What do you
think?
I have applied most of it on HEAD, except 0011 and the things noted
above. Thanks again.
--
Michael
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