"M. Bastin" <marcbastin(at)mindspring(dot)com> writes:
> I'm trying to write my own frontend.
Sounds like you need to read all of the protocol description, not just
one packet's worth. See
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/protocol.html
regards, tom lane