This commit is contained in:
kssenii 2021-02-22 13:05:29 +00:00
parent 4cdb55babe
commit 28c0a64c07
2 changed files with 5 additions and 5 deletions

View File

@ -18,11 +18,6 @@
#include "pqxx/pqxx" // Y_IGNORE
/// TODO: There is ALTER PUBLICATION command to dynamically add and remove tables for replicating (the command is transactional).
/// This can also be supported. (Probably, if in a replication stream comes a relation name, which does not currently
/// exist in CH, it can be loaded from snapshot and handled the same way as some ddl by comparing lsn positions of wal,
/// but there is the case that a known table has been just renamed, then the previous version might be just dropped by user).
namespace DB
{

View File

@ -14,6 +14,11 @@
namespace DB
{
/// IDEA: There is ALTER PUBLICATION command to dynamically add and remove tables for replicating (the command is transactional).
/// (Probably, if in a replication stream comes a relation name, which does not currently
/// exist in CH, it can be loaded via snapshot while stream is stopped and then comparing wal positions with
/// current lsn and table start lsn.
class StoragePostgreSQLReplica;
class PostgreSQLReplicationHandler