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

Commit cb203af

Browse files
authored
Merge pull request #234 from postgrespro/PGPRO-4086
Change for online upgrade
2 parents 7afd4ac + ca07842 commit cb203af

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 && PG_VERSION_NUM < 140000 /* FIXME: need to remove last condition 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)