CREATE OR REPLACE FUNCTION shortest_path(
sql text,
source_id integer,
target_id integer,
directed boolean,
has_reverse_cost boolean)
RETURNS SETOF path_result
AS '$libdir/librouting'
LANGUAGE 'C' IMMUTABLE STRICT;
当我尝试像上面那样创建一个函数时,我收到一个错误,比如语言 C 不存在
Postgres 版本 9.3 x86 PostGIS 版本 - postgis Bundle 版本 2.1(带有 pgrouting 2.0)