X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1f8a68371ad34594cce4aadf5fef229588fd4ddc..d7fd3fb6e571e106b6f9613687e657299104d131:/db/README diff --git a/db/README b/db/README index f00029339..39ce18023 100644 --- a/db/README +++ b/db/README @@ -54,7 +54,7 @@ Creating functions for PgSQL Run this command in the db/functions directory: -$ make libmyosm.so +$ make libpgosm.so Now create the function as follows: @@ -62,7 +62,7 @@ $ psql openstreetmap (This may need authentication or a -u ) > CREATE FUNCTION maptile_for_point(int8, int8, int4) RETURNS int4 - AS '/path/to/rails-port/db/functions/libpgosm', 'maptile_for_point' + AS '/path/to/rails-port/db/functions/libpgosm.so', 'maptile_for_point' LANGUAGE C STRICT; Creating database skeleton tables