jackc / jackc/pglogrepl

What's is the new created table message?

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
546
Forks
83
Avg merge
2d 21h
Merged PRs (30d)
1

Description

We know the insert a new record, the message type is pglogrepl.InsertMessage.

What's the message type for a new table after creating a new table for the database.
When creating the publication with FOR ALL TABLES; can get the inert message even if the table is new created after creating the publication, But I don't know how to capture the event for the creating table. @jackc Would you please help it? thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the pglogrepl.InsertMessage type and the library's other message types, then compare them with PostgreSQL logical replication behavior for a publication using FOR ALL TABLES. Determine whether table-creation events are exposed by the replication stream and document the relevant message type or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.