From: | Boszormenyi Zoltan <zb(at)cybertec(dot)at> |
---|---|
To: | mike stanton <mstanton(at)acsa(dot)cl> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: ECPG: No multidimensional array support for simple data types |
Date: | 2010-02-22 13:46:50 |
Message-ID: | 4B828ACA.4070509@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
mike stanton írta:
> Hello all, I get the following error message when ecpg precompiles an
> EXEC SQL INCLUDE on this variable:
>
> short cst_vent[MAX_SUC][12]; (MAX_SUC is defined as 24)
>
> Mesage:
>
> "No multidimensional array support for simple data types"
>
> Is there a fix or am I stuck?
> Version: PostgreSQL 8.3.6 on i686-pc-linux-gnu, compiled by GCC gcc
> (GCC) 4.2.4
You're stuck. Only 1D arrays are supported for "simple" (int, double,
etc.) types.
"2D" character arrays are supported (actually, 1D array of strings) if
you use
char *str[N];
Best regards,
Zoltán Böszörményi
--
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2010-02-22 14:35:42 | Re: Questions regarding SET option. |
Previous Message | mike stanton | 2010-02-22 13:35:03 | ECPG: No multidimensional array support for simple data types |