ParadeDB leverages PostgreSQL’s built-in logical replication to provide flexible and efficient data synchronization, and is subject to the same limitations. A well-known caveat of logical replication is that schema changes (DDL commands) are not replicated. This means that any changes to the schema on the source database, such as adding new columns or tables, will not be automatically applied to the subscriber.
Copy
Ask AI
-- On PublisherALTER TABLE mock_items ADD COLUMN num_stock;INSERT INTO mock_items (description, category, in_stock, latest_available_time, last_updated_date, metadata, created_at, rating, num_stock)VALUES ('Green running shoes', 'Footwear', true, '14:00:00', '2024-07-09', '{}', '2024-07-09 14:00:00', 2, 900);-- On SubscriberERROR: logical replication target relation "public.mock_items" is missing some replicated columns
To work around this, pause the subscription on the subscriber, manually apply the schema changes, then resume the subscription: