BUG #4150: ecpg: update/insert of array data does not work anymore since Version 8.2
- From: "Christian Lippuner" <cl(at)eps(dot)ch>
- To: pgsql-bugs(at)postgresql(dot)org
- Subject: BUG #4150: ecpg: update/insert of array data does not work anymore since Version 8.2
- Date: Fri, 9 May 2008 17:02:49 GMT
- Message-id: <200805091702(dot)m49H2ngR080498(at)wwwmaster(dot)postgresql(dot)org>
The following bug has been logged online:
Bug reference: 4150
Logged by: Christian Lippuner
Email address: cl(at)eps(dot)ch
PostgreSQL version: 8.2.7/8.3.1
Operating system: Linux
Description: ecpg: update/insert of array data does not work anymore
since Version 8.2
Details:
From version 7.3 up to 8.1 the following code works fine:
EXEC SQL BEGIN declare section;
static short sqlNumber;
static short sqlTestArray[8];
EXEC SQL END declare section;
..
..
EXEC SQL UPDATE test_table SET
number = :sqlNumber,
testarray = :sqlTestArray
WHERE number = :sqlNumber;
stat = sqlca.sqlcode;
...
...
Since Version 8.2 I get the following error message after
precompiling/compiling/linking this code:
"array value must start with "{" or dimension information"
In general all updating or insert of new data with an array doesn't work
anymore sing Version 8.2.
Reading the data just works fine.
Home |
Main Index |
Thread Index