pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Increase size of bgw_library_name.
Date: Mon, 03 Jul 2023 22:03:15 +0000
Message-ID: <E1qGRdb-001lzG-SN@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1qGRdb-001lzG-SN@gemulon.postgresql.org>
Permalink:  ../E1qGRdb-001lzG-SN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qGRdb-001lzG-SN@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Increase size of bgw_library_name.
  In-Reply-To: <E1qGRdb-001lzG-SN@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox