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

Re: VARDATA strangness!!!

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Lonnie Cumberland <lonnie_cumberland(at)yahoo(dot)com>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: VARDATA strangness!!!
Date: 2001-04-18 18:38:50
Message-ID: Pine.LNX.4.30.0104182037570.762-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Lonnie Cumberland writes:

> The problem is that I cannot seem to get the VARDATA and VARSIZE to work
> correctly and the VARSIZE always seems to be 4 bytes longer for each of the
> input variables.

VARSIZE includes the size required to store the VARSIZE, i.e., a 4 byte

Peter Eisentraut   peter_e(at)gmx(dot)net

In response to

pgsql-interfaces by date

Next:From: Lonnie CumberlandDate: 2001-04-18 19:06:10
Subject: Re: composite data types?
Previous:From: Peter EisentrautDate: 2001-04-18 18:37:03
Subject: Re: Perl DBI documentation

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