pgsql: Increase size of bgw_library_name.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Increase size of bgw_library_name.
Date: 2023-07-03 22:03:15
Message-ID: E1qGRdb-001lzG-SN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/957845789bb97dde2cb1ee11c1a769984131adf6

Modified Files
--------------
doc/src/sgml/bgworker.sgml | 2 +-
src/backend/postmaster/bgworker.c | 2 +-
src/backend/replication/logical/launcher.c | 4 ++--
src/include/postmaster/bgworker.h | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-07-03 22:28:36 pgsql: Show information about flex (version and command path) in meson
Previous Message Thomas Munro 2023-07-03 21:59:56 pgsql: Fix race in SSI interaction with bitmap heap scan.