Skip to content

Commit 478178b

Browse files
committed
pathman: remove preload check from init.c
1 parent 7519ffb commit 478178b

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

contrib/pg_pathman/init.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ init_shmem_config()
6464
pmstate->dsm_init_lock = LWLockAssign();
6565
pmstate->edit_partitions_lock = LWLockAssign();
6666
}
67-
#ifdef WIN32
68-
else
69-
{
70-
elog(ERROR, "Pathman module must be initialized in postmaster. "
71-
"Put the following line to configuration file: "
72-
"shared_preload_libraries='pg_pathman'");
73-
initialization_needed = false;
74-
}
75-
#endif
7667
}
7768

7869
create_relations_hashtable();

contrib/pg_pathman/pg_pathman.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ _PG_init(void)
155155
elog(ERROR, "Pathman module must be initialized in postmaster. "
156156
"Put the following line to configuration file: "
157157
"shared_preload_libraries='pg_pathman'");
158-
initialization_needed = false;
158+
initialization_needed = false;
159159
}
160160

161161
/* Request additional shared resources */

0 commit comments

Comments
 (0)