Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit43aa40e

Browse files
committed
In pg_upgrade, add C comment about why we don't try to do shared file
writes for logging.
1 parenta9f0dbc commit43aa40e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎contrib/pg_upgrade/pg_upgrade.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ typedef struct
207207
* because it is being used by another process." so we have to send all
208208
* other output to 'nul'. Therefore, we set this to DEVNULL on Win32, and
209209
* it equals 'filename' on all other platforms.
210+
*
211+
* We could use the Windows pgwin32_open() flags to allow shared file
212+
* writes but is unclear how all other tools would use those flags, so
213+
* we just avoid it and log a little less on Windows.
210214
*/
211215
char*filename2;
212216
FILE*fd;/* log FILE */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp