mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. This set of diffs is a bit larger than typical. We've updated to pg_bsd_indent 2.1.2, which properly indents variable declarations that have multi-line initialization expressions (the continuation lines are now indented one tab stop). We've also updated to perltidy version 20230309 and changed some of its settings, which reduces its desire to add whitespace to lines to make assignments etc. line up. Going forward, that should make for fewer random-seeming changes to existing code. Discussion: https://postgr.es/m/20230428092545.qfb3y5wcu4cm75ur@alvherre.pgsql
This commit is contained in:
@@ -1609,10 +1609,10 @@ sendFile(bbsink *sink, const char *readfilename, const char *tarfilename,
|
||||
*
|
||||
* There's no guarantee that this will actually
|
||||
* happen, though: the torn write could take an
|
||||
* arbitrarily long time to complete. Retrying multiple
|
||||
* times wouldn't fix this problem, either, though
|
||||
* it would reduce the chances of it happening in
|
||||
* practice. The only real fix here seems to be to
|
||||
* arbitrarily long time to complete. Retrying
|
||||
* multiple times wouldn't fix this problem, either,
|
||||
* though it would reduce the chances of it happening
|
||||
* in practice. The only real fix here seems to be to
|
||||
* have some kind of interlock that allows us to wait
|
||||
* until we can be certain that no write to the block
|
||||
* is in progress. Since we don't have any such thing
|
||||
|
Reference in New Issue
Block a user