Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > BUG #4150: ecpg...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3758 of 3904
Post > Topic >>

BUG #4150: ecpg: update/insert of array data does not work anymore since Version 8.2

by cl@[EMAIL PROTECTED] ("Christian Lippuner") May 9, 2008 at 05:02 PM

The following bug has been logged online:

Bug reference:      4150
Logged by:          Christian Lippuner
Email address:      cl@[EMAIL PROTECTED]
 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.

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 1 Posts in Topic:
BUG #4150: ecpg: update/insert of array data does not work anymo
cl@[EMAIL PROTECTED] (&q  2008-05-09 17:02:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Tue Jul 8 23:12:03 CDT 2008.