pgsql: Fix uninitialized access to InitialRunningXacts during decoding

2023-09-11 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding after ERROR. The transactions and subtransactions array that was allocated under snapshot builder memory context and recorded during decoding was not cleared in case of errors. This can result in an assertion failure if we attempt to

pgsql: Fix uninitialized access to InitialRunningXacts during decoding

2023-09-11 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding after ERROR. The transactions and subtransactions array that was allocated under snapshot builder memory context and recorded during decoding was not cleared in case of errors. This can result in an assertion failure if we attempt to

pgsql: Fix uninitialized access to InitialRunningXacts during decoding

2023-09-11 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding after ERROR. The transactions and subtransactions array that was allocated under snapshot builder memory context and recorded during decoding was not cleared in case of errors. This can result in an assertion failure if we attempt to

pgsql: Fix uninitialized access to InitialRunningXacts during decoding

2023-09-11 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding after ERROR. The transactions and subtransactions array that was allocated under snapshot builder memory context and recorded during decoding was not cleared in case of errors. This can result in an assertion failure if we attempt to

pgsql: Fix uninitialized access to InitialRunningXacts during decoding

2023-09-11 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding after ERROR. The transactions and subtransactions array that was allocated under snapshot builder memory context and recorded during decoding was not cleared in case of errors. This can result in an assertion failure if we attempt to

pgsql: Fix uninitialized access to InitialRunningXacts during decoding.

2022-11-24 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding. In commit 272248a0c, we introduced an InitialRunningXacts array to remember transactions and subtransactions that were running when the xl_running_xacts record that we decoded was written. This array was allocated in the snapshot bui

pgsql: Fix uninitialized access to InitialRunningXacts during decoding.

2022-11-24 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding. In commit 272248a0c, we introduced an InitialRunningXacts array to remember transactions and subtransactions that were running when the xl_running_xacts record that we decoded was written. This array was allocated in the snapshot bui

pgsql: Fix uninitialized access to InitialRunningXacts during decoding.

2022-11-24 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding. In commit 272248a0c, we introduced an InitialRunningXacts array to remember transactions and subtransactions that were running when the xl_running_xacts record that we decoded was written. This array was allocated in the snapshot bui

pgsql: Fix uninitialized access to InitialRunningXacts during decoding.

2022-11-24 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding. In commit 272248a0c, we introduced an InitialRunningXacts array to remember transactions and subtransactions that were running when the xl_running_xacts record that we decoded was written. This array was allocated in the snapshot bui

pgsql: Fix uninitialized access to InitialRunningXacts during decoding.

2022-11-24 Thread Amit Kapila
Fix uninitialized access to InitialRunningXacts during decoding. In commit 272248a0c, we introduced an InitialRunningXacts array to remember transactions and subtransactions that were running when the xl_running_xacts record that we decoded was written. This array was allocated in the snapshot bui