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

Commit9d95cdc

Browse files
committed
Update workding on why we use is_absolute_path() as a macro.
1 parent4b3a2d8 commit9d95cdc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/include/port.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/port.h,v 1.65 2004/11/06 01:16:14 tgl Exp $
9+
* $PostgreSQL: pgsql/src/include/port.h,v 1.66 2004/11/0816:34:23 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -47,9 +47,8 @@ extern void get_parent_directory(char *path);
4747
/*
4848
*is_absolute_path
4949
*
50-
*This capability is needed by libpq and initdb.c
51-
*On Win32, you can't reference the same object file that is
52-
*in two different libraries (pgport and libpq), so a macro is best.
50+
*By making this a macro we prevent the need for libpq to include
51+
*path.c which uses exec.c.
5352
*/
5453
#ifndefWIN32
5554
#defineis_absolute_path(filename) \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp