Improve errhint() about replication slot naming restrictions.

Andres Freund <andres@anarazel.de>

Commit: 920218cbc0a36f18793c20184b7ebb999d28e8c8
Author: Andres Freund <andres@anarazel.de>
Date: 2015-10-03T13:29:08Z
Releases: 9.6.0
Improve errhint() about replication slot naming restrictions.

The existing hint talked about "may only contain letters", but the
actual requirement is more strict: only lower case letters are allowed.

Reported-By: Rushabh Lathia
Author: Rushabh Lathia
Discussion: AGPqQf2x50qcwbYOBKzb4x75sO_V3g81ZsA8+Ji9iN5t_khFhQ@mail.gmail.com
Backpatch: 9.4-, where replication slots were added

Files

PathChange+/−
contrib/test_decoding/expected/ddl.out modified +1 −1
src/backend/replication/slot.c modified +1 −1