Increase size of bgw_library_name.
Nathan Bossart <nathan@postgresql.org>
Increase size of bgw_library_name. This commit increases the size of the bgw_library_name member of the BackgroundWorker struct from BGW_MAXLEN (96) bytes to MAXPGPATH (default of 1024) bytes so that it can store longer file names (e.g., absolute paths). Author: Yurii Rashkovskii Reviewed-by: Daniel Gustafsson, Aleksander Alekseev Discussion: https://postgr.es/m/CA%2BRLCQyjFV5Y8tG5QgUb6gjteL4S3p%2B1gcyqWTqigyM93WZ9Pg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/bgworker.sgml | modified | +1 −1 |
| src/backend/postmaster/bgworker.c | modified | +1 −1 |
| src/backend/replication/logical/launcher.c | modified | +2 −2 |
| src/include/postmaster/bgworker.h | modified | +1 −1 |
Documentation touched
Discussion
- [PATCH] Extend the length of BackgroundWorker.bgw_library_name 18 messages · 2023-03-13 → 2023-07-04