Skip to content

Commit 0331002

Browse files
committed
[astar] properly using MODULE_PATHNAME
1 parent 990e36f commit 0331002

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

sql/astar/_astar.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ CREATE OR REPLACE FUNCTION _pgr_astar(
6060
OUT cost FLOAT,
6161
OUT agg_cost FLOAT)
6262
RETURNS SETOF RECORD AS
63-
'MODULE_PATHNAME', 'astarManyToMany'
63+
'MODULE_PATHNAME'
6464
LANGUAGE c VOLATILE STRICT;
6565

6666
-- COMMENTS
6767

6868
COMMENT ON FUNCTION _pgr_astar(TEXT, ANYARRAY, ANYARRAY, BOOLEAN, INTEGER, FLOAT, FLOAT, BOOLEAN, BOOLEAN)
69-
IS 'pgRouting internal function';
69+
IS 'pgRouting internal function';

src/astar/astar.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4040

4141
#include "drivers/astar/astar_driver.h"
4242

43-
PGDLLEXPORT Datum astarManyToMany(PG_FUNCTION_ARGS);
44-
PG_FUNCTION_INFO_V1(astarManyToMany);
43+
PGDLLEXPORT Datum _pgr_astar(PG_FUNCTION_ARGS);
44+
PG_FUNCTION_INFO_V1(_pgr_astar);
4545

4646
#if 0
4747
void
@@ -161,7 +161,7 @@ process(char* edges_sql,
161161
}
162162

163163
PGDLLEXPORT Datum
164-
astarManyToMany(PG_FUNCTION_ARGS) {
164+
_pgr_astar(PG_FUNCTION_ARGS) {
165165
FuncCallContext *funcctx;
166166
TupleDesc tuple_desc;
167167

0 commit comments

Comments
 (0)