Re: In-placre persistance change of a relation
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: Jakub.Wartak@tomtom.com
Cc: tsunakawa.takay@fujitsu.com, osumi.takamichi@fujitsu.com,
sfrost@snowman.net, masao.fujii@oss.nttdata.com,
ashutosh.bapat.oss@gmail.com, pgsql-hackers@lists.postgresql.org
Date: 2021-12-20T07:53:20Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_dump: Refactor getIndexes()
- e2c52beecdea 15.0 cited
-
Optimize DropRelFileNodesAllBuffers() for recovery.
- bea449c635c0 14.0 cited
Attachments
- v9-0001-In-place-table-persistence-change.patch (text/x-patch)
At Mon, 20 Dec 2021 15:28:23 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in > > 4. Including the reasons above, this is not fully functionally. > For example, if we execute the following commands on primary, > replica dones't work correctly. (boom!) > > =# CREATE UNLOGGED TABLE t (a int); > =# ALTER TABLE t SET LOGGED; > - The issue 4 above is not fixed (yet). Not only for the case, RelationChangePersistence needs to send a truncate record before FPIs. If primary crashes amid of the operation, the table content will be vanish with the persistence change. That is the correct behavior. regards. -- Kyotaro Horiguchi NTT Open Source Software Center