pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Replication: Different naming policy
3+ messages / 2 participants
[nested] [flat]

* Replication: Different naming policy
@ 2020-04-15 23:21 PG Doc comments form <noreply@postgresql.org>
  2020-04-16 20:42 ` Re: Replication: Different naming policy Euler Taveira <euler.taveira@2ndquadrant.com>
  0 siblings, 1 reply; 3+ messages in thread

From: PG Doc comments form @ 2020-04-15 23:21 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: usamasafi@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/sql-createsubscription.html
Description:

Hi, i'm using v10 and
Create publication "PubAll  Master(192.168.1.180) Slave(192.168.1.185)"
....
Works fine, but
Create publication "suball  master(192.168.1.180) slave(192.168.1.185)"
....

I get the naming error (Replication slot names may only contain lower case
letters, numbers, and underscore character.

Don't  know about other versions but 
Thought to imply to this matter, thanks.


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Replication: Different naming policy
  2020-04-15 23:21 Replication: Different naming policy PG Doc comments form <noreply@postgresql.org>
@ 2020-04-16 20:42 ` Euler Taveira <euler.taveira@2ndquadrant.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Euler Taveira @ 2020-04-16 20:42 UTC (permalink / raw)
  To: usamasafi@gmail.com; pgsql-docs@lists.postgresql.org

On Thu, 16 Apr 2020 at 04:36, PG Doc comments form <noreply@postgresql.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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Replication: Different naming policy
@ 2020-04-15 23:25 PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: PG Doc comments form @ 2020-04-15 23:25 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: usamasafi@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/sql-createsubscription.html
Description:

[update to my last message]

Hi, i'm using v10. Naming is deferent between publication and
subscription.

Create publication "PubAll  Master(192.168.1.180) Slave(192.168.1.185)"
....
Works fine, but
Create subscription  "suball  master(192.168.1.180) slave(192.168.1.185)"
....

I get the naming error (Replication slot names may only contain lower case
letters, numbers, and underscore character.

Don't  know about other versions but 
Thought to imply to this matter, thanks.


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-04-16 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 23:21 Replication: Different naming policy PG Doc comments form <noreply@postgresql.org>
2020-04-16 20:42 ` Euler Taveira <euler.taveira@2ndquadrant.com>
2020-04-15 23:25 Replication: Different naming policy PG Doc comments form <noreply@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox