[odb-users] Postgres error: 42P05 prepared statement already exists

Boris Kolpackov boris at codesynthesis.com
Fri Jul 11 03:44:37 EDT 2014


Hi Alessandro,

Alessandro Bellina <abellina at gmail.com> writes:

> I'm using odb with Postgres. I get and error trying to insert into one
> of my tables. The error is: 42P05 prepared statement "my_table_persist"
> already exists.

This would be mean that another statement with the same name has already
been prepared on the connection. Try to search all your ODB-generated
files for this name. Perhaps there is another table with the same name
used elsewhere (the statement name is derived from the table name)?

Boris



More information about the odb-users mailing list