在Postgres中创建函数失败 - 语言C不存在错误

时间:2014-10-30 06:44:52

标签: postgresql postgis pgrouting

    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)

0 个答案:

没有答案