Re: Proposal: Conflict log history table for Logical Replication
Peter Smith <smithpb2250@gmail.com>
From: Peter Smith <smithpb2250@gmail.com>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>, vignesh C <vignesh21@gmail.com>, Nisha Moond <nisha.moond412@gmail.com>,
shveta malik <shveta.malik@gmail.com>, Masahiko Sawada <sawada.mshk@gmail.com>, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-06-26T03:43:57Z
Lists: pgsql-hackers
A question for v58-0002. ====== src/test/regress/expected/subscription.out +-- Trying to create a new table manually in the pg_conflict namespace +-- This should fail as the namespace is reserved for conflict log tables +CREATE TABLE pg_conflict.manual_table (id int); +ERROR: permission denied for schema pg_conflict +LINE 1: CREATE TABLE pg_conflict.manual_table (id int); + ^ Why is that error very different from the error received when attempting the same thing for `pg_catalog` schema? Shouldn't the errors in both cases be almost the same? Here: - LINE is shown - A schema error happens instead of a create table error OTOH, the similar case for pg_catalog looks like: test_pub=# create table pg_catalog.t1(a int); ERROR: permission denied to create "pg_catalog.t1" DETAIL: System catalog modifications are currently disallowed. ====== Kind Regards, Peter Smith. Fujitsu Australia
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow logical replication conflicts to be logged to a table.
- a5918fddf10d master landed
-
Avoid orphaned objects dependencies
- 2fbb21170e90 19 (unreleased) cited