Re: Replication: Different naming policy

From: Euler Taveira <euler(dot)taveira(at)2ndquadrant(dot)com>
To: usamasafi(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Replication: Different naming policy
Date: 2020-04-16 20:42:15
Message-ID: CAH503wCmmfDBB18HFh8yqB6wxOV_zUAUsMyUaPzX84GMDhwHAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, 16 Apr 2020 at 04:36, PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:

>
> I get the naming error (Replication slot names may only contain lower case
> letters, numbers, and underscore character.
>
> This is not a bug. The message is clear. Postgres uses the subscription
name to name replication slot and since it uses a limited set of
characters, you get this error. If you want to use such a weird name,
specify a slot name such as:

postgres=# Create subscription "suball master(192.168.1.180)
slave(192.168.1.185)" connection 'port=5432 dbname=test' publication
"PubAll Master(192.168.1.180) Slave(192.168.1.185)" with (slot_name =
foobar);

NOTICE: created replication slot "foobar" on publisher
CREATE SUBSCRIPTION

Regards,

--
Euler Taveira http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2020-04-17 02:01:17 pg_stat_statements showing passwords while create or alter users.
Previous Message Alvaro Herrera 2020-04-16 15:17:29 Re: Backend Flowchart / Developer doc