Re: SPI - couple things (7.0.2) - Mailing list pgsql-interfaces

From Thomas Lockhart
Subject Re: SPI - couple things (7.0.2)
Date
Msg-id 3A96E0D1.1F06836A@alumni.caltech.edu
Whole thread Raw
In response to SPI - couple things (7.0.2)  ("Scott Muir" <wsmuir@islandnet.com>)
List pgsql-interfaces
> ...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:

Previous
From: Tom Lane
Date:
Subject: Re: SPI - couple things (7.0.2)
Next
From: Wasem Peter
Date:
Subject: ODBC examples for UNIX (Linux)