Skip to content

[PostgreSQL] X message never sent during close (Protocol violation) #1141

@jesperpedersen

Description

@jesperpedersen

When using

Future<SqlConnection> fsql = pool.getConnection();
...
SqlConnection c = fsql.result();
...
Future<Void> v = c.close();

and looking at the protocol interaction - f.ex. with https://github.com/jesperpedersen/pgprtdbg/ - you will notice that the 'X' message is never sent during c.close() which is a protocol violation.

The message formats for protocol v3 are defined at https://www.postgresql.org/docs/devel/protocol-message-formats.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions