> ...the strings gets a little garbled on the end... The length *includes* the header length. You are likely reading over the end of the string? Or you are expecting it to be null terminated, per Tom Lane's comment. - Thomas
pgsql-interfaces by date:
Соглашаюсь с условиями обработки персональных данных