@ [JamieBradders] I have not made any progress.
I think that code is trying to update the id field of the table to the max id of the table in question and increase it by 1.
@ [sven_folkerts] What do you mean by same compatibility?
Both the databases are postgres and same version of the postgres.