Juan Backson wrote:
Hi,

For this problem, what if I use prepared statement? if I use prepared statement directly from libpq, would it help?

It will possibly change the way postgres plans the query, so you may get a different execution time.

http://www.postgresql.org/docs/current/static/sql-prepare.html

See the "Notes" section.

--
Postgresql & php tutorials
http://www.designmagick.com/


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to