I am trying to test if pgrouting works fine or not. To do so I have created a table containing the following attributes.
Columns: gid | length | the_geom | source | target
Now my problem is that when I try to execute the assign_vertex_id function it is giving me the following error;
PL/pgSQL function "assign_vertex_id" line 15 at EXECUTE statement ERROR: query string argument of EXECUTE is null CONTEXT: PL/pgSQL function "assign_vertex_id" line 32 at EXECUTE statement ********** Error ********** ERROR: query string argument of EXECUTE is null SQL state: 22004 Context: PL/pgSQL function "assign_vertex_id" line 32 at EXECUTE statement
Any suggestions what does this mean?
\dwould be good), and especially the failing query. Somehow you have a function running anEXECUTEstatement as dynamically generated SQL, but the string it's being passed isNULL. One way this could happen is to concatenate a series of values where one of them isNULL. - kgrittn