Re: Array Parameters on protocol 3.0 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Array Parameters on protocol 3.0
Date
Msg-id 7673.1063939827@sss.pgh.pa.us
Whole thread Raw
In response to Array Parameters on protocol 3.0  (Carlos Guzman Alvarez <carlosga@telefonica.net>)
Responses Re: Array Parameters on protocol 3.0  (Carlos Guzman Alvarez <carlosga@telefonica.net>)
Re: Array Parameters on protocol 3.0  (Carlos Guzman Alvarez <carlosga_N_O_S_P_A_M@N_O_S_P_A_M_telefonica.net>)
List pgsql-hackers
Carlos Guzman Alvarez <carlosga@telefonica.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.4beta2 vs 7.3.3
Next
From: Tom Lane
Date:
Subject: Re: 7.4beta2 vs 7.3.3