Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group