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

Appearance settings

Commit 1810ca1

Browse filesBrowse files
committed
pg_standby: Don't use HAVE_WORKING_LINK
HAVE_WORKING_LINK is meant to indicate support for hard links, mainly for Windows. Here it is used for soft links on Unix, and the functionality is optional anyway, so we can just make it error out normally if needed. Discussion: https://www.postgresql.org/message-id/flat/72fff73f-dc9c-4ef4-83e8-d2e60c98df48%402ndquadrant.com
1 parent 61b7394 commit 1810ca1
Copy full SHA for 1810ca1

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed

‎contrib/pg_standby/pg_standby.c

Copy file name to clipboardExpand all lines: contrib/pg_standby/pg_standby.c
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,8 @@ CustomizableInitialize(void)
144144
switch (restoreCommandType)
145145
{
146146
case RESTORE_COMMAND_LINK:
147-
#ifdef HAVE_WORKING_LINK
148147
SET_RESTORE_COMMAND("ln -s -f", WALFilePath, xlogFilePath);
149148
break;
150-
#endif
151149
case RESTORE_COMMAND_COPY:
152150
default:
153151
SET_RESTORE_COMMAND("cp", WALFilePath, xlogFilePath);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.