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

From Michael Paquier
Subject Re: Forbid use of LF and CR characters in database and role names
Date
Msg-id CAB7nPqSu4Hpi0uNiksVDxkB0nD0CuMRwS-cV3s0stjy9Zzw4eA@mail.gmail.com
Whole thread Raw
In response to Re: Forbid use of LF and CR characters in database and role names  (Peter Geoghegan <pg@heroku.com>)
Responses Re: Forbid use of LF and CR characters in database and role names  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
On Tue, Aug 23, 2016 at 10:19 AM, Peter Geoghegan <pg@heroku.com> wrote:
> I haven't looked at the patch, but offhand I wonder if it's worth
> considering control characters added by unicode, if you haven't already.

There is no need to put restrictions on those I think, and they are
actually supported. Look for example at pg_upgrade/test.sh, we are
already testing them with database names :) Not BEL of course, but
that works.
-- 
Michael



pgsql-hackers by date:

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