Re: Why can't we used CAPITAL LETTERS into replication slot_name? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Why can't we used CAPITAL LETTERS into replication slot_name?
Date
Msg-id 20150925120452.GC18220@awork2.anarazel.de
Whole thread Raw
In response to Why can't we used CAPITAL LETTERS into replication slot_name?  (Rushabh Lathia <rushabh.lathia@gmail.com>)
Responses Re: Why can't we used CAPITAL LETTERS into replication slot_name?  (Rushabh Lathia <rushabh.lathia@gmail.com>)
List pgsql-hackers
Hi,

On 2015-09-25 17:32:39 +0530, Rushabh Lathia wrote:
> I am just wondering why pg_create_physical_replication_slot() can't take
> CAPITAL LETTERS into slot_name ?

Windows. And OSX. Specifically case-insensitive filenames.

> 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."

We could add a 'lower case' in there.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Why can't we used CAPITAL LETTERS into replication slot_name?
Next
From: Rushabh Lathia
Date:
Subject: Re: Why can't we used CAPITAL LETTERS into replication slot_name?