Re: Forbid use of LF and CR characters in database and role names - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Forbid use of LF and CR characters in database and role names
Date
Msg-id CAM3SWZRRdFAK=xt-VKUVmdg+3j6cu0NR42AQecLX7JPCuMcERQ@mail.gmail.com
Whole thread Raw
In response to Re: Forbid use of LF and CR characters in database and role names  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Forbid use of LF and CR characters in database and role names  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Aug 22, 2016 at 6:28 PM, Michael Paquier
<michael.paquier@gmail.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Exporting more function in libpq
Next
From: Tom Lane
Date:
Subject: Re: Forbid use of LF and CR characters in database and role names