Repair libpq to follow protocol by not sending Terminate messages before
Peter Eisentraut <peter_e@gmx.net>
Repair libpq to follow protocol by not sending Terminate messages before the startup exchange is complete. Also make sure that packets defined as single bytes aren't sent with a trailing '\0'.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-connect.c | modified | +8 −4 |
| src/interfaces/libpq/fe-exec.c | modified | +8 −10 |
| src/interfaces/libpq/fe-misc.c | modified | +19 −1 |
| src/interfaces/libpq/libpq-int.h | modified | +3 −1 |