forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb4e3dc7

Amit Kapila
Update the docs and comments for decoding of prepared xacts.
Commita271a1b introduced decoding at prepare time in ReorderBuffer.This can lead to deadlock for out-of-core logical replication solutionsthat uses this feature to build distributed 2PC in case such transactionslock [user] catalog tables exclusively. They need to inform users to nothave locks on catalog tables (via explicit LOCK command) in suchtransactions.Reported-by: Andres FreundDiscussion:https://postgr.es/m/20210222222847.tpnb6eg3yiykzpky@alap3.anarazel.de1 parent6148656 commitb4e3dc7
File tree
2 files changed
+38
-0
lines changed- doc/src/sgml
- src/backend/replication/logical
2 files changed
+38
-0
lines changedLines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1228 | 1228 |
| |
1229 | 1229 |
| |
1230 | 1230 |
| |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
1231 | 1255 |
| |
1232 | 1256 |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
362 | 362 |
| |
363 | 363 |
| |
364 | 364 |
| |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
365 | 379 |
| |
366 | 380 |
| |
367 | 381 |
| |
|
0 commit comments
Comments
(0)