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

Commita2190c9

Browse files
committed
Prevent unlink/rename Win32 mapping on frontends.
1 parent97e2446 commita2190c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/c.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.140 2003/04/2501:24:00 momjian Exp $
15+
* $Id: c.h,v 1.141 2003/04/2516:18:40 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -714,7 +714,7 @@ off_t ftello(FILE *stream);
714714
/*
715715
* Win32 doesn't have reliable rename/unlink during concurrent access
716716
*/
717-
#ifdefWIN32
717+
#if defined(WIN32)&& !defined(FRONTEND)
718718
intpgrename(constchar*from,constchar*to);
719719
intpgunlink(constchar*path);
720720
#definerename(path)pgrename(path)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp