The following bug has been logged online:
Bug reference: 4053
Logged by: Aleksej Saushev
Email address: asau(at)inbox(dot)ru
PostgreSQL version: 8.3
Operating system: NetBSD, but this does no matter
Description: libpq documentation should express clearly, that
integers are passed in network octet order
Details:
The documentation on PQexecParams is silent about the precise format,
expected by server for binary parameters, it should be more explicit
and note that integers are expected in network octet order.