Re: Forbid use of LF and CR characters in database and role names

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Forbid use of LF and CR characters in database and role names
Date: 2016-08-23 01:40:04
Message-ID: CAM3SWZRRdFAK=xt-VKUVmdg+3j6cu0NR42AQecLX7JPCuMcERQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 22, 2016 at 6:28 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> There is no need to put restrictions on those I think, and they are
> actually supported.

Bi-directional text support (i.e., the use of right-to-left control
characters) is known to have security implications, FWIW. There is an
interesting discussion of the matter here:

http://www.unicode.org/reports/tr36/#Bidirectional_Text_Spoofing

--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-08-23 01:44:13 Re: Forbid use of LF and CR characters in database and role names
Previous Message Tom Lane 2016-08-23 01:29:59 Re: Exporting more function in libpq