kdubb/pgjdbc-ng — pull request #4 by gmokki (2013-03-26 16:47:10+00:00)
Title: Change statementName and portalName from String to long

The statementName and portalName are generated unique numbers. Instead of converting first from long->String and then every time when they are written to protocol messages from String->byte[]->ByteBuffer.

This patch just pass the statementId and portalId as numbers around. When writing to ByteBuffer just create a temporary byte[] and serialize the number directly to it before writing it out.