diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-09-16 05:50:46 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-09-16 05:50:46 +0000 |
commit | bbebcb125e4f0593608bc4d9419ffc7933da147c (patch) | |
tree | 4683ac0d4ddbcfdf91b316e6cf5af70fe791b172 /src/bin/psql/stringutils.c | |
parent | e3b41d40fae87d1e47c6157d42a588627c2dbfb0 (diff) | |
download | postgresql-bbebcb125e4f0593608bc4d9419ffc7933da147c.tar.gz postgresql-bbebcb125e4f0593608bc4d9419ffc7933da147c.zip |
Fixes:
Async notifies received while a backend is in the middle of a begin/end
transaction block are lost by libpq when the final end command is issued.
The bug is in the routine PQexec of libpq. The routine throws away any
message from the backend when a message of type 'C' is received. This
type of message is sent when the result of a portal query command with
no tuples is returned. Unfortunately this is the case of the end command.
As all async notification are sent only when the transaction is finished,
if they are received in the middle of a transaction they are lost in the
libpq library. I added some tracing code to PQexec and this is the output:
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Diffstat (limited to 'src/bin/psql/stringutils.c')
0 files changed, 0 insertions, 0 deletions