Skip to content

Commit 9d95cdc

Browse files
committed
Update workding on why we use is_absolute_path() as a macro.
1 parent 4b3a2d8 commit 9d95cdc

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/08 16: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
#ifndef WIN32
5554
#define is_absolute_path(filename) \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy