mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
This commit is contained in:
@ -2493,11 +2493,11 @@ ReorderBufferProcessTXN(ReorderBuffer *rb, ReorderBufferTXN *txn,
|
||||
* need to do the cleanup and return gracefully on this error, see
|
||||
* SetupCheckXidLive.
|
||||
*
|
||||
* This error code can be thrown by one of the callbacks we call during
|
||||
* decoding so we need to ensure that we return gracefully only when we are
|
||||
* sending the data in streaming mode and the streaming is not finished yet
|
||||
* or when we are sending the data out on a PREPARE during a two-phase
|
||||
* commit.
|
||||
* This error code can be thrown by one of the callbacks we call
|
||||
* during decoding so we need to ensure that we return gracefully only
|
||||
* when we are sending the data in streaming mode and the streaming is
|
||||
* not finished yet or when we are sending the data out on a PREPARE
|
||||
* during a two-phase commit.
|
||||
*/
|
||||
if (errdata->sqlerrcode == ERRCODE_TRANSACTION_ROLLBACK &&
|
||||
(stream_started || rbtxn_prepared(txn)))
|
||||
|
Reference in New Issue
Block a user