From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: tutiluren@tutanota.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Can I get some PostgreSQL developer feedback on these five general issues I have with PostgreSQL and its ecosystem?
Date: Sun, 20 Sep 2020 13:15:26 -0400
Message-ID: <850090.1600622126@sss.pgh.pa.us> (raw)
In-Reply-To: <20200920163830.GA27101@momjian.us>
References: <MHDH6oj--3-2@tutanota.com>
<1176808.1600119597@sss.pgh.pa.us>
<20200920163830.GA27101@momjian.us>
Bruce Momjian <bruce@momjian.us> writes:
> On Mon, Sep 14, 2020 at 05:39:57PM -0400, Tom Lane wrote:
>> On the other hand, the very same thing could be said of database names
>> and role names, yet we have never worried much about whether those were
>> encoding-safe when viewed from databases with different encodings, nor
>> have there been many complaints about the theoretical unsafety. So maybe
>> this is just overly anal-retentive and we should drop the restriction,
>> or at least pass through data that doesn't appear to be invalidly
>> encoded.
> I think the issue is that role and database names are controlled by
> privileged users, while application_name is not.
That's certainly an argument against a completely laissez-faire approach,
but if we filtered invalidly-encoded data on the reading side, it seems
like we would be in good enough shape.
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, bruce@momjian.us, tutiluren@tutanota.com
Subject: Re: Can I get some PostgreSQL developer feedback on these five general issues I have with PostgreSQL and its ecosystem?
In-Reply-To: <850090.1600622126@sss.pgh.pa.us>
References: <MHDH6oj--3-2@tutanota.com> <1176808.1600119597@sss.pgh.pa.us> <20200920163830.GA27101@momjian.us> <850090.1600622126@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