at 18.09-beta 470 B view raw
1--- a/src/bin/pg_config/pg_config.c 2+++ b/src/bin/pg_config/pg_config.c 3@@ -220,11 +220,13 @@ show_sysconfdir(bool all) 4 static void 5 show_pgxs(bool all) 6 { 7- char path[MAXPGPATH]; 8+ char path[MAXPGPATH] = "HARDCODED_PGXS_PATH"; 9 10 if (all) 11 printf("PGXS = "); 12+ /* commented out to be able to point to nix $out path 13 get_pkglib_path(mypath, path); 14+ */ 15 strlcat(path, "/pgxs/src/makefiles/pgxs.mk", sizeof(path)); 16 cleanup_path(path); 17 printf("%s\n", path);