Re: libpq performance - Mailing list pgsql-general

From Chris
Subject Re: libpq performance
Date
Msg-id 4AA0A937.20505@gmail.com
Whole thread Raw
In response to Re: libpq performance  (Juan Backson <juanbackson@gmail.com>)
List pgsql-general
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/


pgsql-general by date:

Previous
From: Juan Backson
Date:
Subject: Re: libpq performance
Next
From: gabriel munteanu
Date:
Subject: custom datatype - rgb color