public inbox for [email protected]  
help / color / mirror / Atom feed
From: Amit Kapila <[email protected]>
To: [email protected]
Subject: pgsql: Fixups for commit 93db6cbda0.
Date: Thu, 29 Feb 2024 04:31:24 +0000
Message-ID: <[email protected]> (raw)

Fixups for commit 93db6cbda0.

Ensure to set always-secure search path for both local and remote
connections during slot synchronization, so that malicious users can't
redirect user code (e.g. operators).

In the passing, improve the name of define, remove spurious return
statement, and a minor change in one of the comments.

Author: Bertrand Drouvot and Shveta Malik
Reviewed-by: Amit Kapila, Peter Smith
Discussion: https://postgr.es/m/[email protected]
Discussion: https://postgr.es/m/[email protected]
Discussion: https://postgr.es/m/CAJpy0uBNP=nrkNJkJSfF=jSocEh8vU2Owa8Rtpi=63fG=SvfVQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b3f6b14cf48ffa81084072f1fdeee2fe9df20746

Modified Files
--------------
src/backend/access/transam/xlogrecovery.c          | 15 +++---
.../libpqwalreceiver/libpqwalreceiver.c            |  6 ++-
src/backend/replication/logical/slotsync.c         | 23 +++++----
.../recovery/t/040_standby_failover_slots_sync.pl  | 54 ++++++++++++++++++++++
4 files changed, 82 insertions(+), 16 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Fixups for commit 93db6cbda0.
  In-Reply-To: <[email protected]>

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

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