Re: "unexpected duplicate for tablespace" problem in logical replication
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: vignesh21@gmail.com, sawada.mshk@gmail.com, wangsh.fnst@fujitsu.com, osumi.takamichi@fujitsu.com, pgsql-bugs@lists.postgresql.org
Date: 2024-01-15T21:32:07Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Ignore temporary relations in RelidByRelfilenumber()
- 30b32b08c9e9 13.23 landed
- 222130edd81f 14.20 landed
- ec471008c8fc 15.15 landed
- ab874faaa1f3 16.11 landed
- dcdc95cb4d4c 17.7 landed
- 86831952ad60 18.0 landed
- ef03ea01fe47 19 (unreleased) landed
On Fri, Jan 12, 2024 at 3:38 AM Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote: > Maybe. It might be better for the cache not to register temprary > relations at all. This point seems worthy of serious consideration to me. Is there any reason why we need RelidByRelfilenumber() to work with temporary relations at all? I understand that the current behavior is exposed via the SQL-callable function, but maybe that's not really intentional. If there's no other use of RelidByRelfilenumber() that needs to care about permanent relations intrinsically, I think we shouldn't hesitate to just cut them out of the mechanism entirely. -- Robert Haas EDB: http://www.enterprisedb.com