pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Scott Muir <wsmuir@islandnet.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: SPI - couple things (7.0.2)
Date: Fri, 23 Feb 2001 22:14:41 +0000
Message-ID: <3A96E0D1.1F06836A@alumni.caltech.edu> (raw)
References: <NCBBKLMCJOGCLFHOFECNAEAGDLAA.wsmuir@islandnet.com>

> ...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



view thread (3+ messages)

Message-ID: <3A96E0D1.1F06836A@alumni.caltech.edu>
Permalink:  ../3A96E0D1.1F06836A@alumni.caltech.edu/
Also on:    postgresql.org/message-id/3A96E0D1.1F06836A@alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumni.caltech.edu, wsmuir@islandnet.com
  Subject: Re: SPI - couple things (7.0.2)
  In-Reply-To: <3A96E0D1.1F06836A@alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox