Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cffbe81

Browse files
committed
Change for online upgrade
1 parent 7afd4ac commit cffbe81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pathman_workers.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ start_bgworker(const char *bgworker_name,
195195
snprintf(worker.bgw_library_name, BGW_MAXLEN, "pg_pathman");
196196

197197
worker.bgw_flags = BGWORKER_SHMEM_ACCESS |
198+
#if defined(PGPRO_EE) && PG_VERSION_NUM == 130000 /* FIXME: need to replace "==" to ">=" in future */
199+
BGWORKER_CLASS_PERSISTENT |
200+
#endif
198201
BGWORKER_BACKEND_DATABASE_CONNECTION;
199202
worker.bgw_start_time = BgWorkerStart_RecoveryFinished;
200203
worker.bgw_restart_time = BGW_NEVER_RESTART;

0 commit comments

Comments
 (0)