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

Commit1810ca1

Browse files
committed
pg_standby: Don't use HAVE_WORKING_LINK
HAVE_WORKING_LINK is meant to indicate support for hard links, mainlyfor Windows. Here it is used for soft links on Unix, and thefunctionality is optional anyway, so we can just make it error outnormally if needed.Discussion:https://www.postgresql.org/message-id/flat/72fff73f-dc9c-4ef4-83e8-d2e60c98df48%402ndquadrant.com
1 parent61b7394 commit1810ca1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎contrib/pg_standby/pg_standby.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,8 @@ CustomizableInitialize(void)
144144
switch (restoreCommandType)
145145
{
146146
caseRESTORE_COMMAND_LINK:
147-
#ifdefHAVE_WORKING_LINK
148147
SET_RESTORE_COMMAND("ln -s -f",WALFilePath,xlogFilePath);
149148
break;
150-
#endif
151149
caseRESTORE_COMMAND_COPY:
152150
default:
153151
SET_RESTORE_COMMAND("cp",WALFilePath,xlogFilePath);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp