Skip to content

[Postgres target] Schema drop not being replicated to the target #672

@eminano

Description

@eminano

Describe the bug
Drop schema queries are not replicated in the postgres target.

To Reproduce
Steps to reproduce the behavior:

  1. Create a schema CREATE SCHEMA test
  2. Create a table in the schema CREATE TABLE test.test(id serial primary key, name text)
  3. Run pgstream with replication
  4. Validate schema and table are created in the target
  5. Drop schema on the source database DROP SCHEMA test CASCADE
  6. Schema not being dropped in the target

Expected behavior
Schema should be dropped in the target when it's dropped in the source database.

Screenshots
If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • pgstream version: v0.9.3
  • Postgres version: 17.6
  • Postgres environment: self-hosted

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions