8000 Change for online upgrade by kovdb75 · Pull Request #234 · postgrespro/pg_pathman · GitHub
[go: up one dir, main page]

Skip to content

Change for online upgrade #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 27, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change for online upgrade
  • Loading branch information
kovdb75 committed Oct 27, 2021
commit cffbe81c227ad62111a19bd82f2b84d405a2c8e6
3 changes: 3 additions & 0 deletions src/pathman_workers.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ start_bgworker(const char *bgworker_name,
snprintf(worker.bgw_library_name, BGW_MAXLEN, "pg_pathman");

worker.bgw_flags = BGWORKER_SHMEM_ACCESS |
#if defined(PGPRO_EE) && PG_VERSION_NUM == 130000 /* FIXME: need to replace "==" to ">=" in future */
BGWORKER_CLASS_PERSISTENT |
#endif
BGWORKER_BACKEND_DATABASE_CONNECTION;
worker.bgw_start_time = BgWorkerStart_RecoveryFinished;
worker.bgw_restart_time = BGW_NEVER_RESTART;
Expand Down
0