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/
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.