Hi All,
I'm trying to put pg_bouncer between my app and postgres, but
occasionally, I'll run into "prepared statement 'dbdpg_x' already
exists" errors. I've been looking through the source code for
DBD::Pg, but to no avail, looking for where the "PREPARE dbdpg_x AS
<statement>" code is at. I'm hoping to add a little bit that would
check for the existence of a prepared statement, and to rename the
prepared statement to dbdpg_x+<something else> if dbdpg_x already
exists.
Any pointers on where to look?
Thanks!
--Richard