[英]Does PostgreSQL version 10 support pgRouting version 2.6?
我通過brew安裝了pgRouting 2.6版,而我的PostgreSQL是10.4版。 現在我有一個問題:這個PostgreSQL版本是否支持pgRouting擴展? 因為每次我查詢:
SELECT *
FROM shortest_path('SELECT gid AS id, start_id::int4 AS source, end_id::int4 AS target, cost_length::float8 AS cost FROM network', 1, 135, false, false);
該查詢失敗並給出錯誤消息:
ERROR: function shortest_path(unknown, integer, integer, boolean, boolean) does not exist
LINE 1: SELECT * FROM shortest_path('
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
Query failed
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.