Improve errhint() about replication slot naming restrictions.

Andres Freund <andres@anarazel.de>

Commit: 99557984bc91446d50a70fc5ecb1306bc3cf56f6
Author: Andres Freund <andres@anarazel.de>
Date: 2015-10-03T13:29:28Z
Releases: 9.4.5
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