public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Lev Kokotov <[email protected]>
Cc: [email protected]
Subject: Re: Add "host" to startup packet
Date: Sun, 02 Apr 2023 11:38:25 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CANvSX4wUDWXs9LDqDdGMgOA+MR2s1VDsRT1GGrK4moGZgqAM6g@mail.gmail.com>
References: <CANvSX4wUDWXs9LDqDdGMgOA+MR2s1VDsRT1GGrK4moGZgqAM6g@mail.gmail.com>
Lev Kokotov <[email protected]> writes:
> Patch attached below. TLDR, I'd like to add "host" to the startup packet.
I don't think this is of any use at all in isolation. What is the server
going to do with it? What's your plan for persuading clients other than
libpq to supply it? How are poolers supposed to handle it? What will
you do about old clients that don't supply it? And most importantly,
how can a client know while connecting whether it's safe to include this,
realizing that existing servers will error out (they'll think it's a
GUC setting for "host")?
Even if all that infrastructure sprang into existence, is this really any
more useful than basing your switching on the host's resolved IP address?
I'm doubtful that there's enough win there to justify pushing this rock
to the top of the mountain.
regards, tom lane
view thread (3+ messages)
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: Add "host" to startup packet
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