Skip to content

Commit 298e58c

Browse files
committed
Fix library_path with canonicalization.
1 parent 66d56a8 commit 298e58c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/backend/utils/fmgr/dfmgr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.74 2004/06/10 22:26:19 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.75 2004/07/12 02:22:49 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -405,6 +405,7 @@ find_in_dynamic_libpath(const char *basename)
405405
strncpy(piece, p, len);
406406
piece[len] = '\0';
407407

408+
canonicalize_path(piece);
408409
mangled = substitute_libpath_macro(piece);
409410
pfree(piece);
410411

src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.218 2004/07/12 00:09:07 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.219 2004/07/12 02:22:51 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1471,7 +1471,7 @@ static struct config_string ConfigureNamesString[] =
14711471
"the specified file.")
14721472
},
14731473
&Dynamic_library_path,
1474-
"$libdir", assign_canonical_path, NULL
1474+
"$libdir", NULL, NULL
14751475
},
14761476

14771477
{

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