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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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
integer.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-interfaces by date

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