ClickHouse/ClickHouse

MaterializedPostgreSQL replication does not work with upper case letters in database name

Fechada

#64.891 aberto em 6 de jun. de 2024

 (1 comentário) (2 reações) (0 responsável)C++ (8.400 forks)batch import
experimental featurehelp wantedpotential bug

Métricas do repositório

Stars
 (47.419 estrelas)
Métricas de merge de PR
 (Mesclagem média 2d 2h) (1.000 fundiu PRs em 30d)

Description

My database name is TEST_djfw ,Based on document, configure Materialized_postgresql_use_unique_replication_consumer_identifier=true to synchronize data with uppercase database names. However, when the stock data of a table is synchronized, the newly added data in the table will not continue to be synchronized.The error message is as follows.Could you please help me take a look? Thank you.

<Error> bool DB::MaterializedPostgreSQLConsumer::consume(): std::exception. Code: 1001, type: pqxx::sql_error, e.what() = Failure during '[END COPY]': ERROR:  publication "test_djfw_ch_publication" does not exist
CONTEXT:  slot "5fc174d2_7afa_44a7_a77e_53ea6476a0bb", output plugin "pgoutput", in the change callback, associated LSN 0/DE93FC48
, Stack trace (when copying this message, always include the lines below):

Guia do colaborador