Re: pg_basebackup: Always return valid temporary slot names - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: pg_basebackup: Always return valid temporary slot names
Date
Msg-id FC948CB3-798E-419C-9910-4B865348DD78@yesql.se
Whole thread Raw
In response to Re: pg_basebackup: Always return valid temporary slot names  (Nishant Sharma <nishant.sharma@enterprisedb.com>)
Responses Re: pg_basebackup: Always return valid temporary slot names
List pgsql-hackers
> On 5 Sep 2023, at 09:09, Nishant Sharma <nishant.sharma@enterprisedb.com> wrote:

> With this, I was thinking, isn't this a problem of pgbouncer filling
> be_pid with random bits? Maybe it should have filled the be_pid
> with a random positive integer instead of any integer as it
> represents a pid?

I'm inclined to agree that anyone sending a value which is supposed to
represent a PID should be expected to send a value which corresponds to the
format of a PID.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: logfmt and application_context
Next
From: Alvaro Herrera
Date:
Subject: Re: Optionally using a better backtrace library?