pg.ddx.io  pgsql-ru-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: André Kutepow <isaev.mail@mail.ru>
To: pgsql-ru-general@postgresql.org
Subject: pg_create_logical_replication_slot, output-plugin
Date: Mon, 10 Jul 2023 14:17:51 +0200
Message-ID: <5ffb2ce4-e92c-e146-7791-a17c9d767467@mail.ru> (raw)

Доброго времени суток!

При создании слота репликации с 'pgoutput' плагином, получаю ошибку, что 
поддерживаются только версии 1 и выше

    SELECT pg_create_logical_replication_slot('slot_x2e__art', 'pgoutput');

2023-07-05 11:48:23.175 CEST [42328] FEHLER:  Client sendete 
proto_version=0, aber wir unterstützen nur Protokoll 1 oder höher
2023-07-05 11:48:23.175 CEST [42328] ZUSAMMENHANG:  Slot »sub_x2e__art«, 
Ausgabe-Plugin »pgoutput«, im Callback startup
2023-07-05 11:48:23.175 CEST [42328] ANWEISUNG:  SELECT * FROM 
pg_logical_slot_get_changes('slot_x2e__art', NULL, NULL);

С плагином 'test_decoding', получаю ошибку, что 3 версия неизвестна)

    SELECT pg_create_logical_replication_slot('slot_x2e__art',
    'test_decoding');


2023-07-05 12:30:10.873 CEST [94960] FEHLER:  option "proto_version" = 
"3" is unknown
2023-07-05 12:30:10.873 CEST [94960] ZUSAMMENHANG:  Slot 
»slot_x2e__art«, Ausgabe-Plugin »test_decoding«, im Callback startup
2023-07-05 12:30:10.873 CEST [94960] ANWEISUNG:  START_REPLICATION SLOT 
"slot_x2e__art" LOGICAL 0/0 (proto_version '3', publication_names 
'"pub_x2e__art"')

При чём я не получал вроде данную ошибку в более ранних версиях, если 
мне не изменяет память

Есть ещё какие-то варианты?

Заранее благодарен

view thread (4+ messages)  latest in thread

Message-ID: <5ffb2ce4-e92c-e146-7791-a17c9d767467@mail.ru>
Permalink:  ../5ffb2ce4-e92c-e146-7791-a17c9d767467@mail.ru/
Also on:    postgresql.org/message-id/5ffb2ce4-e92c-e146-7791-a17c9d767467@mail.ru

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-ru-general@postgresql.org
  Cc: isaev.mail@mail.ru
  Subject: Re: pg_create_logical_replication_slot, output-plugin
  In-Reply-To: <5ffb2ce4-e92c-e146-7791-a17c9d767467@mail.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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