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

Commit298e58c

Browse files
committed
Fix library_path with canonicalization.
1 parent66d56a8 commit298e58c

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/1022: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/1200:09:07 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.219 2004/07/1202: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)

[8]ページ先頭

©2009-2025 Movatter.jp