From: Tom Lane <tgl@sss.pgh.pa.us>
To: Virendra Kumar <viru_7683@yahoo.com>
Cc: Pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: Back Port Request for INVALID Startup Packet
Date: Wed, 11 Mar 2020 20:29:27 -0400
Message-ID: <10013.1583972967@sss.pgh.pa.us> (raw)
In-Reply-To: <1580001356.490624.1583970710532@mail.yahoo.com>
References: <1580001356.490624.1583970710532.ref@mail.yahoo.com>
<1580001356.490624.1583970710532@mail.yahoo.com>
Virendra Kumar <viru_7683@yahoo.com> writes:
> Can you please back port patch where if a 0 byte packet sent to PG instance (Health Checks), it starts complaining about invalid startup packet and flood the log which increases log size considerably if the health checks are every 3 seconds or something like that.
> Patch Requested - https://git.postgresql.org/gitweb/?p=postgresql.git;a=patch;h=342cb650e
We generally don't like to change behavior of back branches without
ironclad agreement that the existing behavior is a bug ... which this
surely isn't. Also, the discussion leading up to that patch specifically
considered and rejected back-patching; so I'm disinclined to overrule
that decision now.
I would suggest that an every-three-second health check is not
appropriate, especially one that is so minimal that it only
detects whether the postmaster is alive.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, viru_7683@yahoo.com
Subject: Re: Back Port Request for INVALID Startup Packet
In-Reply-To: <10013.1583972967@sss.pgh.pa.us>
References: <1580001356.490624.1583970710532.ref@mail.yahoo.com> <1580001356.490624.1583970710532@mail.yahoo.com> <10013.1583972967@sss.pgh.pa.us>
* 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