* Insert FORGET COMMITTED into the xlog. */
| 531 | * Insert FORGET COMMITTED into the xlog. |
| 532 | */ |
| 533 | static XLogRecPtr |
| 534 | doInsertForgetCommitted(void) |
| 535 | { |
| 536 | XLogRecPtr recptr; |
| 537 | |
| 538 | elog(DTM_DEBUG5, "doInsertForgetCommitted entering in state = %s", DtxStateToString(MyTmGxactLocal->state)); |
| 539 | |
| 540 | setCurrentDtxState(DTX_STATE_INSERTING_FORGET_COMMITTED); |
| 541 | |
| 542 | recptr = RecordDistributedForgetCommitted(getDistributedTransactionId()); |
| 543 | |
| 544 | setCurrentDtxState(DTX_STATE_INSERTED_FORGET_COMMITTED); |
| 545 | MyTmGxact->includeInCkpt = false; |
| 546 | |
| 547 | return recptr; |
| 548 | } |
| 549 | |
| 550 | static void |
| 551 | doNotifyingOnePhaseCommit(void) |
no test coverage detected