Skip to content

Commit 39ec59f

Browse files
committed
Restore behavior of --pgxs option to that of the original shell script.
1 parent ab6ee1f commit 39ec59f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_config/pg_config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1919
*
20-
* $PostgreSQL: pgsql/src/bin/pg_config/pg_config.c,v 1.3 2004/08/02 12:34:14 momjian Exp $
20+
* $PostgreSQL: pgsql/src/bin/pg_config/pg_config.c,v 1.4 2004/08/05 03:11:55 joe Exp $
2121
*
2222
*-------------------------------------------------------------------------
2323
*/
@@ -141,7 +141,7 @@ main (int argc, char ** argv)
141141
else if (strcmp(argv[i],"--pgxs") == 0)
142142
{
143143
get_pkglib_path(mypath,otherpath);
144-
strncat(otherpath, "/pgxs", MAXPGPATH-1);
144+
strncat(otherpath, "/pgxs/src/makefiles/pgxs.mk", MAXPGPATH-1);
145145
}
146146

147147
printf("%s\n",otherpath);

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