Re: ERROR: 22P02: invalid input syntax for integer [message #4949 is a reply to message #4948] |
Fri, 28 August 2015 16:53 |
rafs
Messages: 69 Registered: May 2015
|
Member |
|
|
Unless I am mistaken, I think there is a logical error in dml.pgsql.class.inc.
In function: insertRecord
[Line: 973]
// find out if any field in the primary key has 'serial' (auto_increment) set
[Line:1004]
// build 'where' string using values for primary key
[Line:1034]
// validate any optional unique/candidate keys
The framework is not expecting an auto_increment candidate key, I think. Trying to modify the function...
[Updated on: Fri, 28 August 2015 19:18] Report message to a moderator
|
|
|