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

Commit7519ffb

Browse files
committed
pathman: check that module is in shared_preload_libraries
1 parent73e2bbc commit7519ffb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎contrib/pg_pathman/pg_pathman.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,13 @@ bms_print(Bitmapset *bms)
150150
void
151151
_PG_init(void)
152152
{
153-
#ifndefWIN32
154-
if (IsUnderPostmaster)
153+
if (!process_shared_preload_libraries_in_progress)
155154
{
156155
elog(ERROR,"Pathman module must be initialized in postmaster. "
157156
"Put the following line to configuration file: "
158157
"shared_preload_libraries='pg_pathman'");
159158
initialization_needed= false;
160159
}
161-
#endif
162160

163161
/* Request additional shared resources */
164162
RequestAddinShmemSpace(pathman_memsize());

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp