Skip to content

Add type loading for logical replication connections - #4287

Merged
Brar merged 2 commits into
npgsql:mainfrom
Brar:LogicalReplicationTypeLoading
Jan 22, 2022
Merged

Brar merged 2 commits into
npgsql:mainfrom
Brar:LogicalReplicationTypeLoading

Conversation

@Brar

@Brar Brar commented Jan 20, 2022

Copy link
Copy Markdown
Member

This adds support for binary replication of mapped composite and enum
types that already exist in the database when the replication connection
is opened.

Closes #4286

@Brar
Brar requested review from roji and vonzshik as code owners January 20, 2022 19:41
@Brar
Brar force-pushed the LogicalReplicationTypeLoading branch from 5295122 to 7dfe51a Compare January 20, 2022 21:29

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @Brar, looks good. See some questions/ideas below.

Comment thread src/Npgsql/PostgresDatabaseInfo.cs Resolved
Comment thread src/Npgsql/PostgresDatabaseInfo.cs Resolved
This adds support for binary replication of mapped composite and enum
types that already exist in the database when the replication connection
is opened.
@Brar
Brar force-pushed the LogicalReplicationTypeLoading branch from 92ffae7 to fad391f Compare January 22, 2022 12:00
@Brar
Brar force-pushed the LogicalReplicationTypeLoading branch from fad391f to f425cfe Compare January 22, 2022 12:12
@Brar
Brar merged commit f0397de into npgsql:main Jan 22, 2022
Brar added a commit that referenced this pull request Jan 22, 2022
This adds support for binary replication of mapped composite and enum
types that already exist in the database when the replication connection
is opened.

(cherry picked from commit f0397de)
@Brar

Brar commented Jan 22, 2022

Copy link
Copy Markdown
Member Author

Backported to 6.0.3 via f867ae6

@Brar
Brar deleted the LogicalReplicationTypeLoading branch June 19, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logical replication: do normal type loading

2 participants