Why can't we used CAPITAL LETTERS into replication slot_name?

Поиск
Список
Период
Сортировка
От Rushabh Lathia
Тема Why can't we used CAPITAL LETTERS into replication slot_name?
Дата
Msg-id CAGPqQf2x50qcwbYOBKzb4x75sO_V3g81ZsA8+Ji9iN5t_khFhQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Why can't we used CAPITAL LETTERS into replication slot_name?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

I am just wondering why pg_create_physical_replication_slot() can't take CAPITAL LETTERS into slot_name ?

Comment over ReplicationSlotValidateName() says that - Slot names may consist out of [a-z0-9_]{1,NAMEDATALEN-1} which should allow the name to be used as a directory name on every supported OS.

If its by design then was should atleast change the hint into ReplicationSlotValidateName() which says: "Replication slot names may only contain letters, numbers, and the underscore character."

Comments ?


Regards,
Rushabh Lathia

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pageinspect patch, for showing tuple data
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Why can't we used CAPITAL LETTERS into replication slot_name?