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

Commit8a91100

Browse files
committed
Only do pkglib_path if needed.
1 parent952c772 commit8a91100

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.411 2004/05/1919:39:27 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.412 2004/05/1921:17:33 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -2190,7 +2190,8 @@ PostgresMain(int argc, char *argv[], const char *username)
21902190
gettext("%s: could not locate my own executable path"),
21912191
argv[0]);
21922192

2193-
get_pkglib_path(my_exec_path,pkglib_path);
2193+
if (pkglib_path[0]=='\0')
2194+
get_pkglib_path(my_exec_path,pkglib_path);
21942195

21952196
/*
21962197
* Set default values for command-line options.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp