]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix and clarify function comment on LogicalTapeSetCreate.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 23 Jan 2023 09:56:43 +0000 (11:56 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 23 Jan 2023 09:57:18 +0000 (11:57 +0200)
commit95f62b16a3344e48ecce1ceb2882e5af24c13a1b
tree2ef26a19bee895291e050a23b753039a4fea8c30
parent9e4288ce6d30024de1586fefa6db077c5f9122c2
Fix and clarify function comment on LogicalTapeSetCreate.

Commit c4649cce39 removed the "shared" and "ntapes" arguments, but the
comment still talked about "shared". It also talked about "a shared
file handle", which was technically correct because even before commit
c4649cce39, the "shared file handle" referred to the "fileset"
argument, not "shared". But it was very confusing. Improve the
comment.

Also add a comment on what the "preallocate" argument does.

Backpatch to v15, just to make backpatching other patches easier in
the future.

Discussion: https://www.postgresql.org/message-id/af989685-91d5-aad4-8f60-1d066b5ec309@enterprisedb.com
Reviewed-by: Peter Eisentraut
src/backend/utils/sort/logtape.c