Re: Array Parameters on protocol 3.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carlos Guzman Alvarez <carlosga(at)telefonica(dot)net>
Cc: Developement <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Array Parameters on protocol 3.0
Date: 2003-09-19 02:50:27
Message-ID: 7673.1063939827@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Carlos Guzman Alvarez <carlosga(at)telefonica(dot)net> writes:
> I'm sending this for array parameters (in binary format):
> * the number of dimensions.
> * flags (always 0).
> * base type of the array elements (oid).
> * lengths and lower bounds.
> * array values.
> * value size.
> * value.

> Is this correct ??

Looks right to me. Either you have some small typo in your code, or the
backend does ... let me know which ...

Note that "insufficient data left in message" could arise from
misformatting of an individual array element with respect to its
individual value size, not only from a mistake at the whole-array level.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-19 02:59:42 Re: 7.4beta2 vs 7.3.3
Previous Message Tom Lane 2003-09-19 02:40:08 Re: 7.4beta2 vs 7.3.3