-
- Downloads
Fix bad interaction between NOTIFY processing and V3 extended query
protocol, per report from Igor Shevchenko. NOTIFY thought it could do its thing if transaction blockState is TBLOCK_DEFAULT, but in reality it had better check the low-level transaction state is TRANS_DEFAULT as well. Formerly it was not possible to wait for the client in a state where the first is true and the second is not ... but now we can have such a state. Minor cleanup in StartTransaction() as well.
Showing
- src/backend/access/transam/xact.c 30 additions, 14 deletionssrc/backend/access/transam/xact.c
- src/backend/commands/async.c 2 additions, 6 deletionssrc/backend/commands/async.c
- src/backend/tcop/postgres.c 3 additions, 3 deletionssrc/backend/tcop/postgres.c
- src/include/access/xact.h 2 additions, 1 deletionsrc/include/access/xact.h
Loading
Please register or sign in to comment