X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c8ee1351049ef1bb4d7b50d071b2a96154266d1d..7c791f302c68be7110deabe73d7c8db97d1d13ef:/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