Hi Mathias,<div><br></div><div>Could you post the query?</div><div>The pgRouting function you're using is this one:</div><div><a href="https://github.com/pgRouting/pgrouting/blob/master/core/sql/routing_core_wrappers.sql#L594">https://github.com/pgRouting/pgrouting/blob/master/core/sql/routing_core_wrappers.sql#L594</a></div>

<div><br></div><div>Can you check if the expected parameters have the right data types?</div><div>If the data type is not correct it sometimes is enough to type cast.</div><div><br></div><div>Daniel</div><div><br><br><div class="gmail_quote">

On Thu, Jun 21, 2012 at 9:57 AM, Mathias Villeger <span dir="ltr"><<a href="mailto:mathias.villeger@gmail.com" target="_blank">mathias.villeger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
I get the following error using the dijkstra_sp_delta function :<br>
<br>
type of parameter 33 (integer) does not match that when preparing the plan (numeric)<br>
  Où : PL/pgSQL function "dijkstra_sp_delta_directed" line 83 at assignment<br>
PL/pgSQL function "dijkstra_sp_delta" line 19 at FOR over EXECUTE statement<br>
<br>
I didn't find anything about that.<br>
I'm using postgis with a java application. Calls are done with 
Hibernate's named queries, but I don't think that the use of Hibernate 
is the cause of this error.<br>
The error occurs randomly : A failing request can work at its next call.<br>
<br>
Versions :<br>

Postgres 9.1<br>

Postgis 1.5<br>
Pgrouting 1.0.5<br>
<br>
Any idea about this?<br>
<br>
Regards,<br>
<br>
Mathias.
<br>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>

Web: <a href="http://georepublic.de/" style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span><br>
</div>