Re: SPI - couple things (7.0.2)

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Scott Muir <wsmuir(at)islandnet(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: SPI - couple things (7.0.2)
Date: 2001-02-23 22:14:41
Message-ID: 3A96E0D1.1F06836A@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Max Khon 2001-02-24 10:42:28 Re: ODBC examples
Previous Message Tom Lane 2001-02-23 22:12:34 Re: SPI - couple things (7.0.2)