title: Why a simple query take too much time PostgreSQL?
body: <p>Why a simple query take long time to execute more than 1 second (you can see the log file: <a href="http://tny.cz/1fa5d842" rel="nofollow">http://tny.cz/1fa5d842</a> ) the query passed in prepared statement.
  In console it's executed in less than 30ms.
  The query is too simple. Can you please help to resolve this issue? 
  Thanks a lot for your help. <br>
  OS : windows 7<br>
  Postgresql 9.3.2. </p>
  
  <p>RhodiumToad help me to solve this issue.
  there was a function (equal) writin in (pl/pgsql) whitch make the equal between number and character. i changed this function from pl/pgsql to a simple function inline. and the index works fine.</p>