Logical replication
Built-in publish/subscribe replication with CREATE PUBLICATION/SUBSCRIPTION, the pgoutput plugin, apply and tablesync workers, and its options, monitoring and bugs. Introduced in PostgreSQL 10.
Versions
- PostgreSQL 20 · in-development · improved · moderate · 4 commits · +161 / -61 lines
- PostgreSQL 19 · shipped · improved · moderate · 12 commits · +1.8k / -255 lines
- Exit walsender before confirming remote flush in logical replication
- [Patch] add new parameter to pg_replication_origin_session_setup
- Log prefix missing for subscriber log messages received from publisher
- Make wal_receiver_timeout configurable per subscription
- Allow using replication origins in SQL level parallel sessions
- Add support for COPY TO in tablesync for partitioned tables.
- Initial COPY of Logical Replication is too slow
- psql: add tab completion for subscription wal_receiver_timeout
- PostgreSQL 18 · shipped · improved · moderate · 5 commits · +433 / -145 lines
- PostgreSQL 17 · shipped · improved · moderate · 5 commits · +531 / -253 lines
- PostgreSQL 16 · shipped · improved · moderate · 5 commits · +788 / -157 lines
- PostgreSQL 15 · worked-on · improved · moderate
Threads
- Logical replication commits duplicates in DEFERRABLE unique indexes
- [PATCH] Report changes discarded for relations not in the subscription
- BUG #19892: Logical replication skips UPDATE/DELETE of rows with NULL in a hash-indexed subscriber column
- Wrong relation in apply worker "not updatable" errors for partitions; relcache leak in check_and_init_gencol()
- Wrong table in "conflicting or redundant WHERE clauses / column lists" publicaiton error
- [PATCH] Table sync race with REFRESH PUBLICATION
- Detect mismatched subscription and replication slot properties
- Fix leftover data handling and simplify read conditions in copy_read_data()
- BUG? Unpublished generated columns are reported "missing" by the subscription
- Avoid unnecessary StringInfo allocation in tablesync COPY buffer
- Initial table sync copies the whole table when it is no longer published
- [PATCH] Check domain constraints for NULLs in logical replication
- Per-table resync for logical replication subscriptions
- [PATCH v1] Fix initial sync of zero-column published tables
- Use an index scan in RemoveSubscriptionRel()
- FATAL: could not send end-of-streaming message to primary: no COPY in progress
- Add a hook for handling logical decoding messages on subscribers.
- BUG #19893: REPLICA IDENTITY FULL: UPDATE/DELETE skipped when a subscriber-only column has a value
- Table synchronization cannot resume after a subscriber crash
- Add tests for concurrent DML retry paths in logical replication apply
- Test publication.sql racing with subscription.sql might fail due to cache lookup error
- BUG #19864: pg_get_publication_tables() gets cache lookup error after concurrent DROP PUBLICATION
- DOCS - CREATE PUBLICATION wording re 'ONLY' for partitioned tables.
- Warn when creating or enabling a subscription with max_logical_replication_workers = 0
- PSQL - improve tab completion for pub/sub options
- [PATCH] Fix incorrect logical replication updates with a shared leaf partition
- BUG #19795: pgoutput: walsender crashes on START_REPLICATION option without a value
- Publication of same parent table with ONLY-ness mismatch should error
- [PATCH] Improve CREATE PUBLICATION error detail for a standalone table/schema name
- Fixes for create subscription page
- Publication DDL can race with a concurrent UPDATE
- Fix apply worker crash when subscriber table has only a deferrable primary key
- Logical replication can lose an update after concurrent index invalidation
- table-write trigger can bypass ATPrepChangePersistence
- Add support for COPY TO in tablesync for partitioned tables.
- Apply worker can pick an invalid index for REPLICA IDENTITY FULL lookups
- [PATCH] Refactor parse_publication_options
- [PATCH] Fix NULL dereference in subscription REFRESH on concurrent DROP
- apply worker misses closing partition leaves
- Logical Replication - revisit `is_table_publication` function implementation
- Multi-insert for logical replication apply
- Missing list_free in publicationcmds.c:OpenTableList
- comment/security label for publication/subscription
- Improve errmsg for publication membership
- Re-read subscription state after lock in AlterSubscription
- [PATCH] Extending FK check skipping on replicas to ADD FK and TRUNCATE
- [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root
- Fix race condition in pg_get_publication_tables with concurrent DROP TABLE
- DOCS: Describe some missing parameters on CREATE/ALTER PUBLICATION pages
- [PATCH] Use direct hash lookup in logicalrep_partmap_invalidate_cb()
- Re: BUG #19547: libpqrcv_create_slot dereferences NULL on a malformed CREATE_REPLICATION_SLOT reply
- hang during shutdown
- BUG #19547: `libpqrcv_create_slot` dereferences NULL on a malformed `CREATE_REPLICATION_SLOT` reply (just a sugg
- [PROPOSAL] Natively expose primary key and NOT NULL flags in pgoutput Relation messages
- [PATCH] Improving index selection for logical replication apply with replica identity full
- psql: add tab completion for subscription wal_receiver_timeout
- Report replica identity in pg_publication_tables
- pg_stat_replication docs incomplete for logical replication
- [PATCH] proposal to surface index used by replica identity
- Redundant/mis-use of _(x) gettext macro?
- [PATCH] fix AddRelsyncInvalidationMessage
- DOCS - missing SGML markup in some ALTER PUBLICATION examples
- Logical replication initialization time depends dramatically on the publication "schema" size
- Prevent remote libpq notices from being sent to clients
- Fix column privileges for pg_subscription.subwalrcvtimeout
- Exit walsender before confirming remote flush in logical replication
- [PATCH] Replace debug-only Asserts with runtime checks in logical replication apply worker
- Call EndCopyFrom() after initial table sync in logical replication
- DOCS - typos and grammar issues across logical replication docs.
- Warn on missing replica identity in CREATE/ALTER PUBLICATION
- Improve logical replication usability when tables lack primary keys
- Question: should we block loopback logical replication to the same database?
- Initial COPY of Logical Replication is too slow
- DOCS - DROP SUBSCRIPTION does not document parameter "IF EXISTS"
- Bug: wrong relname in RemoveSubscriptionRel() error detail
- [Patch] add new parameter to pg_replication_origin_session_setup
- Shutdown indefinitely stuck due to unflushed FPI_FOR_HINT record
- Use allocation macros in the logical replication code
- doc: add note that wal_level=logical doesn't set up logical replication in itself
- Question Regarding Publication Membership and Inheritance
- BUG #18985: fast shutdown does not close connections from qlik data gateway data movement aka. replicate
- Add into REFRESH PUBLICATION parameter exception_behaviour
- Make wal_receiver_timeout configurable per subscription
- Selectively invalidate caches in pgoutput module
- Selectively invalidate caches in pgoutput when pg_namespace is modified
- logical apply worker's lock waits in subscriber can stall checkpointer in publisher
- Allow GUC settings in CREATE SUBSCRIPTION CONNECTION to take effect
- walsender: Assert MyReplicationSlot is set before use
- Refactor replication origin state reset helpers
- RepOrigin vs. replorigin
- DOCS - Clarify the publication 'publish_via_partition_root' default value.
- Avoid corrupting DefElem nodes when parsing publication_names and publish options
- REASSIGN OWNED BY alters objects in other database.
- could sent_lsn be lower than write/flush/replay_lsn?
- Two issues with version checks in CREATE SUBSCRIPTION
- Orphaned records in pg_replication_origin_status after subscription drop
- Improve documentation of publication privilege checks
- [PATCH] Skip unpublishable child tables when adding parent to publication
- [PATCH] Docs: logical replication examples and autovacuum/XID freeze clarifications
- Fix START_REPLICATION failure with publication names containing backslashes
- CREATE/ALTER PUBLICATION improvements for syntax synopsis
- Additional info for CREATE ROLE with REPLICATION
- Unexpected flood or keepalive messages during logical replication
- pgsql: doc: remove verbiage about "receiving" data from rep. slots
- Fix a couple of misspellings in comments of logic replication
- DOCS: ALTER PUBLICATION - Synopsis for DROP is a bit misleading
- Remove unused for_all_tables field from AlterPublicationStmt
- High CPU consumption in cascade replication with large number of walsenders
- Refactor StringInfo usage in subscriptioncmds.c
- [PATCH TEST] Fix logical replication setup in subscription test `t/009_matviews.pl`
- BUG #18942 and BUG #18938 solution available in Pg16 latest release 16.10
- Re: Panic during xlog building with big values
- Logical replication fails when partition column order differs from parent
- Invalid pointer access in logical decoding after error
- Panic during xlog building with big values
- "unexpected duplicate for tablespace" problem in logical replication
- Read Replica termination occurs when its max_active_replication_origins setting is lower than the primary
- Proposal: GUC to control starting/stopping logical subscription workers
- Allow logical replication in the same cluster
- Allow using replication origins in SQL level parallel sessions
- BUG #19041: Logical replication locks wal processing
- doc patch: missing tags in protocol.sgml
- memory leak in logical WAL sender with pgoutput's cachectx
- BUG #18988: DROP SUBSCRIPTION locks not-yet-accessed database
- Make pgoutput documentation easier to find
- Dropping publication breaks logical replication
- Allow REPLICA IDENTITY with CREATE TABLE statement
- BUG #19013: When creating a table with the "...LIKE...INCLUDING ALL" construct, REPLICA IDENTITY output is wrong
- 024_add_drop_pub.pl might fail due to deadlock
- Logical replication prefetch
- Log prefix missing for subscriber log messages received from publisher
- pgsql: Log remote NOTICE, WARNING, and similar messages using ereport()
- PostgreSQL 16 bug feedback
- Document default values for pgoutput options + fix missing initialization for "origin"
- Insights into duplicate records seen in snapshot & logical replication slot.
- Restrict publishing of partitioned table with a foreign table as partition
- Correct comment atop PublicationPartOpt
- Logrep launcher race conditions leading to slow tests
- Transactional behavior of pg_create_logical_replication_slot
- logial replication - drop subscription.
- doc: Make logical replication examples executable in bulk and legal sgml.
- Re: Test mail for pgsql-hackers
- Add an option to skip loading missing publication to avoid logical replication failure
- Questions about logicalrep_worker_launch()
- 29.2. Subscription
- long-standing data loss bug in initial sync of logical replication
- Remove unnecessary secondary index terms for replication settings
- Disabled logical replication origin session causes primary key errors
- High CPU consumption in cascade replication with large number of walsenders and ConditionVariable broadcast issues
- BUG #18898: replication process not working... sometimes
- recoveryCheck test failure on flaviventris
- Hyperlink to Logical replication slots instead of physical
- BUG #18815: Logical replication worker Segmentation fault
- CREATE SUBSCRIPTION - add missing test case
- pgoutput: comment atop rel_sync_cache_publication_cb() has an inconsistency
- Separate GUC for replication origins
- pgsql: Avoid invalidating all RelationSyncCache entries on publication
- 001_rep_changes.pl succeeds after a long time
- Datatype mismatch warning in logical replication when creating subscription
- Logical replication timeout
- create subscription with (origin = none, copy_data = on)
- Logical replication - initial data synchronization
- Improving the latch handling between logical replication launcher and worker processes.
- Increased work_mem for "logical replication tablesync worker" only?
- CREATE PUBLICATION and foreign partitions
- pgsql: Doc: Update the interaction of tablesync with wal_retrieve_retry
- Question about behavior of deletes with REPLICA IDENTITY NOTHING
- Documentation update of wal_retrieve_retry_interval to mention table sync worker
- Memory leak in pg_logical_slot_{get,peek}_changes
- Object identifier types in logical replication binary mode
- Memory leak in WAL sender with pgoutput (v10~)
- Subscription sometimes loses txns after initial table sync
- Rework subscription-related code for psql and pg_dump
- memory leak in pgoutput
- Very long loop breaking logical replication walsender / walreceiver connection
- BUG #18683: A publication must be created *before* a logical rep slot in order to be used with that slot?
- BUG #18644: ALTER PUBLICATION ... SET (publish_via_partition_root) wrong/undocumented behavior.
- Refactor to use common function 'get_publications_str'.
- logical replication walsender loop preventing a clean shutdown
- Invalid Assert while validating REPLICA IDENTITY?
- Taking into account syncrep position in flush_lsn reported by apply worker
- BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column
- asynchronous commit&synchronous replication
- Remove duplicate table scan in logical apply worker and code refactoring
- BUG #18540: Does PG16 standby database support function pg_replication_origin_advance?
- Fix a comment error in logicalrep_write_typ()
- Redundant syscache access in get_rel_sync_entry()
- Improve the connection failure error messages
- 001_rep_changes.pl fails due to publisher stuck on shutdown
- Add last_commit_lsn to pg_stat_database
- Fix src/test/subscription/t/029_on_error.pl test when wal_debug is enabled
- Unclear on Publication documentation page
- BUG #18433: Logical replication timeout
- Control flow in logical replication walsender
- Possible to include xid8 in logical replication
- Race condition in FetchTableStates() breaks synchronization of subscription tables
- subscription/026_stats test is intermittently slow?
- logicalrep_worker_launch -- counting/checking the worker limits
- pub/sub - specifying optional parameters without values.
- Logical replication failure modes
- BUG #18415: Logical replication errors.
- Buildfarm failure on tamandua - "timed out waiting for subscriber to synchronize data"
- Add publisher and subscriber to glossary documentation.
- Regardign RecentFlushPtr in WalSndWaitForWal()
- Test failures of 100_bugs.pl
- Seeking Clarification on Logical Replication Start LSN
- subscription disable_on_error not working after ALTER SUBSCRIPTION set bad conninfo
- BUG #18309: TOASTed entry in pg_subscription provokes an assertion failure
- Excessive number of replication slots for 12->14 logical replication
- Optimize duplicate code and fix memory leak in function fetch_remote_table_info()
- Build-farm - intermittent error in 031_column_list.pl
- BUG #18267: Logical replication bug: data is not synchronized after Alter Publication.
- Lockless exit path for ReplicationOriginExitCleanup
- [PATCH] Reuse Workers and Replication Slots during Logical Replication
- subscription/015_stream sometimes breaks
- Tab complete for CREATE SUBSCRIPTION ... CONECTION does not work
- "pgoutput" options missing on documentation
- undetected deadlock in ALTER SUBSCRIPTION ... REFRESH PUBLICATION
- I’ve come across what I think is a bug
- Stop the search once replication origin is found
- BUG #18203: Logical Replication initial sync failure
- Logical replication is missing block of rows when sending initial sync?
- CREATE SUBSCRIPTION issue
- Allowing TRUNCATE of FK target when session_replication_role=replica
- PGDOCS - add more links in the pub/sub reference pages
- Add null termination to string received in parallel apply worker
- CDC/ETL system on top of logical replication with pgoutput, custom client
- BUG #18155: Logical Apply Worker Timeout During TableSync Causes Either Stuckness or Data Loss
- Remove wal_level settings for subscribers in tap tests
- wal recycling problem
- Logical replication and multimaster
- Move global variables of pgoutput to plugin private scope.
- Add 'worker_type' to pg_stat_subscription
- subscription TAP test has unused $result
- Subscription statistics are not dropped at DROP SUBSCRIPTION in some cases
- There is no description about "Logical Replication also use or occupy max_wal_senders ",
- RFC: logical publication via inheritance root?
- Fix shadow warnings in logical replication code
- Adding a LogicalRepWorker type field
- Fix the error message when failing to restore the snapshot
- the description of max_wal_senders parameter does not include Logical Replication
- Handle infinite recursion in logical replication setup
- Simplify some logical replication worker type checking
- DROP DATABASE deadlocks with logical replication worker in PG 15.1
- clarifying trigger/rule behavior on logical replication subscribers
- logicalrep_message_type throws an error
- doc: improve the restriction description of using indexes on REPLICA IDENTITY FULL table.
- BUG #18027: Logical replication taking forever
- Do we want to enable foreign key constraints on subscriber?
- BUG #18019: misbehaviour by replication
- doc: clarify the limitation for logical replication when REPILICA IDENTITY is FULL
- [Patch] Use *other* indexes on the subscriber when REPLICA IDENTITY is FULL
- suppressing useless wakeups in logical/worker.c
- Toasted column values during replication. (Enhancement)
- BUG #17993: FK issue on logical replication table
- [DOC] Update ALTER SUBSCRIPTION documentation
- Reload configuration more frequently in apply worker.
- Subscription suborigin?
- Tables getting stuck at 's' state during logical replication
- CREATE SUBSCRIPTION -- add missing tab-completes
- [BUG] Logical replica crash if there was an error in a function.
- Data is copied twice when specifying both child and parent table in publication
- Dropped and generated columns might cause wrong data on subs when REPLICA IDENTITY FULL
- Allow logical replication to copy tables in binary format
- [PATCH] Fix alter subscription concurrency errors
- Privileges on PUBLICATION
- [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
- Implement IF NOT EXISTS for CREATE PUBLICATION AND CREATE SUBSCRIPTION
- Deduplicate logicalrep_read_tuple()
- Logical replication timeout problem
- "out of relcache_callback_list slots" after multiple calls to pg_logical_slot_get_binary_changes
- pgsql: Use appropriate wait event when sending data in the apply worker
- Deadlock between logrep apply worker and tablesync worker
- Logical Replication Custom Column Expression
- wake up logical workers after ALTER SUBSCRIPTION
- Modify the document of Logical Replication configuration settings
- Timeout when changes are filtered out by the core during logical replication
- Logical replication - schema change not invalidating the relation cache
- Data loss on logical replication, 12.12 to 14.5, ALTER SUBSCRIPTION
- Apply worker fails if a relation is missing on subscriber even if refresh publication has not been refreshed yet
- PGDOCS - Logical replication GUCs - added some xrefs
- Warning When Creating FOR EACH STATEMENT Trigger On Logical Replication Subscriber Side
- ps command does not show walsender's connected db
- Add common function ReplicationOriginName.
- Segfault on logical replication to partitioned table with foreign children
- create subscription - improved warning message
- BUG #17670: Logical Replication data may be lost on the subscription under certain scenarios
- [BUG] Crash of logical replica with trigger.
- Issue with pg_stat_subscription_stats
- Introduce wait_for_subscription_sync for TAP tests
- pgsql: Add ALTER SUBSCRIPTION ... SKIP.
- max_sync_workers_per_subscription
- No-op updates with partitioning and logical replication started failing in version 13
- How is this possible "publication does not exist"
- Add last commit LSN to pg_last_committed_xact()
- Refactor to make use of a common function for GetSubscriptionRelations and GetSubscriptionNotReadyRelations.
- Re-order "disable_on_error" in tab-complete COMPLETE_WITH
- pg15 beta2 bug:cause by logcial replation
- Multi-Master Logical Replication
- better error description on logical replication
- tablesync copy ignores publication actions
- Skipping logical replication transactions on subscriber side
- Replica Identity check of partition table on subscriber
- BUG #17524: Increase in WAL size due to logical replication with publication contain a table with low activity.
- Invalid memory access in pg_stat_get_subscription
- Ignore heap rewrites for materialized views in logical replication
- How is this possible "publication does not exist"
- Security Definer functions no longer works in PG14+
- pg_get_publication_tables() output duplicate relid
- Tablesync early exit
- BUG #17438: Logical replication hangs on master after huge DB load
- Identify missing publications from publisher while create/alter subscription.
- logical replication empty transactions
- Logical replication stops dropping used initial-sync replication slots
- Failed transaction statistics to measure the logical replication progress
- Disallow quorum uncommitted (with synchronous standbys) txns in logical replication subscribers
- Optionally automatically disable logical replication subscriptions on error
- Add the replication origin name and commit-LSN to logical replication worker errcontext
- Design of pg_stat_subscription_workers vs pgstats
- Better error message for unsupported replication cases
- [BUG]Update Toast data failure in logical replication
- GetRelationPublicationActions. - Remove unreachable code
- Bugs in pgoutput.c
- PublicationActions - use bit flags.
- relcache not invalidated when ADD PRIMARY KEY USING INDEX
- Delay the variable initialization in get_rel_sync_entry
- Confused comment about drop replica identity index
- [PATCH]Comment improvement in publication.sql
- Logical replication error "no record found" /* shouldn't happen */
- parse_subscription_options - suggested improvements
- [BUG]Missing REPLICA IDENTITY check when DROP NOT NULL
- PG docs - CREATE PUBLICATION publish_via_partition_root
- CREATE PUBLICATION should "See Also" CREATE SUBSCRIPTION
- Logical Replication - improve error message while adding tables to the publication in check_publication_add_relation
- Logical Replication not working for few Tables
- [BUG]Invalidate relcache when setting REPLICA IDENTITY
- Fwd: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber
- Logical replication - empty search_path bug?
- [BUG] Unexpected action when publishing partition tables
- ERROR: unexpected duplicate for tablespace 16389, relfilenode 484036
- Logical replication keepalive flood
- Small documentation improvement for ALTER SUBSCRIPTION
- walsender timeout on logical replication set
- BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
- PG Docs for ALTER SUBSCRIPTION REFRESH PUBLICATION - copy_data option
- PG Docs - CREATE SUBSCRIPTION option list order
- Added missing invalidations for all tables publication
- psql tab auto-complete for CREATE PUBLICATION
- Failure of subscription tests with topminnow
- Error code for checksum failure in origin.c
- [BUG] wrong refresh when ALTER SUBSCRIPTION ADD/DROP PUBLICATION
- BUG #17132: About "ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION"
- Issue with logical replication
- Unresolved repliaction hang and stop problem.
- Why does the owner of a publication need CREATE privileges on the database?
- param 'txn' not used in function maybe_send_schema()
- Corrected documentation of data type for the logical replication message formats.
- Why ALTER SUBSCRIPTION ... SET (slot_name='none') requires subscription disabled?
- Refactor "mutually exclusive options" error reporting code in parse_subscription_options
- logical replication worker accesses catalogs in error context callback
- missing GRANT on pg_subscription columns
- Fix uninitialized copy_data var (src/backend/commands/subscriptioncmds.c)
- Fix for segfault in logical replication on master
- alter subscription drop publication fixes
- Doc patch for Logical Replication Message Formats (PG14)
- Failure in subscription test 004_sync.pl
- Added missing tab completion for alter subscription set option
- logical replication of truncate command with trigger causes Assert
- BUG #17055: Logical replication worker crashes when applying update of row that dose not exist in target partiti
- BUG #17054: Memory corruption in logical replication worker when replicating into partitioned table
- ALTER SUBSCRIPTION REFRESH PUBLICATION has default copy_data = true?
- Addition of alias types regpublication and regsubscription
- Fixing the docs for ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION
- Logical Replication - behavior of TRUNCATE ... CASCADE
- [PATCH] Add `truncate` option to subscription commands
- Subscription tests fail under CLOBBER_CACHE_ALWAYS
- "Multiple table synchronizations are processed serially" still happens
- "ERROR: deadlock detected" when replicating TRUNCATE
- Deadlock concern caused by TRUNCATE on user_catalog_table in synchronous mode
- subscriptioncheck failure
- AlterSubscription_refresh "wrconn" wrong variable?
- Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
- GetSubscriptionRelations declares too many scan keys
- Truncate in synchronous logical replication failed
- Table refer leak in logical replication
- Chapter 30. Logical Replication slightly unclear
- RE: Could you help testing logical replication?
- Support ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION ... syntax
- Redundant errdetail prefix "The error was:" in some logical replication messages
- Use consistent terminology for tablesync slots.
- BUG #16943: Permanent restart of the cluster after "EXECUTE 'alter subscription ... refresh publication' "
- Why logical replication lancher exits 1?
- subscriptionCheck failures
- [PATCH] Note effect of max_replication_slots on subscriber side in documentation.
- Update docs of logical replication for commit ce0fdbfe97.
- Single transaction in the tablesync worker?
- [PATCH] pg_hba.conf error messages for logical replication connections
- BUG #16873: CREATE SUBSCRIPTION command hangs (Cross version logical replication) Wait event LibPQWalReceiverRec
- logical replication seems broken
- pg_replication_origin_drop API potential race condition
- DROP TABLE can crash the replication sync worker
- Fix ALTER SUBSCRIPTION ... SET PUBLICATION documentation
- Logical Replication - behavior of ALTER PUBLICATION .. DROP TABLE and ALTER SUBSCRIPTION .. REFRESH PUBLICATION
- Narrow the scope of the variable outputstr in logicalrep_write_tuple
- remove unneeded pstrdup in fetch_table_list
- Re: adding partitioned tables to publications
- pg_dump PublicationRelInfo objects need to be marked with owner
- [Bug Fix] Logical replication on partition table is very slow and CPU is 99%
- Cannot ship records to subscriber for partition tables using logical replication (publish_via_partition_root=false)
- [PATCH] Logical decoding of TRUNCATE
- https://www.postgresql.org/docs/12/logical-replication-restrictions.html
- RFC: Giving bgworkers walsender-like grace during shutdown (for logical replication)
- BUG #16643: PG13 - Logical replication - initial startup never finishes and gets stuck in startup loop
- Enumize logical replication message actions
- deferred primary key and logical replication
- Segfault when a replica trigger tries to refresh subscription
- Logical replication CPU-bound with TRUNCATE/DROP/CREATE many tables
- Logical Replication - detail message with names of missing columns
- Bugreport | Logical replication PostgreSQL 12 | Error after disable / enable replication
- pgsql: Restore replication protocol's duplicate command tags
- Logical replication from PG v13 and below to PG v14 (devel version) is not working.
- logical/relation.c header description
- Subscription test 013_partition.pl fails under CLOBBER_CACHE_ALWAYS
- Meaning of pg_stats_subscription.latest_end_time
- Questionable ping logic in LogicalRepApplyLoop
- Logical replication stalling for large tables with heavy write activity - Pg11
- The number of logical replication slot or wal sender recommend
- pg_subscription.subslotname is wrongly marked NOT NULL
- Binary support for pgoutput plugin
- Have SIGHUP instead of SIGTERM for config reload in logical replication launcher
- replication_origin and replication_origin_lsn usage on subscriber
- TRUNCATE is made to wait when logical synchronous replication
- why do we allow people to create a publication before setting wal_leve
- BUG #16481: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
- Problem with logical replication
- Logical replication subscription owner
- [PATCH] Fix Null pointer dereferences (pgoutput.c)
- adding partitioned tables to publications
- Issues with replication slots(which created manually) against logical replication
- Optimizing RelationFindReplTupleSeq() for CLOBBER_CACHE_ALWAYS
- Restore replication settings when modifying a field type
- BUG #16299: pg_subscription_rel inconsistency post create database from template with disabled subscription
- User and Logical Replication
- Documentation patch for ALTER SUBSCRIPTION
- Missing break in RelationFindReplTupleSeq
- Segmentation Fault (Logical Replication)
- BUG #16233: Yet another "logical replication worker" was terminated by signal 11: Segmentation fault
- BUG #16226: background worker "logical replication worker" (PID <pid>) was terminated by signal 11: Segmentation
- BUG #16208: background worker "logical replication worker" was terminated by signal 11: Segmentation
- BUG #16205: background worker "logical replication worker" (PID 25218) was terminated by signal 11: Segmentation
- [Logical Replication] TRAP: FailedAssertion("rel->rd_rel->relreplident == REPLICA_IDENTITY_DEFAULT || rel->rd_rel->relreplident == REPLICA_IDENTITY_FULL || rel->rd_rel->relreplident == REPLICA_IDENTITY_INDEX"
- publication not found, yet it is there.??
- logical replication does not fire per-column triggers
- Add a GUC variable that control logical replication
- BUG #16125: Crash of PostgreSQL's wal sender during logical replication
- BUG #16129: Segfault in tts_virtual_materialize in logical replication worker
- Logical replication wal sender timestamp bug
- Logical replication can be broken by domain constraint with NOT VALID option
- Non working timeout detection in logical worker
- Logical replication dead but synching
- Logical replication conflict and trying to use `pg_replication_origin_advance`
- DROP SUBSCRIPTION with no slot
- log message in proto.c
- Primary keepalive message not appearing in Logical Streaming Replication
- Example of creating subscription for publications in the same cluster
- Three questions about Postgres Logical Replication
- warning to publication created and wal_level is not set to logical
- Fix doc bug in logical replication.
- logical replication slot and publication alter
- CREATE SUBSCRIPTION fails with long passwords
- Fuzzy thinking in is_publishable_class
- Refresh Publication takes hours and doesn´t finish
- relcache reference leak with pglogical replication to insert-only partitioned table?
- Implicit timezone conversion replicating from timestamp to timestamptz?
- BUG #15784: logical replication replicate data of type array for operation insert but update/delete/truncate
- Requiring temp tables to have replication identity defined
- Fix handling of unlogged tables in FOR ALL TABLES publications
- Logical replication and restore from pg_basebackup
- Why does execReplication.c lock tuples?
- error message when subscription target is a partitioned table
- How to decode the output from pgoutput
- Using logical replication with older version subscribers
- BUG #15549: DDL with NOT NULL constraint and no default value can break logical replication
- BUG #15539: Deadcode in OpenTableList
- [Logical replication] Does the initial table data copy break the transactional replication?
- Add note about how to disable the subscription too?
- Another limitation of built-in logical replication
- Why does logical replication launcher exit with exit code 1?
- [patch] Bug in pg_dump/pg_restore using --no-publication
- Punctuation error
- Logical replication to partitioned subscriber
- Segfault logical replication PG 10.4
- BUG #15288: Logical Replication failed when inserting record which has CHECK constraint
- AtEOXact_ApplyLauncher() and subtransactions
- Replication status in logical replication
- BUG #15255: notification from trigger is not delivered in a timely fashion on subscriber
- Does logical replication supports cross platform servers?
- pgsql: Logical replication
- BUG #15202: Unexpected behavior with trigger fired on logical replicaion using pg_notify
- ERROR: subxact logged without previous toplevel record
- BUG #15195: Creation two subscription with the same name in different databases
- Isn't "publication" wrongly defined here?
- User defined data types in Logical Replication
- [PATCH] session_replication_role = replica with TRUNCATE
- Subscription code improvements
- create publication descendant tables
- BUG #15044: materialized views incompatibility with logical replication in postgres 10
- BUG #15063: Updates to temporary tables fail when there is a publication with FOR ALL TABLES
- In logical replication concurrent update of partition key creates a duplicate record on standby.
- Is it valid to have logical replication between 2 databases on the same postgres server?
- Regarding built-in logical replication
- Finalizing logical replication limitations as well as potential features
- Issues with logical replication
- Logical replication without a Primary Key
- State which instances must have "wal_level=logical" in Logical Replication in Postgres 10
- REPLICA IDENTITY FULL
- subscription worker signalling wal writer too much
- Logical Replication and triggers
- Subscriber resets additional columns to NULL on UPDATE
- Deadlock in ALTER SUBSCRIPTION REFRESH PUBLICATION
- Fix a typo in execReplication.c
- Slow synchronous logical replication
- 10.0: Logical replication doesn't execute BEFORE UPDATE OF <columns> trigger
- Issues with logical replication
- max_replication_slots in subscriber for subscription?
- Why does logical replication launcher set application_name?
- logical replication and statistics
- BUG #14785: Logical replication does not work after adding a column. Bug?
- DROP SUBSCRIPTION hangs if sub is disabled in the same transaction
- src/test/subscription/t/005_encoding.pl is broken
- src/test/subscription/t/002_types.pl hanging on particular environment
- pgsql: Logical replication support for initial data copy
- locale problem of bgworker: logical replication launcher and worker process
- A suspicious code in pgoutput_startup().
- A little improvementof ApplyLauncherMain loop code
- pgsql: Don't force-assign transaction id when exporting a snapshot.
- Logical replication: stuck spinlock at ReplicationSlotRelease
- 10 beta docs: different replication solutions
- Logical replication message type 'Y' is missing in docs
- BUG #14775: Incorrect documentation for the Commit logical replication message format
- BUG #14773: Incorrect documentation for the Relation logical replication message format
- Notice message of ALTER SUBSCRIPTION ... RERESH PUBLICATIION
- BUG #14769: Logical replication error "cache lookup failed for type 0"
- BUG #14758: Segfault with logical replication on a function index
- Missing comment for max_logical_replication_workers in postgresql.conf.sample
- Refreshing subscription relation state inside a transaction block
- Better error message for trying to drop a DB with open subscriptions?
- Dealing with logical replication
- Get stuck when dropping a subscription during synchronizing table
- BUG #14699: Statement trigger and logical replication
- Apparent walsender bug triggered by logical replication
- Fix doc of DROP SUBSCRIPTION
- BUG #14719: Logical replication unexpected behaviour when target table has missing columns
- CREATE SUBSCRIPTION log noise
- Logical replication launcher never been restarted when terminated
- pgsql: Restart logical replication launcher when killed
- Logical replication in the same cluster
- Something is rotten in publication drop
- logical replication - still unstable after all these months
- BUG #14710: Function now() and logical replication
- Restrictions of logical replication
- logical replication: \dRp+ and "for all tables"
- logical replication read-only slave
- logical replication busy-waiting on a lock
- tablesync.c - comment improvements
- pg_subscription_rel entry can be updated concurrently
- logical replication NOTICE "synchronized table states"
- Alter subscription..SET - NOTICE message is coming for table which is already removed
- Fix tab-completion of ALTER SUBSCRIPTION SET PUBLICATION
- walsender termination error messages worse in v10
- logical replication - possible remaining problem
- inconsistent application_name use in logical workers
- Error while creating subscription when server is running in single user mode
- logical replication and PANIC during shutdown checkpoint in publisher
- ALTER SUBSCRIPTION ..SET PUBLICATION <no name> refresh is not throwing error.
- Create subscription with `create_slot=false` and incorrect slot name
- "create publication..all tables" ignore 'partition not supported' error
- Replication origins and timelines
- pg_dump ignoring information_schema tables which used in Create Publication.
- ALTER PUBLICATION documentation
- No parameter values checking while creating Alter subscription...Connection
- Improvement in log message of logical replication worker
- fix for table syncing with different column order
- ALTER PUBLICATION materializing the list of tables
- BUG #14669: logical replication isn't working
- server closed the connection message in the log file of standby while performing logical replication synchronization
- Multiple table synchronizations are processed serially
- Fix refresh_option syntax of ALTER SUBSCRIPTION in document
- Getting error at the time of dropping subscription and few more issues
- Server Crashes if try to provide slot_name='none' at the time of creating subscription.
- synchronous_commit option is not visible after pressing TAB
- If subscription to foreign table valid ?
- Obsolete sentence in CREATE SUBSCRIPTION docs
- FATAL: could not send end-of-streaming message to primary: no COPY in progress