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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why can't we used CAPITAL LETTERS into replication slot_name?
Date: 2015-09-25 12:04:52
Message-ID: 20150925120452.GC18220@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rushabh Lathia 2015-09-25 12:09:41 Re: Why can't we used CAPITAL LETTERS into replication slot_name?
Previous Message Rushabh Lathia 2015-09-25 12:02:39 Why can't we used CAPITAL LETTERS into replication slot_name?