It seems that at least when using bind_param, DBD::Pg performs three server round-trips for every execution of a prepared statement (PREPARE, EXECUTE, DEALLOCATE). This has been observed with DBD::Pg 2.17.1 (plus the BYTEA patch from r414471) against a PostgreSQL 9.0.1 server.
Is this really necessary? Is there a way to avoid this, without disabling server-side prepared statements altogether? -- Florian Weimer <[email protected]> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99
