mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
Comment
This commit is contained in:
parent
4cdb55babe
commit
28c0a64c07
@ -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
|
||||
{
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user