Skip to content

[manager] accept postgres_cdc_input as an input connector - #6810

Merged
mihaibudiu merged 1 commit into
mainfrom
fix-postgres-cdc-input-direction
Aug 5, 2026
Merged

[manager] accept postgres_cdc_input as an input connector#6810
mihaibudiu merged 1 commit into
mainfrom
fix-postgres-cdc-input-direction

Conversation

@ryzhyk

@ryzhyk ryzhyk commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

PR #5988 added the connector to feldera-types, to the SQL compiler's ConnectorValidator and to the adapter, but not to this allow-list, so the usage documented in
docs.feldera.com/docs/connectors/sources/postgresql-cdc.md has never compiled on main.

This is the same change as 19b8d33 on the unmerged pg-cdc-ft-fixes branch, split out so the fix does not wait on that branch.

Fixes #6807

A table declaring a postgres_cdc_input connector failed to compile with
"expected an input variant but got an output variant". generate_program_info
matches the transport against an allow-list of input variants that omitted
PostgresCdcInput, and the catch-all arm that follows reports every unlisted
variant as an output variant.

PR #5988 added the connector to feldera-types, to the SQL compiler's
ConnectorValidator and to the adapter, but not to this allow-list, so the
usage documented in
docs.feldera.com/docs/connectors/sources/postgresql-cdc.md has never compiled
on main.

This is the same change as 19b8d33 on the unmerged pg-cdc-ft-fixes branch,
split out so the fix does not wait on that branch.
@ryzhyk
ryzhyk requested a review from mihaibudiu August 5, 2026 16:59
@ryzhyk ryzhyk added the connectors Issues related to the adapters/connectors crate label Aug 5, 2026
@mihaibudiu
mihaibudiu enabled auto-merge August 5, 2026 17:01
@mihaibudiu
mihaibudiu added this pull request to the merge queue Aug 5, 2026

@mythical-fred mythical-fred left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One-line fix adding PostgresCdcInput to the connector allow-list in generate_program_info — matches the pattern for every other transport and unblocks the documented usage. Fixes #6807.

Merged via the queue into main with commit 33851c9 Aug 5, 2026
1 check passed
@mihaibudiu
mihaibudiu deleted the fix-postgres-cdc-input-direction branch August 5, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connectors Issues related to the adapters/connectors crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[doc] Example from Postgres CDC connector documentation does not work correctly

3 participants