Skip to content

Fail fast in pw.io.postgres.read if the publication doesn't exist #202

@zxqfd555

Description

@zxqfd555

Is your feature request related to a problem? Please describe.
The Postgres input connector requires a publication_name for streaming mode. Currently, it is possible to pass the name of a nonexistent publication. The execution will fail, but without a clear or concise error message.

Describe the solution you'd like
This should be fixed: the check must be performed in PsqlReader::new, and the resulting error must be human-readable.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions